No image tag, no test: a handover rule that ended the guessing
Every QA team I have led has had the same recurring conversation. A developer moves a ticket to the testing column. The tester opens staging, finds behaviour that does not match the ticket, and asks: "Which build is this?" Ten minutes of Slack later, it turns out the deploy had not finished, or the wrong branch was promoted, or the developer's fix went out an hour after the tester started.
None of these are bugs. All of them cost a working hour and a little bit of trust each time.
The rule
We replaced the conversation with one sentence of process law:
A ticket cannot move to Ready for Testing until the developer has commented the built container image reference on it.
The reference is the full registry path with the tag, for example ghcr.io/org/portal-frontend:<commit-id>. Because we squash-merge, one pull request produces one commit, which produces one image. The tag is therefore both the code identity and the artefact identity. There is nothing to reconcile.
Why a comment, not a field
We could have added a custom field. We chose a comment for three reasons. It is visible in the ticket history alongside the status transition, so an auditor sees the sequence. It is trivially copy-pasteable into a deployment command. And it costs nothing to introduce: no schema change, no automation, no training beyond a paragraph in the handbook.
What changed
- QA stopped losing hours to testing the wrong build.
- Defect reports became reproducible on the first attempt, because the image reference sits at the top of every bug.
- Rollback conversations shortened to "redeploy the tag on the last passing ticket".
- The rule gave testers a legitimate, non-confrontational reason to bounce a ticket back: no tag, no test. The tone of the exchange changed from suspicion to procedure.
The friction, honestly
Navigating from commit to package to copy a string is a few clicks that feel pointless when you are certain you know what you deployed. That certainty is exactly what the rule exists to check, and the occasional surprise, an image built from a stale branch, is what keeps it in place.
If you want to try it
- Make one merge produce one image. Squash-merge, or an equivalent, is a prerequisite.
- Write the rule down in one sentence and put it where the status definition lives.
- Give QA explicit permission to refuse a ticket without a tag. This is the part that makes it stick.
- Review after two sprints. Ours became permanent without anyone proposing it.
Process should remove decisions, not add them. This rule removed a decision that was being made badly a dozen times a sprint, and replaced it with a string.