Release reference for coordinated workspace releases.
| Crate | Status | Release Expectation | Notes |
|---|---|---|---|
solverforge-core |
Stable | Publish on every coordinated release | Foundational score/domain traits; lowest-level dependency |
solverforge-macros |
Stable | Publish on every coordinated release | Proc-macro surface used by the facade and templates |
solverforge-scoring |
Stable | Publish on every coordinated release | Constraint-stream and incremental scoring engine |
solverforge-config |
Stable | Publish on every coordinated release | Runtime configuration consumed by the solver layer |
solverforge-solver |
Stable | Publish on every coordinated release | Main solve engine and manager APIs |
solverforge-bridge |
Beta | Publish on every coordinated release | Dynamic host-language binding contracts that depend on config, core, scoring, and solver |
solverforge |
Stable | Publish on every coordinated release | Public facade crate and primary library entry point |
solverforge-cvrp |
Beta | Publish on every facade version change | Required by the facade's exact-version dependency set |
solverforge-console |
Beta | Publish on every facade version change | Required for the facade's exact-version optional console feature |
Status definitions:
Stable: public API expected to remain coherent across the release line; regressions block release.Beta: supported and versioned, but still more likely to receive usability and coverage fixes between patch releases.
Pushing a v* tag starts .github/workflows/release.yml, the only path to
crates.io and GitHub Releases:
CIruns the full cross-platform CI (ci.yml, Linux, macOS, Windows, and the integration and doc tests) on the tagged commit with the toolchain pinned inrust-toolchain.toml.Verify releaserequires the tag to equalvplus the workspace version and packages every publishable crate against a local registry overlay.Publish to crates.iouploads the publishable crates that are not yet on crates.io at that version. Cargo orders them by their dependencies and waits for each to reach the index; a re-run uploads only what is still missing. The job then confirms that every crate is on crates.io.Create GitHub Releasecreates the release with generated notes.
Each job needs the previous one, so a red CI leg, a tag that does not match
the workspace version, or a crate that fails to package publishes nothing and
creates no release. Running the workflow manually (workflow_dispatch)
rehearses steps 1 and 2 on the selected ref without publishing.
CI and the release use the exact toolchain in rust-toolchain.toml. Bump it
deliberately, in its own commit, after the workspace passes on the new version.
- Confirm the release branch is correct.
Use the current release branch or
mainaccording to the active release plan. - Confirm all release-blocking PRs are merged. Verify open issues/PRs targeted at the release branch are either merged or explicitly deferred.
- Sync version and changelog state.
Run
csemver --dry-runto preview the release (add--release-as <level>when the conventional bump needs an override), then run it without--dry-runafter qualification. csemver updates the workspace version and publish-time dependency versions, regeneratesCargo.lockanddocs/architecture.htmlthrough itspostbumpscript, and updates the README,docs/running-solves.md,AGENTS.md, and every crate wireframe through its native regex updaters (all configured incsemver.toml). It generatesCHANGELOG.md; do not hand-edit routine release notes.make pre-releaserunsscripts/release/check-changelog.pyon the dry run first: it fails when the new section's version already has a CHANGELOG heading, when its compare link is not an absolute GitHub URL, when the link starts from a version with novtag or one that is not older, and when the new tag already exists locally or on GitHub. Re-run validation on the generated release commit before pushing its branch and tag. GitHub Release notes are generated by the release workflow from merged PR metadata; do not hand-write routine contributor credits in the release body. - Validate canonical docs.
Check
README.md, the user guides underdocs/, all crateWIREFRAME.mdfiles, crate READMEs, focused extension guides, Rust API documentation, and this document for stale public-surface details. Update the architecture SVG source and regeneratedocs/architecture.html; version-only releases regenerate it automatically. - Run formatting and lint gates.
cargo fmt --all -- --checkcargo clippy --workspace --all-targets --all-features -- -D warnings - Run test gates.
cargo test --workspace --all-featuresmake pre-release - Run the controlled-host zero-regression qualification.
On a dedicated Linux host with
taskset,/usr/bin/time, readable/sysCPU topology, CPU 10 available by default, passwordlesssudo(the gate isolates the measured CPU and its siblings in a cgroup cpuset partition while trials run),valgrind(Cachegrind grades simulated cache and branch behaviour), and optional unprivilegedperfcounters, run:BENCH_CPU=10 WARMUPS=5 TRIALS=51 make bench-zero-regressionThe gate cases drive the compiled runtime's own cursors through the hiddensolverforge_solver::__benchhandles (CompiledRuntimeRunnerand the neighborhood and construction cursors it hands out), and both sides compile the candidate tree's gate sources, so the baseline must carry those handles: compare against a commit at or after the change that introduced them, withBASELINE=<commit> BASELINE_CURSOR_API=1. For a baseline from an older API generation whose bench sources no longer compile against it, setBENCH_OWN_SOURCES=1: each side then compiles its own tree's gate sources, the comparator relaxes semantic matching to exact candidate counts, and anyscripts/bench/*-fixup.patchfiles are applied to the baseline tree before harness compilation (they repair benches that an API cleanup broke before the regular build started compiling them). The gate requires exact equality for the deterministic allocation counters and grades noisy wall-time and hardware-counter medians against the documentedBENCH_TOLERANCE_PERCENTmedian regression budget (5% by default). This is a separate required release qualification. It is intentionally not part of portablemake pre-release; inability to run it is not a pass. - Verify publishability.
make publish-crates-drypackages every publishable crate the way the release pipeline does. - Push the release commit, then its tag.
Pushing the tag starts the release pipeline described above; it is the only
way crates reach crates.io. If it fails, fix the cause on
mainand cut a new version. If only the upload or release step failed for an external reason (crates.io or GitHub outage), re-run the failed jobs of the same run. - Post-publish verification.
Confirm crates.io versions, docs.rs builds, and install smoke tests:
cargo add solverforge@<version>
solverforge-cli now releases from its standalone repository and should be validated and published there.
Capture these before tagging if the release needs manual emphasis beyond the generated notes:
- Breaking public-surface changes, if any
- New templates, commands, macros, or helper APIs
- New validation coverage or release-risk reductions
The published GitHub Release body is generated automatically from merged PRs and contributor mentions. Only add manual release-note text when users need extra migration or rollout guidance that the generated notes would not communicate clearly.