← All Learning Paths

Release Engineer

Make shipping a non-event: semantic versioning, blue-green switches, canary gates, rolling deploys, rehearsed rollbacks, and provenance for every artifact.

roleintermediate8 nodes11.83h total

Path overview

发布工程的目标是让上线失去戏剧性:策略可切换、指标有门禁、回滚是肌肉记忆。本路径从版本语义与三种部署策略讲起,走完蓝绿、金丝雀与滚动三个工作流,最后用回滚演练、部署后检查与制品来源证明收尾。

Release engineering exists to make shipping boring: switchable strategies, metric gates, rollback as muscle memory. This path covers semver, three deploy strategies, drills, and artifact provenance.

  1. Use "Blue-Green Deployment with a Reversible Switch" to decide "Prepare the idle environment: Deploy the new version to the color that is not serving", then prove the outcome with "The idle color passes health checks and has no production traffic.".

    Completion criteria: Produce a run log for "Blue-Green Deployment with a Reversible Switch" that ends at "The idle color passes health checks and has no production traffic." and mark every step where "Prepare the idle environment: Deploy the new version to the color that is not serving" was checked.

    Next step: Canary Release with Metric Gates

    ⏱ 1h

  2. Follow "Canary Release with Metric Gates" and record "A baseline exists with enough traffic to distinguish signal from noise." at the step where it should appear, using "Establish the baseline: Record error rate, p95 and p99 latency, throughput, and key business" as the check.

    Prerequisites: Blue-Green Deployment with a Reversible Switch

    Completion criteria: Deliver a transcript of "Canary Release with Metric Gates" with each step's command and observed state, ending at "A baseline exists with enough traffic to distinguish signal from noise.".

    Next step: Zero-Downtime Rolling Deployment

    ⏱ 1h

  3. Carry out "Zero-Downtime Rolling Deployment" on a release project, pausing at the "Replace every running instance with a new version without dropping in-flight requests or" step to verify "A new instance is removed from rotation before it stops accepting connections.".

    Prerequisites: Canary Release with Metric Gates

    Completion criteria: Record the state "Replace every running instance with a new version without dropping in-flight requests or" at the verification step, then paste the output of "A new instance is removed from rotation before it stops accepting connections." that proves it.

    Next step: Rehearse a Rollback Before You Need It

    ⏱ 1h

  4. Execute "Rehearse a Rollback Before You Need It" end to end, then repeat the last step with one parameter changed and compare "Prove that the previous version still works after a release, and that the rollback takes".

    Prerequisites: Zero-Downtime Rolling Deployment

    Completion criteria: Run "Rehearse a Rollback Before You Need It" twice — once as written and once with a changed input — and attach both transcripts with the observed difference.

    Next step: Run Post-Deploy Smoke Checks with Automatic Rollback

    ⏱ 0.5h

  5. Run "Catch a broken deploy within a minute and return to the last good version without waiting" from "Run Post-Deploy Smoke Checks with Automatic Rollback" and confirm the documented result "The check passes only when the API and its database dependency both respond correctly.".

    Prerequisites: Rehearse a Rollback Before You Need It

    Completion criteria: Run the steps through "Catch a broken deploy within a minute and return to the last good version without waiting", paste the command output, and mark the line that matches "The check passes only when the API and its database dependency both respond correctly."; then rerun with one parameter changed.

    Next step: Attach Build Provenance to Release Artifacts

    ⏱ 0.5h

  6. Apply "Attach Build Provenance to Release Artifacts" to a release task, checking that "Verification succeeds and reports the workflow, repository, and commit that produced the" appears after the "Build and push the image by digest, then attest that digest in the same workflow." step.

    Prerequisites: Run Post-Deploy Smoke Checks with Automatic Rollback

    Completion criteria: Deliver a transcript of "Attach Build Provenance to Release Artifacts" with each step's command and observed state, ending at "Build and push the image by digest, then attest that digest in the same workflow.".

    Next step: Build a Changelog from Commit Messages

    ⏱ 0.5h

  7. Solve "Build a Changelog from Commit Messages" for release work: turn JSON object: { commits: [{ type, scope?, subject, breaking? }] } into {sections:[{type:feat,entries:[add webhooks,api: rename tenant and pass both samples.

    Prerequisites: Attach Build Provenance to Release Artifacts

    Completion criteria: Submit a solution for "Release Engineer" that passes both samples ({commits:[{type:fix,scope:api,subject:handle empty to {sections:[{type:feat,entries:[add webhooks,api: rename) and attach the failing case you fixed.

    Next step: Capstone: Release Engineer

    ⏱ 0.33h

  8. Deliver the "Build a Changelog Generator from Commit Messages" blueprint with "Group commits into features, fixes, and other change types." working and "Link issue references and skip merge and release commits." recorded as evidence.

    Prerequisites: Attach Build Provenance to Release Artifacts, Build a Changelog from Commit Messages

    Completion criteria: Run the project's test command for "Build a Changelog Generator from Commit Messages", paste the passing output, and attach the acceptance note for "Group commits into features, fixes, and other change types." with the test name.

    Next step: Run the capstone's tests, publish the repository, and demo it to a reviewer.

    ⏱ 4h