Repository navigation
fix(ci): keep switched release helper private - #200534
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesRemoves the unused export from the internal switched Git release helper. Example: Production Knip scans isSwitchedGitRelease.
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review This PR is a useful, minimal cleanup: the helper has only a local caller, and removing its export preserves runtime behavior. No actionable findings; exact-head CI remains pending. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe CLI update convergence module receives update results and coordinates post-update plugin work; its private predicate identifies switched Git releases. flowchart LR
A[CLI update finalization] --> B[Plugin convergence]
B --> C[Switched release predicate]
C --> D[Release slot reader]
B --> E[Post-update result]
Technical reviewBest possible solution: Keep the predicate private in its existing convergence owner. Do we have a high-confidence way to reproduce the issue? Source verifies an exported helper with no external consumers; the reported Knip result was not independently rerun. Is this the best way to solve the issue? Removing only export is the smallest complete fix and preserves the original update behavior without adding machinery or tests. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 71d835b63abc. Provenance checked
TestingProof path: unit tests only. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource 0. Total 0 across 1 file. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 17, 2026, 4:58 AM ET / 09:58 UTC. |
|
Merged via squash auto-merge.
|
What Problem This Solves
The production unused-export check reports the switched Git release helper even though only its own update module calls it.
Related: #199706
User Impact
No user-visible behavior changes. The update helper remains available to its existing local caller without exposing an unused module export.
Why This Change Was Made
Remove only the
exportmodifier fromisSwitchedGitRelease. Its implementation and the update convergence flow are unchanged; no SDK or external module imports it.Evidence
--no-restart, and an already-current converted install.Scoped validation used the qualified native checkout at
52a092684c20d2efec4848475382d0225bef0130, temporarily overlaying only this owner file. The update owner and test inputs match this branch; the checkout was restored byte-for-byte afterward. This is scoped validation, not a full exact-head CI result. Broader PR CI remains pending.