Repository navigation
ci: run CI on hotfix branches, and RELEASE.md's hotfix process says how one is checked, tagged and brought back to main - #853
Conversation
…ow one is checked, tagged and brought back to main
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: 2cdeac9a-38a4-413f-a48c-fe51e13bbfc8) |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ce41d2c362
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
… and the witness refresh comes from the branch's own CI run
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: fda73896-6917-4187-b01d-dbe6d0e2a84d) |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6fb4a3ba92
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…shes main's own witness files
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: 172922e6-971c-4d02-9031-ba71b9d48715) |
… branch at the tag it patches
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: 7c6f9a42-7943-4ffb-af36-0baca036e005) |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b688052dc1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…un on its answers, a fix may move the witness files, and an embargoed fix stays private until it ships
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: 67ad6235-1736-4c27-89ee-8066ef34efe7) |
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: 21b9580e-bb61-4701-86ed-614fa35b8013) |
…x reviews it, without anything waiting for it (#859) Follow-up to #856. Codex reviews stay on, because its findings were useful (#842, #849, #853, #854), and nothing waits for one. - RELEASE.md hotfix step 5: besides reading the branch's whole diff against the tag, open the review-only pull request into `review/vX.Y.Z-base` again, so Codex reviews the text crates.io and PyPI then keep for good. Nothing waits for that review, but a finding that arrives before the tag is acted on. Step 6 closes it and deletes the branch after the tag. - ADR-005's amendment: a merge waits only on `CI passed`. Codex still reviews; Bugbot does not. Its findings are acted on and resolved when they arrive. - BACKLOG.md's state line follows. Docs only.
Summary
CI runs on pushes to
hotfix/**branches, and RELEASE.md's hotfix process describes the path 0.6.1 is taking: a branch cut from the release tag, prepared and checked on the branch, tagged there, and brought back tomainby a pull request.Motivation
mainholds a breaking change since #841, so the 0.6.1 patch (#839's 32-bit fix and README corrections, which crates.io and PyPI keep showing until a new version replaces them) is cut fromv0.6.0onhotfix/v0.6.1. RELEASE.md's hotfix step 4 asked for CI, butci.ymlran only on pushes tomainand on pull requests intomain, so nothing tested a hotfix branch: a pull request intomaintests the merge withmain, not what the tag would release. It also asked for a "regression test", against the repository's ban on unit tests, said nothing of the witness refresh or Measure, and said every release tag is onmain.Changes
.github/workflows/ci.yml:pushruns on[main, "hotfix/**"]. A branch push runs the full matrixmaingets (macOS, Windows and MSRV builds, all three wheels); the rust-cache saves staymain-only, and the run cannot be cancelled by another (cancel-in-progressis for pull requests only).RELEASE.md's hotfix process, rewritten as the path 0.6.1 takes:maincannot ship as a patch, including a published README that claims more than was measured; an embargoed security fix is prepared and reviewed in its advisory's temporary private fork and pushed here only when it is ready to release;hotfix/**trigger first, since GitHub runs a push's workflows from the pushed branch;-x, and a real-file, CLI or contract check where none fails without it, instead of a regression test (unit tests are banned);witness_version, a verdict hash, or one the fix explains and the changelog states) and a second green run, and Measure against the tag it patches;mainup to it withmain's own witness refresh, then delete the branch (the tag keeps its commits)."What's in a release" says a hotfix tag is on its branch.
.github/workflows/publish.yml: the header comment names a hotfix branch's tag too. No behaviour change; thecrates-ioandpypienvironments accept anyv*tag.Testing
The trigger is the one
hotfix/v0.6.1carries (22f8f48 there). Pushing that branch ran CI 39326770821 on e857af4: 22 jobs, all passed, among them the i686 job and the macOS, Windows and MSRV builds that pull requests skip. A YAML load andactionlintpass on both workflows (its only notes are the existing$/-prefixed local references, which GitHub runs).Audit-honesty checklist
Legal and contribution hygiene
CONTRIBUTING.md)CLEANROOM.md)Breaking changes
None.
Note
Low Risk
Changes are limited to CI triggers and release documentation; publish workflow behavior is unchanged.
Overview
Enables full CI on
hotfix/**pushes so patch releases cut from an old tag get the same test matrix asmain(not a merge preview against currentmain).ci.ymladdshotfix/**to thepushbranch list with a short comment on why PRs intomainare insufficient.Documents an end-to-end hotfix release path in
RELEASE.md: when hotfixes apply (including README/registry text stuck until a new version), embargoed security handling, cherry-pick and non–unit-test checks, release prep on the branch, CI + Core Interior witness refresh +measure.yml, a review-only PR into a tag snapshot branch, tagging the reviewed SHA, then syncingmainwith its own witness updates. What's in a release now allows signed tags on a hotfix branch.publish.ymlonly updates header comments to note thatv*tags on hotfix branches publish the same way as onmain(workflow behavior unchanged).Reviewed by Cursor Bugbot for commit 8d51d9f. Configure here.