Repository navigation
release: prepare 0.2.0 (versions, package docs, PyPI publishing, preflight) - #81
Merged
Merged
Conversation
… trusted publishing scripts/check-versions.mjs discovers the Cargo workspace, every package.json, pyproject.toml and pubspec.yaml and checks them against Cargo.toml [workspace.package]: versions, lockfiles, @checkgate/* ranges, path-dependency requirements, and that release.yml publishes each publishable package. Go modules and private examples are explicit exceptions. It runs in CI (hygiene) and at the start of the release. scripts/bump-version.sh takes its npm package list from that discovery, rewrites the checkgate-core path-dependency requirements (^0.1.0 stops resolving at 0.2.0), updates Cargo.lock for the workspace crates only, edits package.json version lines in place, and ends by running the check. release.yml: the tag must equal the manifests' version; the five wheels are checked together (verify-python) and every publish job needs it; publish-pypi uploads them with PyPI trusted publishing (environment pypi, OIDC, PEP 740 attestations). No stored PyPI token.
…nd known limitations release.yml gains workflow_dispatch: on a branch it runs the whole verify phase plus a credentials preflight (npm identity and @CheckGate access, pub.dev credentials shape, a PyPI trusted-publishing token exchange under this workflow and the pypi environment) and publishes nothing; every publish job now runs only for a version tag. CHANGELOG 0.2.0: dated, Improved, Performance (dedicated-host A/B, no regression over 10 %, core rule matching 2.7-4.6 % and weighted variants 3.0 % slower, #72/#73), Known limitations (#74-#78), supported runtimes. Flutter CHANGELOG: real 0.2.0 entry.
…sion; record the 0.2.0 A/B validate.py looked for docs/performance/results/v<workspace version>, so the 0.2.0 bump failed it although 0.2.0 deliberately keeps publishing the v0.1.31 figures. It now checks the newest published set and that the docs site reads that same set. README and the public benchmarks page summarise the dedicated-host 0.2.0 vs v0.1.31 regression check (no regression over 10 %, core rule matching and weighted variants 2.7-4.6 % slower; #72, #73) instead of saying 0.2.0 was not re-benchmarked.
MCP server: standalone package page with all 14 tools (11 read, 3 proposal), read-only default, CHECKGATE_MCP_WRITE, token scopes and server-side approval enforcement, every environment variable with its range, stdio client configuration with placeholder tokens, errors, exit codes and security limits. CLI: 0.2.0 pins, accurate usage line, compatibility, security and license sections, absolute links for npmjs.com. Examples run from packed tarballs in a clean consumer project. Also the docs CLI page's 0.1.31 pins and a test title that said four proposal tools.
akosidencio
marked this pull request as ready for review
November 22, 2026 08:52
This was referenced Nov 22, 2026
Merged
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.
Release preparation for 0.2.0: version bump, package documentation, release tooling. No feature or engine change. The code under test is the benchmarked candidate
ca3dcc7(=bf6accd) plus the docs-only PR #71.Versions
scripts/bump-version.sh: Cargo workspace and lock, 9 npm packages, the dashboard, the Python wheel and__version__, and pub.dev.scripts/check-versions.mjsdiscovers every manifest and fails on mismatches, stale lockfiles, internal ranges that reject the version, or a publishable package with no publish job. It runs in CI (hygiene) and at the start of the release.Release workflow
publish-pypiuses PyPI trusted publishing (environmentpypi, OIDC, attestations; no stored token).workflow_dispatchruns a dry run on a branch: the whole verify phase plus a credentials preflight. It publishes nothing; publish jobs run only for a tag.Docs
Fix
bench/public/scripts/validate.pyderived the results directory from the workspace version, so it failed at 0.2.0.