Repository navigation
chore(release): preserve efficiency change history - #104181
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 11, 2026, 1:29 AM ET / 05:29 UTC. Summary PR surface: Tests +54, Other +27. Total +81 across 2 files. Reproducibility: yes. Current main visibly delegates from a linked worktree to canonical wrapper code without revision checks, and the related landing provides a concrete occurrence of stale behavior selecting the wrong merge method. Review metrics: 1 noteworthy metric.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Risk before merge
Maintainer options:
Next step before merge
Maintainer decision needed
Security Review detailsBest possible solution: Land the exact reviewed head with a true merge commit after CI completes, preserving the ancestry merge while retaining canonical delegation only when all sourced wrapper components match committed content. Do we have a high-confidence way to reproduce the issue? Yes. Current main visibly delegates from a linked worktree to canonical wrapper code without revision checks, and the related landing provides a concrete occurrence of stale behavior selecting the wrong merge method. Is this the best way to solve the issue? Yes. A tree-identical ancestry merge repairs reachability without rewriting content, while checking dirty state and committed wrapper object IDs is the narrowest reliable guard before canonical re-execution. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 58b0ec9e50fd. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Tests +54, Other +27. Total +81 across 2 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
|
|
Merged via merge commit.
|
…-efficiency-history chore(release): preserve efficiency change history
Related: #104162
What Problem This Solves
The landing for #104162 was explicitly required to preserve its 26-commit
series, but a linked-worktree invocation silently re-executed stale wrapper code
from the canonical checkout and used the default squash path. The release
tooling is on
main, but the reviewed commit ancestry is not.Why This Change Was Made
The first commit records the original PR head as a second parent of current
mainwithout rewriting history or changing the tree. The second makesscripts/prfail closed when linked and canonical wrapper files are dirty orcome from different committed revisions.
User Impact
No runtime or release behavior changes. Maintainers regain the requested
per-commit history, and future PR operations cannot silently substitute stale
canonical wrapper behavior.
Evidence
ebaa1123e9bb567f5365355ec3cea62e4d73e071has parentsc47ceb0f3dcc7b98e888da605509dcc601a96b16and16ba8b52847a9f980c61578097b3d9fce4fd1323.git diff HEAD^1 HEADis empty.test/scripts/pr-wrappers.test.ts: 7 tests passed, including dirty linked,dirty canonical, and committed revision mismatch cases.
bash -n scripts/pr,oxfmt --check, andgit diff --checkpassed.