Documentation
Skip to content

Release Gates

Stable publication starts from the current main commit and runs the reusable CI workflow to build and qualify a wheel and source distribution. Publication uses those exact artifacts without rebuilding them after qualification.

Local Checks

Run these checks from the repository root:

uv run ruff check src/ tests/ examples/ scripts/
uv run ruff format --check src/ tests/ examples/ scripts/
uv run ty check
uv run pytest tests/ -q --cov-report=json:coverage.json
uv run python scripts/ci/check_coverage.py coverage.json
uv run mkdocs build --strict
uv build
uv run twine check dist/*
actionlint

The local hardware smoke uses CPU while exercising the same fit, persistence, recovery, and replay paths as the CUDA and MPS jobs:

uv run python scripts/ci/hardware_qualification.py --device cpu

Blocking CI Checks

The stable candidate requires all of these results:

  • Ruff, formatting, ty, documentation, and coverage thresholds
  • installed-wheel tests on Linux, macOS, and Windows for Python 3.12, 3.13, and 3.14
  • installed NumPy-core wheel tests on Python 3.15 for all three operating systems; this does not qualify Torch-backed models on that interpreter
  • current and supported-minimum dependency vulnerability scans
  • identical wheel members on every stable operating-system and Python cell, with a byte-identical rebuild on the canonical Linux/Python 3.12 build cell
  • RTX 3090 CUDA fit, replay, checkpoint, persistence, CPU recovery, and CUDA recovery checks
  • three fresh-process Chapter 14 performance runs on the CUDA reference host
  • three fresh-process isolated scaling profiles for classical and neural workload axes

MPS runs the public neural workflow matrix on an Apple Silicon hosted runner. It remains a non-blocking compatibility result.

Candidate Identity

CI records the source commit, Git tree, package name, package version, artifact names, sizes, and SHA-256 digests in candidate.json. Each downstream job verifies that manifest before testing the candidate.

A release tag must point to the same commit and match the candidate version exactly. The release workflow retains the candidate qualified within that release run, deploys revision-identified documentation, verifies the deployed markers, and then publishes the retained distributions.