Skip to content

chore: release v0.12.0 to main - #1021

Merged
ajianaz merged 1 commit into
mainfrom
chore/release-0.12.0-main
Nov 20, 2026
Merged

ajianaz merged 1 commit into
mainfrom
chore/release-0.12.0-main

Conversation

@ajianaz

@ajianaz ajianaz commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

What

Release sync for v0.12.0 as ONE squash commit on a main-based branch: main plus the develop delta since v0.11.0 (the release prep #1013 included). The commit's tree is identical to develop's tree at 629ff7bf (tree hash e289594dd9ab936342f0c6cb7277683be7e7538e on both sides; git diff origin/develop HEAD is 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 the main HEAD for release.yml) and the crates.io publish are the owner's steps.

Why

develop is ~320 commits ahead of v0.11.0 and carries three BREAKING entries (verify and turnend sandboxed by default, first-decision-only POST /approvals/{id}/decision, the uteke home under CODECORA_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 -> main PR conflicts after the release commits already squash-merged into main, and a merge-commit sync trips the Message Standard check on the pre-ban Co-authored-by trailers still in develop's v0.9/v0.10 history. One commit on a main-based branch carries the same content with none of those problems.

Testing

  • Tree identity: git rev-parse HEAD^{tree} and origin/develop^{tree} are both e289594dd9ab936342f0c6cb7277683be7e7538e.
  • Push CI on develop at 629ff7bf (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-tui and tole-cli can only dry-run once tole-core 0.12.0 is on crates.io).
  • This PR's own CI run (below).
  • Cora review of this release range: the CI action may return an empty result on a range this large (AGENTS.md, infra facts, 2026-10-29); if so the range is reviewed in chunks with cora mcp and the verdict posted here before merge.
  • Owner: CARGO_REGISTRY_TOKEN exists, and tole doctor --tier full with a real provider before tagging.

Release notes (from CHANGELOG [0.12.0]) are drafted separately; migration page docs/migrating-0.12.md is not part of this PR.

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.
@github-actions

Copy link
Copy Markdown

🔍 Cora AI Code Review

⚠️ Review could not complete. Cora produced an empty result. Check the workflow logs for errors.


Review powered by cora-code · BYOK · MIT

@ajianaz
ajianaz merged commit 33a7d04 into main Nov 20, 2026
26 of 27 checks passed
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
ajianaz deleted the chore/release-0.12.0-main branch November 20, 2026 08:34
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant