Repository navigation
chore: release v0.12.0 to main - #1021
Merged
Merged
Conversation
Release sync for v0.12.0 as ONE squash commit on a main-based branch: main + the develop delta since v0.11.0 (release prep #1013 included). The tree of this commit is identical to develop's tree at 629ff7b (verified: git diff of the two trees is empty), so the tagged tree equals the fully validated tree. A direct develop->main PR conflicts after the squash-merged release commits already on main (see #728 for v0.11.0), and a merge-commit sync carries pre-ban trailers in develop's older history. This one-commit squash on a main-based branch carries the same content with none of those problems.
5 tasks
🔍 Cora AI Code ReviewReview powered by cora-code · BYOK · MIT |
4 of 5 tasks
ajianaz
added a commit
that referenced
this pull request
Nov 20, 2026
## What Cora Review runs on PRs into `develop` only: the workflow trigger drops `main`, and the `main protection` ruleset no longer lists `Cora Review` among its required status checks (ruleset change applied directly, before this PR merges). AGENTS.md §2 documents the release-flow exemption. ## Why The review queue is badly backed up (owner decision on #1021, 2026-11-20): every release sync `develop -> main` re-triggers a full Cora pass over a range that was already reviewed PR-by-PR on `develop`. #1021 itself got stuck on a cancelled `Cora Review` check that even admin merge could not bypass. Release syncs carry zero new code (this one: tree-identical to `develop`, tree `e289594d`), so a second LLM pass over the same content adds queue load without adding review value. All other required checks on `main` are unchanged. ## Changes - `.github/workflows/cora-review.yml`: `pull_request.branches: [develop, main]` → `[develop]`, with a comment recording the decision. - `AGENTS.md` §2 (merge gate): new **Release flow** paragraph — PRs into `main` are exempt from the Cora gate; every other required check still applies. - Ruleset `main protection` (21702016): `Cora Review` removed from required status checks (repository settings change, outside this diff). ## Testing - [x] `cora review --staged`: no issues found (workflow change). - [x] `scripts/review-local.sh` over the branch: no blocking findings; 1 informational MINOR (main loses Cora coverage) — that is the intended decision. - [x] Release-sync end state verified on #1021 (merged with the ruleset updated first): merge commit `33a7d04`, `main` tree == `develop` tree (`e289594dd9ab936342f0c6cb7277683be7e7538e`). - [ ] This PR's CI green on `develop` (Cora Review still runs and is still required here — that gate is untouched). - [x] No Rust code touched — `cargo test/fmt/clippy` not applicable. ## Related Issues Follow-up to #1021 (release sync v0.12.0).
ajianaz
added a commit
that referenced
this pull request
Nov 26, 2026
The Cora Review job now skips its review step on a release sync PR whose git tree is identical to a commit on develop, and says so in the job summary. The decision is made by scripts/cora-release-sync.sh, read from develop (never from the PR), on two tree hashes: the PR head must be exactly one commit on the tip of main, from this repository, on a chore/release-* branch, and its tree must equal the tree of one of the newest 200 first-parent commits of refs/remotes/origin/develop. Anything else, or any doubt, runs the normal review. The script compares real objects only (GIT_NO_REPLACE_OBJECTS) and runs without the Cora token. A self-test (58 checks) runs in the Format job. The skip has no effect until main is listed again in the workflow trigger (cora-review.yml lists develop only since #1021): that is an owner decision and is not changed here. CI is green on this head and Cora Review returned "No issues found". An independent security review returned SECURE WITH NITS; the replace-ref and token findings were fixed, the others are documented as residual risks in CONTRIBUTING. Refs #1022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Release sync for v0.12.0 as ONE squash commit on a main-based branch:
mainplus thedevelopdelta since v0.11.0 (the release prep #1013 included). The commit's tree is identical todevelop's tree at629ff7bf(tree hashe289594dd9ab936342f0c6cb7277683be7e7538eon both sides;git diff origin/develop HEADis empty), so the tagged tree equals the fully validated tree.449 files, +82,466 / -7,524. A release sync is exempt from the PR size standard because it carries every PR already reviewed and merged into
develop.This PR only prepares the release. It does not tag and does not publish: the tag
v0.12.0(on this branch's merge commit, which must be themainHEAD forrelease.yml) and the crates.io publish are the owner's steps.Why
developis ~320 commits ahead of v0.11.0 and carries three BREAKING entries (verifyandturnendsandboxed by default, first-decision-onlyPOST /approvals/{id}/decision, the uteke home underCODECORA_HOME), so the next version is the minor 0.12.0; the prep is in #1013 and the CHANGELOG section is[0.12.0].The same constraint as v0.11.0 (#728) applies: a direct
develop->mainPR conflicts after the release commits already squash-merged intomain, and a merge-commit sync trips the Message Standard check on the pre-banCo-authored-bytrailers still indevelop's v0.9/v0.10 history. One commit on a main-based branch carries the same content with none of those problems.Testing
git rev-parse HEAD^{tree}andorigin/develop^{tree}are bothe289594dd9ab936342f0c6cb7277683be7e7538e.developat629ff7bf(the source of the tree): success (run 44690817554), and the release prep PR chore(release): prepare 0.12.0 #1013 itself was green (22 checks, Cora verdict "No issues found").cargo publish --dry-run -p tole-core: OK (run during the prep;tole-tuiandtole-clican only dry-run oncetole-core0.12.0 is on crates.io).cora mcpand the verdict posted here before merge.CARGO_REGISTRY_TOKENexists, andtole doctor --tier fullwith a real provider before tagging.Release notes (from CHANGELOG
[0.12.0]) are drafted separately; migration pagedocs/migrating-0.12.mdis not part of this PR.