Repository navigation
improve(release): make preparation atomic and bounded - #104000
Conversation
|
Land-ready proof for exact head
Landing will use |
Dependency GuardThis PR changes dependency-related files. Maintainers should confirm these changes are intentional. Changed files:
Maintainer follow-up:
|
Dependency graph changes notedThis PR includes dependency graph changes. The dependency guard is informational because the PR author is a repository admin or a member of
Security review is still recommended before merge when the dependency graph change is intentional. |
|
Codex review: stale review; fresh review needed. Summary Next step |
|
Merged via rebase.
|
Related: #103935
Supports: #103898
What Problem This Solves
Resolves a release-operator problem where changelog verification, version alignment, plugin metadata, and npm shrinkwrap preparation could take hours of serial or manual work and could leave stale generated metadata in linked worktrees.
Why This Change Was Made
Adds one atomic preparation controller with shadow, check, and write modes; parallelizes independent preflight and shrinkwrap work; caches bounded changelog GitHub discovery; runs metadata generators directly in linked worktrees; and expands shrinkwrap ownership to tracked private packages. This complements #103935: this PR prepares a deterministic candidate, while #103935 binds publication to approved package bytes.
User Impact
Release operators get a repeatable metadata preparation path that completed in 69.19 seconds for the tested
2026.6.11candidate, emits a git-local manifest, and fails closed on stale version, changelog, Android, plugin, or shrinkwrap metadata. Runtime behavior is unchanged.Evidence
b65f4dbf904:node --import tsx scripts/release-prepare.ts --write --version 2026.6.11 --jsongit diff --check: cleanprepare-run: passed at exact head29133026510: passedThis change was prepared with AI-assisted implementation and review. No agent transcript is attached because it was not approved for public inclusion.