mjdi docsv0.10.0latest
Release and CI checklist (P0-01/P0-02/P0-07 integration)
The practical gate every mjdi release passes. The workflows under
Source: mjdi/docs/release-checklist.md
The practical gate every mjdi release passes. The workflows under
.github/workflows/ run the same steps on every push; a release tag runs
them again plus the packaging steps.
The release gate
scripts/release_gate.sh runs the complete gate locally:
- Toolchain —
mojo --versionmatchesrelease/manifest.json'starget_compiler(name, version, build). - Metadata —
scripts/validate_metadata.pypasses (P0-01), including--tagequality when validating a release tag. - Inventory —
scripts/test_inventory.py --checkpasses (P0-07): the authoritative suite counts are current. - Diagnostics —
scripts/gen_diagnostics.py --check(P0-06): the catalog, its pinned IDs, and the builder sources agree. - API reference —
scripts/gen_api_reference.py --check: the generated reference matches the library surface. - Suite —
scripts/run_tests.sh(the full authoritative inventory, P0-07) on the verified platform. - Coverage — both API-surface gates at ≥ 95%.
- Graph fixtures —
scripts/export_graph_fixtures.sh+git diff --exit-code(no unexpected generated-file drift). - Website —
bun run lint && bun run format:check && bun run buildfromwebsite/(the docs build and link set).
CI jobs (.github/workflows/ci.yml)
| Job | Platforms | Runs |
|---|---|---|
tests | linux-x64 (required release gate), linux-arm64, macos-arm64 (ci-verified tier) | full inventory + coverage + drift gates + metadata validation + experiments |
benchmarks | linux-x64 | the benchmark suite (measurements, not tests) |
website | linux-x64 | lint, format check, build, static Pages export |
metadata | linux-x64 | validate_metadata.py (fast-fail on drift, P0-01) |
The release workflow (.github/workflows/release.yml)
On a v* tag (or by hand from the Actions tab on a branch: a dry run that publishes nothing):
verify:validate_metadata.py --tag "$GITHUB_REF_NAME"— the tag must equalv<manifest version>(P0-01) — and the full suite.build:scripts/build_mojoc.pyprecompilesmjdi.mojoc(the file name is the import name; never add the version to it), runs an example using only that file with no source tree on the import path, and writes the tarball and checksums.smoke: the same file is downloaded and smoke-tested on linux-x64, linux-arm64 and macos-arm64 (a.mojocis tied to the compiler version but not to an architecture).publish(tags only):make_release.py --include ...builds the source zip and SBOM and oneSHA256SUMScovering all assets;sha256sum -cmust pass; the changelog section plus install instructions and the checksums become the release notes;gh release createattachesmjdi.mojoc, the tarball, the zip, the SBOM andSHA256SUMS.
ci.yml also runs the precompile step on every push, because mojo precompile parses every module
while mojo run -I . compiles only what a test uses.
Manual pre-tag checklist
-
release/manifest.jsonupdated (version, title, date, doc_versions) -
python3 scripts/release_update_docs.pyrun; CHANGELOG body written -
llms.txt/llms-full.txtregenerated -
python3 scripts/test_inventory.pyre-run if the suite changed -
python3 scripts/validate_metadata.pygreen -
scripts/release_gate.shgreen on the verified platform - docs updated (the P0 pages,
acceptance-criteria.md,known-limitations.md) - compatibility impact classified (see
docs/migration-notes.md)
Never report as passing what did not run
If a step could not run (missing tool, unavailable runner), the report says
NOT RUN with the reason — the release classifies as
"feature-complete but requiring additional validation" until the step
executes. See docs/compiler-compatibility.md
for the platform-tier rules and
tests/INVENTORY.md for the executed/unavailable
policy.