LESSON OBJECTIVE
What you will be able to do
Define an ordered release gate whose artifacts and decision can be audited later.
Build the gate
Order fast checks first: formatting, static analysis, unit tests, integration matrix, build, then smoke test the artifact.
aml test
aml doctor --production
aml build
sha256sum output/*.zipFail on regression
Any failed required step blocks publication. Never convert a flaky test into an ignored warning without owning the uncovered risk.
Keep the evidence
Record commit, tool versions, test result, artifact checksum, deployment target, and smoke result so the decision can be audited.
CHECKPOINT
Before you continue
Can you identify exactly which failed check blocks publication and where its evidence is stored?
SUMMARY
What to remember
- Testing starts from product and security risks.
- Each layer proves a different boundary.
- Production readiness includes recovery, not only deployment.
- A release gate records reproducible evidence.