8000 release: v3.0.0-alpha by adityamukho · Pull Request #994 · project-minigraf/minigraf · GitHub
[go: up one dir, main page]

Skip to content

release: v3.0.0-alpha - #994

Draft
adityamukho wants to merge 4 commits into
mainfrom
release/v3.0.0-alpha
Draft

adityamukho wants to merge 4 commits into
mainfrom
release/v3.0.0-alpha

Conversation

@adityamukho
@adityamukho adityamukho commented Dec 3, 2026 •
Copy link
Copy Markdown
Collaborator

Version bump and documentation sync for v3.0.0-alpha. Part of #929, which stays open for the publication checks.

Draft: do not merge until #937 is closed (its last weekly scheduled runs are not expected before 2026-12-07) and the release date is set. The placeholder 2026-12-XX is in the CHANGELOG.md heading, CLAUDE.md and ROADMAP.md, and as 2026-12-xx in the changelog anchor in docs/testing/3.0.0-alpha-testing.md. Before merging, also update from main and move any new [Unreleased] entries into the alpha section, then re-measure the release body.

Changes

  • Cargo.toml: 2.0.5 → 3.0.0-alpha.
  • CHANGELOG.md: the [Unreleased] content is now ## v3.0.0-alpha — 2026-12-XX, with an empty [Unreleased] above it.
  • CLAUDE.md, ROADMAP.md, docs/TEST_COVERAGE.md: status lines. README.md already installs 3.0.0-alpha.
  • The changelog's Testing section moved verbatim (links adjusted) to docs/testing/3.0.0-alpha-testing.md. cargo-dist copies the whole changelog section into the GitHub release body. The earlier reported size was 141,076 characters. The measured generated announcement is now 118,058 Unicode code points; the generated workflow adds one LF, making the submitted notes 118,059 code points / 118,194 UTF-8 bytes, with 6,941 code points of headroom against GitHub's reported 125,000-character maximum. See the measurement and policy details below.
  • Merged ci: preflight generated release bodies before publishing #1001 as f2cf26c7e4: reusable release-body checker, an early PR preflight, and an extension to the existing handwritten release gate. Generated release.yml and dist-workspace.toml are unchanged.

Original preparation checks (2026-12-03, commit 1776896708)

These are the checks recorded before the preflight integration; they are not new results for the merged tree.

  • cargo check --workspace and cargo publish --dry-run --locked -p minigraf pass. The dry run must be repeated from a clean checkout of the merged commit before tagging.
  • The docs.rs build (nightly, --cfg docsrs, --all-features) finishes for both configured targets, with three rustdoc warnings on each.
  • cargo semver-checks against 2.0.12 (native, default features) is clean as a major change. With --release-type minor it reports two breaks, both on Value: #[non_exhaustive] and the new Set variant. On wasm32-unknown-unknown with browser it also reports IndexedDbBackend::write_pages, whose changelog entry was missing and is added here. All three are in Breaking changes.
  • dist plan --tag=v3.0.0-alpha: announcement_is_prerelease is true, and publish-prereleases = true keeps the crates.io publish. dist generate --mode ci --check is clean.
  • Product/Rust test inventory was unchanged by the original preparation changes. The preflight integration adds the release-tooling tests described below.

Release-body preflight integrated from #1001

  • .github/release/check_release_body.py accepts a cargo-dist manifest or an exact notes file. It checks decoded content without trimming, normalization or truncation, and reports code points, UTF-8 bytes, UTF-16 units, SHA-256 and headroom. It rejects malformed output, tag/version mismatches and missing required changelog content.
  • .github/workflows/release-body.yml runs the boundary/configuration tests, checks generated-workflow consistency, and checks a fresh dist plan for the version in the root Cargo package.
  • The handwritten release-gate.yml checks the same run's planning-manifest artifact before the generated host job. Both workflows use one audited cargo-dist version policy, currently 0.31.0, and model the notes transport's additional LF.
  • The policy uses a 125,000-code-point ceiling and a 120,000 warning threshold. The workflows additionally impose a conservative 125,000-byte project budget and check the separate Linux environment-string limit. GitHub CLI's issue tracker records the 125,000-character API maximum; GitHub's REST documentation does not specify its Unicode counting unit. The byte budget is project policy.
  • This checks the planning body; cargo-dist recomputes the body during host after artifact metadata is merged. The PR preflight covers the version currently declared in Cargo.toml. Repeat it after final changelog/date staging and updates from main.

Measurement and local validation

Measured from commit 177689670813829900ddf21fe8c6e587ec0e82c0 using the checksum-verified official cargo-dist 0.31.0 binary and dist plan --tag=v3.0.0-alpha --output-format=json. #1001 changes release tooling only; the merged tree exactly matches its reviewed head.

Content Code points UTF-8 bytes
Generated announcement 118,058 118,193
Submitted notes, including the added LF 118,059 118,194

The submitted-notes SHA-256 is ee937bbf1543e7ff5c00dede7033fa272b906accc4a11f6ea6c84766fbec7156. The earlier 141,076 figure is the original PR's reported measurement, not an independently reproduced earlier tree.

At reviewed head 532f3c8e8b44d3dcbb8ae9ac84024f8680044f74, 53 preflight/configuration tests passed locally; 71 total local tests passed including the 18 existing release-validation tests. Boundary cases include 124,999 / 125,000 / 125,001 submitted characters, the added LF, CRLF, Unicode/JSON escapes, byte/environment limits and malformed or mismatched inputs. Both workflow YAML files and all shell steps also validated locally. These local results are separate from CI.

Claude's follow-up review at that head found all seven findings resolved and no new problems. It was a read-only code review, without running tests, dist or workflows.

CI and remaining release checks

Integration at f2cf26c7e42072865049fc0cedf4542f7f1da4d5 automatically started CI on this PR. Release Body Preflight passed, including its tests, audited-version validation, generated-workflow freshness check, and a fresh cargo-dist plan/body check. Lint, Binary Size and CodeQL also passed. The remaining PR checks were queued or running when this update was made; the full CI suite has not yet been confirmed green.

Before tagging, Release Body Preflight and the appropriate CI must pass on this PR, and the existing release gate still requires successful push checks for the exact tagged commit. Keep the draft/publication holds above: close #937, set the release date, update from main, stage any new [Unreleased] entries and repeat the preflight. Repeat cargo publish --dry-run --locked -p minigraf from a clean checkout of the final merged commit before tagging. #929 remains open for publication checks.

Set the crate version to 3.0.0-alpha and sync the release docs (#929).

Move the changelog's Testing section to docs/testing/3.0.0-alpha-testing.md:
cargo-dist copies the whole changelog section into the GitHub release body,
which came to 141,076 characters against GitHub's limit of 125,000.
@codecov
codecov Bot commented Dec 3, 2026
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Validate cargo-dist release bodies through the existing release gate and an early pull request preflight.

Use one audited cargo-dist version policy, preserve exact notes-file counting, and add boundary and configuration tests.

Incorporate Claude review feedback; 71 release-tooling tests passed locally. Parent release PR #994 must pass CI and the remaining release checks before tagging.

This branch has not been deployed

No deployments
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.

release: move v3 to main and main to v2.x at the 3.0.0-alpha

1 participant

0