Critical flow
Which evidence is missing despite a completely uploaded artifact?
Trace the failure point through the architecture: the worker uploads A-151 completely and loses connectivity before the completion message. The platform checks digest and authorisation; an expired attempt cannot become successful retroactively. A new attempt may reuse identical bytes but requires its own valid provenance record. Durable acceptance, actual effect and response are considered separately.
Starting point Run workers without platform-wide permissions.
Assumptions for the example case
A fictional example design with one repository, a precisely specified build job, an isolated worker, an immutable artifact identified by digest and explicit release approval. Figures and quality goals are illustrative test assumptions. Full software supply-chain certification, production orchestration and arbitrary privileged builds are outside the scope.
Failure point in the sequence
Upload, lease expiry and a higher attempt generation
H-151 may be reused; a new generation requires its own provenance record.
Result: The old generation remains invalid; generation 2 records the same digest with its own provenance.
Existing bytes save an upload; only current authorisation and the attempt’s own provenance record permit successful finalisation.
Effect, response and recovery
- Specific error
- The worker fully uploads A-151 and loses connectivity before the completion message. The platform checks digest and authorisation; an expired attempt cannot become successful retroactively. A new attempt may reuse identical bytes but requires its own valid provenance record.
- Before and after commit
- Commit durably completes the local change. Before commit, the old state remains valid; afterwards, an identical retry returns the stored outcome. Reconcile the external effect using its existing reference.
- Retry behaviour
- Repeating the build request with the same key, C-151 and D-5 returns B-151. The same key with a different source revision is rejected. Uploading identical bytes to H-151 twice returns the same object; different bytes under H-151 are rejected.
Detect incomplete finalisation
Check artifact completeness and provenance completeness separately.
Upload succeeds before connection loss.
Existing bytes alone do not make the attempt successful.
- Alternative considered
- Treating file existence as success ignores provenance and expired authorisation.
- Trade-off
- Restart needs reconciliation.
- Reassess
- An atomic storage contract replaces multipart finalisation.
Terms in this step
- Detect incomplete finalisation
- Existing bytes alone do not make the attempt successful.
Try it yourself
A-151 has been uploaded, but provenance is missing and authorisation has expired. Can the attempt succeed?
A hint for your attempt
Use the specific entities and conditions from this step. The two solution parts distinguish the decision from its evidenced outcome.
Compare with a possible solution
- First part of the solution
- Existing bytes are insufficient; the old attempt still lacks valid completion.
- Second part of the solution
- A new authorised attempt may reuse identical bytes but must supply its own complete provenance record.
Apply to your project
Which corresponding assumption would you test first in your project? Consider this trigger: An atomic storage contract replaces multipart finalisation.