System Design Atlas

Development platform for builds and artifacts

01 / 10Worked example

Purpose and system boundary

Which inputs remain binding for the build despite the changed branch?

Build job B-151 uses source revision C-151 and build definition D-5. Artifact A-151 is identified by content digest H-151; H-151 is an illustrative short identifier for a complete cryptographic hash. Approval F-151 applies to that exact digest. The scope covers one repository, a precisely specified build job, an isolated worker, an immutable artifact and explicit release approval.

Starting point A branch changes during the build.

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.

Context and responsibilities

Source revision, isolated attempt and approved digest

Development teamRequest a build

Development platform

Fix the source revisionC-151 + D-5
Build in isolationTime-limited generation
Approve the digestH-151 + validation evidence
Release ownersF-151
Source controlImmutable commit

B-151 fixes C-151 and D-5; F-151 applies to H-151 exactly; only the current worker can record valid completion.

A branch changes during the build. Store an immutable source revision and build definition. B-151 remains traceable to C-151 and D-5.

Assumptions for the worked example

Scope
One repository, a precisely specified build job, an isolated worker, an immutable artifact identified by digest and explicit release approval.
Possible extensions
Full software supply-chain certification, production orchestration and arbitrary privileged builds.

Fix the source revision

Fix the source revision

Store an immutable source revision and build definition.

A branch changes during the build.

B-151 remains attributable to C-151 and D-5.

Alternative considered
Branch name alone refers to changing inputs.
Trade-off
Users must select a specific revision.
Reassess
Several repositories need a joint input contract.

Terms in this step

Fix the source revision
B-151 remains attributable to C-151 and D-5.

Try it yourself

The branch advances after the build is accepted. Which source revision applies, and what must the provenance record contain?

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
B-151 uses unchanged C-151 and D-5.
Second part of the solution
Provenance binds the actual inputs and worker to A-151. Later branch changes do not alter this job.

Apply to your project

Which corresponding assumption would you test first in your project? Consider this trigger: Several repositories need a joint input contract.

Step 2 examines digest-bound approval.