Release Checklist
Run the extended pre-release validation suite:
scripts/check.sh --releaseIf registry downloads need the local proxy, use:
scripts/check.sh --proxy --releaseThe script runs root crate formatting, tests, clippy, and the real GPUI demo check/clippy/tests against
the pinned lockfile. In --release mode it also checks the benchmark target, confirms the demo uses
a single gpui-pre instance, builds the docs site, and runs a cargo publish dry-run.
Package Contents
Section titled “Package Contents”Before publishing, verify the crates.io package contains only the files needed to build and display the crate documentation:
cargo package --list --allow-dirtyThe package should include the manifest, license, README, src/**, and the benchmark target. It
should not include demo/, docs/, .github/, tests/, or local build output.
If the local environment cannot run docs or package validation, split those checks explicitly:
cargo bench --bench class_performance --no-runcargo xtask check-gpuicargo tree --manifest-path demo/Cargo.toml --locked -i gpui-precargo package --list --allow-dirtybun install --cwd docs --frozen-lockfilebun run --cwd docs checkbun run --cwd docs buildcargo publish --dry-run --allow-dirtyBefore publishing:
- compare public Rust APIs with the previous release, including struct literals and exhaustive matches; an optional JSON field can still break Rust source compatibility. Before 1.0, ship such changes in a new minor version rather than a patch,
- set the version everywhere with
cargo xtask bump <version>: workspace manifests and internal requirements, workspace entries in the root, demo, Zed, fuzz and test fixture lockfiles, the VS Code and Zed extension manifests, install snippets in the README and docs, and the compatibility matrix. CI runscargo xtask bump --check, - update
CHANGELOG.mdandCHANGELOG_CN.md, and mark breaking API changes, - remove “unreleased” labels for shipped features:
rg -n -i 'unreleased|未发布' docs/src README*.md, - ensure the demo lockfile still reflects the intended Kit and GPUI snapshot versions,
- confirm GitHub Pages deployment succeeds after merge.
CI audits all four active Rust lockfiles and both Bun lockfiles. Before releasing,
run cargo audit --file <lockfile> for each Rust project and bun audit --cwd docs
and bun audit --cwd editors/vscode after updating dependencies.
Tooling packages
Section titled “Tooling packages”Publish in dependency order: gpui-rsx-core, gpui-rsx-tools, gpui-rsx, cargo-rsx.
The release check script verifies all packages with local patches before registry publication.
Also run node scripts/test-playground.mjs after building WASM; build the VSIX and
editors/zed for wasm32-wasip1. Attach both editor packages to the GitHub release.
Track Marketplace authentication and Zed registry review separately from crate publication.
0.11 behavior checks
Section titled “0.11 behavior checks”Run the real GPUI tests in demo/tests/negative_layout.rs, event_listeners.rs, and state_updates.rs. Check negative margins and GPUI’s size clamping, move captures, early returns, and exactly-once notification. Verify the renamed-dependency fixture with the configured gpui-path.
Check the build/restart prototype’s failure recovery and ready marker. It must retain the running application after a failed build and reset application state on a successful restart. Also verify separate diagnostics and quick fixes for repeated errors in sibling nodes.
Run the runnable binaries’ model tests, including filter/selection reconciliation and empty-state recovery in incident_console and project_dashboard.
0.10 behavior checks
Section titled “0.10 behavior checks”Verify numeric key identity, shared runtime styles, generic components/callbacks, and format
class evaluation/order against real GPUI (demo/tests). Verify LSP UTF-16 coalescing,
configuration watches, local prop completion and applicable fixes through CLI/LSP tests.
Run both cargo test --workspace and cargo test --workspace --all-features, plus tools
without default features. Regenerate intentional expansion/diagnostic snapshots and review
the diffs. Check generated specs and tables with cargo xtask spec --check,
cargo xtask compat-matrix --check, cargo xtask gen-tables --check, and require the GPUI
API snapshot with GPUI_API_SNAPSHOT_REQUIRED=1 cargo test -p xtask --test gpui_api_snapshot.
After building the docs/WASM, run node scripts/test-playground.mjs for themes, cache keys,
input limits and conversion scale. When a browser is available, check theme errors, share
restore, conversion and responsive layout interactively. Validate VS Code with bun run check,
bun test and bun run build from editors/vscode.