Stability and release verification#
Audience: maintainers and API consumers. Stable Core releases are available on npm. This page owns release verification; compatibility owns the public contract policy. The VS Code Starter has separate editor, accessibility and provider acceptance. Core publication does not establish those results.
What becomes a compatibility promise#
The stable promise began with 1.0.0 and covers the documented CLI/JSON, configuration and policy formats, package exports/types, supported environments and ownership/credential/hosted-access guarantees. See the owning compatibility policy for the complete boundary.
Patch releases may fix defects and improve messages without changing those contracts. A future breaking contract change requires a version that clearly communicates it under Semantic Versioning. Internal source files, terminal decoration, exact prose, temporary file names, and undocumented package paths are not compatibility promises.
What blocks a release candidate#
An issue blocks the active release candidate when it can cause any of the following within a supported configuration:
- data loss, credential exposure, hosted-system access, or mutation outside resources that Rehearsal can prove it owns;
- an incorrect baseline, migration set, verification result, or successful status;
- failure of clean installation, supported-version upgrade, restore, reset, cleanup, or interruption recovery;
- a documented CLI, configuration, policy, or TypeScript contract behaving differently from its reference;
- a supported Node.js, Supabase, PostgreSQL, macOS, or Linux path failing its maintained automated gate.
New database families, interfaces and commercial features are not prerequisites for releasing the existing supported scope. Defects in a documented supported workflow remain subject to the blockers above.
Promotion sequence#
Promotion requires exact-artifact evidence. A calendar wait cannot make a candidate ready; the sequence below defines required checks, rather than claiming they passed.
- Freeze broad feature development on the release branch.
- Select one immutable candidate from the reviewed release branch. A release candidate
may be published from protected
mainthrough the reviewed npm environment; another prerelease is not required solely to verify the final stable tarball. - Run the complete Rehearsal Test Lab gate twice from clean isolated workspaces.
- Perform one final package-only check in a real consumer using the exact frozen stable tarball, not duplicate Rehearsal machinery. Preserve its reviewed settings and persistent data; a package check does not require resetting its databases.
- Review reports and existing scheduled Test Lab results for unresolved blockers. A blocking correction needs its affected acceptance repeated against the exact corrected candidate. Reuse sufficient unchanged evidence with its original scope; do not relabel old or unavailable manual checks as new results. No minimum number of calendar days replaces these checks.
- Publish the selected stable version only when no blocking issue remains and the exact tarball has passed the required release checks and consumer acceptance. The protected GitHub npm review is the single human authorization for its displayed exact version and checksum; no separate chat approval or pasted phrase is required.
- Independently verify registry bytes, provenance, signatures and channels, then confirm the published package in the real consumer. Promotion is complete only when the published artifact matches the tested tarball and these checks pass.
Test Lab is the primary verification system. A real consumer is the final compatibility check, not a replacement for package-owned coverage. Real Google or GitHub consent does not need to run on every build unless authentication behavior changes.
npm channels#
Beta and release-candidate versions publish under the beta tag. Before a stable
release exists, latest follows that reviewed prerelease so the ordinary install command
remains useful. Once stable 1.0.0 exists, latest stays on the stable line and beta
continues to identify the newest prerelease. Stable publication never rewrites the
beta tag.
Upgrading from core 1.x#
Core 2.0 changes the documented defaults for omitted run/application lifecycle
settings, so it uses a major version rather than silently changing the 1.x promise.
Choose the upgrade deliberately after reviewing the 2.0 migration guidance.
Explicit keep-until-stop settings preserve the previous lifecycle behavior.
Configuration remains schema version 1; updating does not require resetting data,
replacing a baseline or deleting recovery state. Compatible automatic updates do
not cross from 1.x to 2.x.
Upgrading from a 0.1 release candidate#
Automatic compatible updates do not cross major-version boundaries. Review the changelog and the 2.x lifecycle migration before deliberately moving an old release candidate to current Core. Updating alone does not require resetting data, replacing a baseline or deleting keys. For the current release:
npm install --save-dev --save-exact @rehearsal-db/core@2.6.0
npx --no-install rehearsal --version
npx --no-install rehearsal doctorUse the project's existing package manager and dependency location. Review its lockfile and readiness output before the next sandbox operation; do not reset data just to update.