engineering

Preserve release gate evidence during artifact promotion

Carry the inspected artifact identifier, policy version and applicable approval conditions when promoting a build between staging and production.

TrustIvan · · 5 min read

An image is approved in staging, then copied into a production registry. The production release sees the same artifact digest, yet it cannot retrieve the scan decision under its normal access role. In this fictional promotion, artifact continuity and evidence availability are both prerequisites for interpreting what was approved.

Carry the verdict across the registry copy

RecordStagingProduction
Artifact digestFull identifier ACompare independently resolved A
Scan and policy decisionStored under release runRetrieve by subject and scope
Approval conditionsStaging decision with policy inputsConfirm authorized production use
Destination receiptPendingRecord promotion outcome

Identify which artifact objects and attached evidence must accompany the release. Verify whether the promotion copies relevant manifests and provenance references in the existing architecture, or whether the production job must consult an approved external evidence store. A readable summary alone may omit the immutable subject and applied policy conditions.

Make the decision scope readable at promotion

A release gate joins a piece of evidence to a policy at a particular point in a workflow. Write down the required evidence and who may interpret it for the target. Capture the immutable artifact, intended destination, policy revision and observation window when those fields affect the decision. The build and promotion jobs may run under different identities. Give the promotion job an authoritative record it can check even when the producer has finished and the human-readable job output has expired.

Package the artifact identifier, completed checks, decision time, policy version and any expiry or exception conditions. Compare the production candidate against that record. If production requires additional controls due to exposure or data access, record a new verdict for the same build rather than reusing the staging result as blanket authorization.

A pilot can use two staged builds with similar tags and inspect whether each product links the production decision to the correct subject. Check how approvals appear when the artifact moves through separate pipelines. The immutable gate result guide explains the fields to preserve.

Stage two attempts with the same known candidate. In the first, make the required evidence available to the destination role and review the scope. In the second, omit the evidence reference or use a result with the wrong subject. Record the outcome and route the failure to the owner responsible for restoring the evidence path.

Test evidence retrieval at the destination

In the destination environment, resolve the candidate independently and compare its digest and required platforms with the receipt. Then retrieve the supporting decision using the ordinary production role. If the copy process retained the bytes but lost the inspection reference, the reviewer can identify the evidence-store action without ordering a rebuild. Check the approval scope separately from the digest. A staging decision can remain valid history while the production workflow awaits authorized use for the same artifact. Save both outcomes when verifying the destination receipt.

If the promotion builds or transforms an output, collect an authoritative new subject observation. Review whether the prior scan still supports any inherited claim and what additional inspection the production artifact needs. Keep the source provenance as context for that review.

Give the promotion operator the fixture records at two times. At the first point, link to the entry in the release receipt and evidence store and document the appropriate provisional state. At the second, record the new evidence and the resulting decision. The reviewer should be able to distinguish the original observation from later review work and see across both records which claim the new evidence resolves. Keep the original decision in history so a subsequent handoff can explain the progression.

Use a subject check on the promotion receipt

Ask someone who did not run the build to identify what the gate examined and why the destination accepted the decision. They should be able to find the policy revision, the observed subject, the conclusion and approval basis directly. Include timestamps and retain the previous verdict when a repeat evaluation produces a different outcome. Determine where this history lives when there are multiple release jobs or a deployment tool change. The operator should know whether a new review, an evidence re-collection or a policy escalation will move the release forward.

Confirm the destination receipt contains the resolved subject, evidence reference, policy revision, decision and timestamp. Show how to retrieve that record after temporary build and scan jobs expire. An on-call operator should be able to identify the reason for a delayed or accepted promotion.

Verify that the open-work view includes one fixture row awaiting evidence. A reviewer's output should name the system where that evidence will appear and the owner responsible for gathering it. The next decision should still be visible after a new inventory run.

During acceptance, pause between the observation and decision. Ask the receiving reviewer which item they would leave open and what evidence would allow it to move. Record the action alongside the owner's acknowledgment so the next scan can surface the same commitment.

Check that a retry can retrieve the same evidence record by its immutable subject after a release label changes. The production operator should be able to repeat the earlier decision or ask for a new evaluation for a clear reason.