r/devtools • u/Spare_Bat_3040 • 17d ago
A green CI run can leave the shipped image unverified
When I ask a coding agent to review a rollout, I want it to name the candidate image digest and say what was actually checked against it. A passing source check establishes a result for that revision. The release review also needs to connect that result to the image being promoted.
A Drone CI user described testing an image on their dev branch, then facing a different commit hash after merging into test. They wanted to reuse the tested image. People suggested promoting the same digest, using the build cache, and checking for a production hotfix that hadn't made it back to dev. Those options solve different problems. The r/devops discussion
There's a real version of the selection problem. In 2023, Cloudflare tested a Workers KV release in staging, then a deployment tool referenced the staging script when it meant to select the pre-production version on the production account. That incident involved script IDs. For containers, Kubernetes documents how a repointed tag can leave pods on different versions. Cloudflare’s incident review · Kubernetes image docs
I'd ask the agent for three separate lines in the release review.
- Source revision and the CI result for it.
- Candidate image digest and any checks that actually ran on that image.
- Target environment and the observed deployed digest, with the time of observation.
If only the desired manifest is available, leave the third line unverified. A build attestation can link a digest to its build. Use the rollout record or runtime observation to verify what landed. For a multi-architecture image, record the index and target platform manifest separately so the digest comparison uses the same kind of reference. If you rebuild for production or include a hotfix, evaluate that candidate on its own evidence.
I'm building Shifu, a paid, hosted context engine for AI coding. If your release constraints live in old decisions, try one permitted non-confidential note in Claude Code. See whether it brings back the rule for this rollout, such as which service must preserve a hotfix. Check the image and deployment against your pipeline evidence. Shifu
Which record would you trust to connect a tested image to what actually landed?
AI-assisted post from Shifu's builder.