fix(release): avoid full revalidation after changelog-only cuts#105948
Conversation
|
Landing verification:
The PR changes none of |
|
Codex review: found issues before merge. Reviewed July 13, 2026, 12:31 AM ET / 04:31 UTC. Summary PR surface: Tests +204, Docs +67, Config +14, Other +118. Total +403 across 24 files. Reproducibility: yes. at source level: current release validation binds reusable product evidence to the exact target SHA, so a later changelog commit causes the full matrix to run again; no live failing release was reproduced during this read-only review. Review metrics: 2 noteworthy metrics.
Stored data model Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Maintainer decision needed
Security Review findings
Review detailsBest possible solution: Keep the Code SHA/Release SHA evidence model and strict changelog-only comparison, but preserve Do we have a high-confidence way to reproduce the issue? Yes at source level: current release validation binds reusable product evidence to the exact target SHA, so a later changelog commit causes the full matrix to run again; no live failing release was reproduced during this read-only review. Is this the best way to solve the issue? No, not as written: the Code SHA/Release SHA design is the right narrow architecture, but rejecting the existing Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 6ef3e87583ed. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Tests +204, Docs +67, Config +14, Other +118. Total +403 across 24 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
bc502d8 to
2b14c96
Compare
|
Land-ready proof: exact-head CI run 29226335174 passed. Blacksmith Testbox tbx_01kxcr6xmy9t6baedcyk24t0w4 passed 258 focused release-tooling tests across 8 files; workflow validation, docs validation, patch-owned changed gates, and git diff checks passed. Review artifacts validate with no accepted findings. One autoreview claim that beta was not a declared workflow choice was rejected after direct source proof: current main, this PR, the helper validator, and the downstream matrix all accept beta. |
|
Merged via squash.
|
Closes #105946
What Problem This Solves
Fixes an issue where release managers could repeat the full product-validation matrix after late changelog work, release-tooling recovery, or resumed publication even though product code had not changed. This made small release-branch updates, including optional backports, take many hours and left the evidence chain harder to reason about.
Why This Change Was Made
The release flow now freezes a product-complete pre-changelog Code SHA, runs full product validation there, then creates a Release SHA whose complete delta must be exactly one modified
CHANGELOG.md. GitHub compare proof and the strict evidence verifier independently enforce that boundary. Product evidence can be reused for the changelog-only Release SHA, while npm preflight, package/install acceptance, release-note provenance, tagging, and publication still validate the exact Release SHA.The release candidate helper also supplies canonical release-branch context, infers
betaversusstablevalidation profiles from the target package version, avoids duplicate validation/preflight dispatches, and preserves the Release-SHA wrapper as the durable evidence identity.User Impact
Release managers can validate code once, generate the changelog once after product proof is green, and resume tooling or publication failures without restarting unrelated product validation. Any code, version, dependency, generated, or workflow-owned target change still returns to a new Code SHA and full validation.
No product runtime behavior changes. Backports remain optional.
AI-assisted: yes. The implementation was reviewed and validated by the maintainer operating the release flow.
Evidence
tbx_01kxcr6xmy9t6baedcyk24t0w4tsgo:scripts,tsgo:test:root, and script lintpnpm check:workflowsgit diff --checkpassedpnpm check:changedis currently blocked by the pre-existing repository-wide TypeScript LOC ratchet on basea674ce5e0d1ab0774546086fa7b2730516eca176. Running the ratchet directly on that base reports the same unrelated source/UI baseline failures; this PR touches none of those files. All remaining commands from the changed-gate plan passed independently.