1:1 mentoring with Big Tech AI engineers
System Design

Release Pipeline

Promote the digest you tested through four environments that differ in data and keys, not code, and let a statistic on a fixed suite, not a green build, decide whether a prompt, a tool or a model version ships.

Last updated

Production11 min readBuilds onService and Container,The Run Ledger
What you’ll learn
  • Promote one digest through four environments that differ in data, keys and limits
  • Size an eval gate for a 120-case suite and say which difference it can and cannot detect
  • Pin every action and keep the eval key small, so a pull request cannot read a production key
30

Promotion and the Eval Gate

Promote one digest through four environments, and let a statistic on a fixed suite decide what reaches users.

Key idea

Promote the digest you tested through four environments that differ in data, keys and limits, never in code. The pipeline is a cost ladder that ends at a gate: a statistic on a fixed suite, not a green build, decides whether a prompt, a tool or a model version ships.

One digest moves through four rungs, and the eval gate decides the last hop
RUNGDATAMODELTOOLS AND KEYSONE DIGEST, BUILT ONCE supportbot@sha256:9f3c…supportbot@sha256:9f3c…supportbot@sha256:9f3c…supportbot@sha256:9f3c… DevPreviewStagingProduction per pull request synthetic ticketscheap model or recorded mock– fixtures, fresh database–budget-capped eval key synthetic, prod-shapedno copy of production dataproduction model ID and versionsandboxed tools real datapinned model IDreal tools unit testsPR checksEVAL GATE lint, unit and contract tests · no model calls then build, scan and sign: the digest every later rung tests and ships · no model calls after the staging smoke test (about $0.03): the 120-case suite on this digest, three repeats, $7.24 to $13.82 then the load gate on the mock provider, and a canary on a small share of real traffic Each hop changes data, keys and limits, never code: the same bytes reach production.

Amber is the decision. The digest is built once and promoted, never rebuilt. Pans sideways on a phone.

Related

More in System Design

Get full access to all 151 sections with code examples, diagrams, and interactive animations.

Unlock Premium