Skip to content

ci: run CI on hotfix branches, and RELEASE.md's hotfix process says how one is checked, tagged and brought back to main - #853

Merged
DrunkOnJava merged 6 commits into
mainfrom
ci/hotfix-branches
Oct 19, 2026
Merged

DrunkOnJava merged 6 commits into
mainfrom
ci/hotfix-branches

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Oct 19, 2026 •

Copy link
Copy Markdown
Owner

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 to main by a pull request.

Motivation

main holds 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 from v0.6.0 on hotfix/v0.6.1. RELEASE.md's hotfix step 4 asked for CI, but ci.yml ran only on pushes to main and on pull requests into main, so nothing tested a hotfix branch: a pull request into main tests the merge with main, 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 on main.

Changes

  • .github/workflows/ci.yml: push runs on [main, "hotfix/**"]. A branch push runs the full matrix main gets (macOS, Windows and MSRV builds, all three wheels); the rust-cache saves stay main-only, and the run cannot be cancelled by another (cancel-in-progress is for pull requests only).
  • RELEASE.md's hotfix process, rewritten as the path 0.6.1 takes:
    • when it applies: a fix main cannot 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;
    • a branch from a tag before v0.6.1 commits the hotfix/** trigger first, since GitHub runs a push's workflows from the pushed branch;
    • the fix cherry-picked with -x, and a real-file, CLI or contract check where none fails without it, instead of a regression test (unit tests are banned);
    • steps 4 to 7 of the release on the branch, then check it: CI on the push, the Core Interior witness files from that run's artifact (every difference is 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;
    • review it: a review-only pull request into a branch at that tag, since nothing else reviews the text the registries keep for good; a commit answering the review runs step 4 again on the new head;
    • tag the reviewed head by SHA once its code and witness files are the ones CI and Measure passed;
    • bring main up to it with main'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; the crates-io and pypi environments accept any v* tag.

Testing

The trigger is the one hotfix/v0.6.1 carries (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 and actionlint pass on both workflows (its only notes are the existing $/-prefixed local references, which GitHub runs).

  • N/A: not a format, exporter or performance change

Audit-honesty checklist

  • README / docs reflect the current state after this PR
  • Commit messages describe what changed and why
  • No emojis in code, docs, or commit messages
  • No private paths, personal email addresses, or internal jargon in committed files
  • N/A: not a reverse-engineering finding

Legal and contribution hygiene

  • I agree this work is licensable under Apache-2.0 (see CONTRIBUTING.md)
  • This PR contains no Autodesk proprietary source, decompiled internals, or NDA'd SDK content (see CLEANROOM.md)
  • No new test fixtures

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 as main (not a merge preview against current main). ci.yml adds hotfix/** to the push branch list with a short comment on why PRs into main are 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 syncing main with its own witness updates. What's in a release now allows signed tags on a hotfix branch.

publish.yml only updates header comments to note that v* tags on hotfix branches publish the same way as on main (workflow behavior unchanged).

Reviewed by Cursor Bugbot for commit 8d51d9f. Configure here.

…ow one is checked, tagged and brought back to main
@DrunkOnJava DrunkOnJava added area:ci Work in the ci area. type:ci Continuous integration or automation work. labels Oct 19, 2026
@cursor

cursor Bot commented Oct 19, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot 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)

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread RELEASE.md Resolved
Comment thread RELEASE.md Resolved
… and the witness refresh comes from the branch's own CI run
@cursor

cursor Bot commented Oct 19, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot 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)

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread RELEASE.md Resolved
@cursor

cursor Bot commented Oct 19, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot 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)

@cursor

cursor Bot commented Oct 19, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot 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)

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread RELEASE.md Resolved
Comment thread RELEASE.md Resolved
Comment thread RELEASE.md Resolved
…un on its answers, a fix may move the witness files, and an embargoed fix stays private until it ships
@cursor

cursor Bot commented Oct 19, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot 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)

@cursor

cursor Bot commented Oct 19, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot 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)

@DrunkOnJava
DrunkOnJava merged commit 97bf625 into main Oct 19, 2026
28 checks passed
@DrunkOnJava
DrunkOnJava deleted the ci/hotfix-branches branch October 19, 2026 22:51
DrunkOnJava added a commit that referenced this pull request Oct 20, 2026
…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.
Repository owner deleted a comment from chatgpt-codex-connector Bot Oct 31, 2026
Repository owner deleted a comment from chatgpt-codex-connector Bot Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ci Work in the ci area. type:ci Continuous integration or automation work.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant