System Design Atlas

Development platform for builds and artifacts

02 / 10Worked example

Business rules and operational targets

How does approval bind the artifact bytes actually tested?

The system boundary leads to a business rule: approval and delivery refer to the same immutable artifact digest. A worker cannot finalise successfully after its execution authorisation expires. Incomplete artifacts cannot be approved. An operational target describes a measurable property and begins as a test assumption.

Starting point Store an immutable source revision and build definition.

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.

Rules governing the result

Source, worker authorisation and complete provenance

Source checkC-151 + D-5
Lease checkCurrent generation < 60 s
Artifact checkComplete + provenance
Upload ohne Abschluss → ReleaseverantwortlicheCheck digest, lease and provenance

An artifact is bound by digest and provenance; an expired attempt cannot record valid completion.

The artifact name stays the same while its bytes change. Bind approval to H-151; delivery verifies exactly the bytes that were assessed.

Business requirements (functional)

Further reading
Invariant
Approval and delivery refer to the same immutable artifact digest. A worker cannot finalise successfully after its execution authorisation expires. Incomplete artifacts cannot be approved.
Boundary test
Worker authorisation expires at 60,000 ms, exclusively: finalisation at 59,999 ms is permitted; at 60,000 and 60,001 ms it is rejected. A new worker receives a higher generation; the old completion remains invalid.
Unresolved outcome
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.

Quality goals (non-functional)

Further reading
Local acceptance
Illustrative target: 95% of local management commands complete within 800 ms under a peak profile of 120 builds in 60 min × 5 min = 600 worker-minutes, requiring at least 10 fully utilised workers without reserve. Measure external execution and media transfer separately.
Traceability
Every rejected or open operation shows its reason, latest evidenced state and responsible role. Check this in a sample after the failure from step 7.

Approve the digest

Approve the digest

Bind approval to H-151.

Artifact name remains the same, bytes change.

Delivery checks exactly the evaluated bytes.

Alternative considered
Using the filename as identity permits artifact substitution.
Trade-off
The digest must remain visible through delivery to the target.
Reassess
Composite releases require a manifest digest.

Terms in this step

Approve the digest
Delivery checks exactly the evaluated bytes.

Try it yourself

Different bytes appear under the same filename. Determine the implications for F-151 and delivery.

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
F-151 applies exclusively to H-151, not to the name.
Second part of the solution
The target must confirm the same full digest. Different bytes require their own evidence and a new approval.

Apply to your project

Which corresponding assumption would you test first in your project? Consider this trigger: Composite releases require a manifest digest.

Step 3 examines worker capacity.