Releases
A release comes after the QA pass. Each step has a reason; skip none without the owner's word.
Steps
- Name the candidate. At the end of the work hours, record the SHA of
mainas the release candidate. Write it in the river. A PR that merges later goes into the next release. Reason: QA tests one fixed tree. - QA pass. Each session tests the candidate on its platform: the full tests, the release build, and the main user paths of the release notes. Each reports pass or fail for each area, with the faults that stop the release first.
- Sort the faults. A fault that stops the release gets a fix PR, and the fix goes through the normal loop with the gate. Each other fault gets an issue in the next milestone and a line in the known limits of the notes.
- Version PR. Change the version number and write the notes: what is new, what is fixed, the known limits. Public text in the notes that announces something needs the owner's word. Merge the PR through the gate.
- Green CI of
mainbefore the tag. Wait for the CI run of the version commit. Tag only after it passes. Reason: a tag on a red commit ships a broken package, and a tag is hard to take back. - Tag. Use the name of the release, such as
v0.4.0. Push the tag only with the owner's word for the first release; later releases follow the plan that the owner approved. - Watch the release jobs to the end. Check that each package exists and that one of them installs and runs. A release job that fails after the tag is a fault of the release.
- Close the milestone and move its open issues forward:
milestones.tcl shift --from <old> --to <new> --close. - Update the page. Move the crates of the release to
shipped, setfloor.releaseto the next name, and write a river entry of kindmergedwith the tag. - Start the next day only when the release is out, or when the owner says to skip it.
What stops a release
- A failure of the gate or of CI on the candidate.
- A crash, a data loss, or a security fault found in QA.
- A package that does not install.
- A missing answer of the owner on public text.
What does not stop a release
- A small visual fault with a known-limits line.
- A missing feature that the milestone did not promise.
Write the decision and its reason in the river either way.
Next: estimates, on the doc site.