Repository navigation
fix(ci): restore update service planning lint budget - #160591
Conversation
Extract the unchanged pure Node-engine recommendation helper without changing runtime selection, lazy installer loading, or the 700-line lint threshold. Verified 45 service-plan tests, targeted typed lint, formatting, and independent P0-P2 review.
|
🦞👀 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: blocked before merge. Reviewed September 28, 2026, 1:54 PM ET / 17:54 UTC (Revision 2). ClawSweeper reviewWhat this changesThe branch moves the update CLI’s Node-version recommendation into an adjacent module so service planning meets its lint limit without changing the recommendation logic. Merge readiness⛔ Blocked before merge - 2 items remain Keep open. Current main still has the local lint-budget violation, and the patch has no identified correctness defect. Repository update policy requires packaged upgrade proof before merge. Priority: P3 Review scores
Verification
How this fits togetherThe update CLI checks the target package and selected runtime before an update. When Node is incompatible, service planning produces recovery guidance for the operator. flowchart LR
A[Update request] --> C[Runtime preflight]
B[Target package requirements] --> C
D[Selected Node runtime] --> C
C --> E[Node recommendation]
E --> F[Recovery guidance]
F --> G[Update result]
Before merge
Agent review detailsSecurityNone. PR surfaceSource +3. Total +3 across 2 files. View PR surface stats
Review metricsNone. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep one Node recommendation owner and verify that a published updater can load this candidate and complete an update before landing. Do we have a high-confidence way to reproduce the issue? Yes at source level: current main retains the oversized service-planning file under the 700-line lint rule, and the contributor reports reproducing the native local failure. This read-only review did not rerun lint. Is this the best way to solve the issue? Yes: extracting the unchanged calculation is a narrow way to meet the lint budget while retaining the existing preflight call and lazy runtime-recovery path. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 01747d9b2b11. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
|
Merged via squash auto-merge.
|
Extract the unchanged pure Node-engine recommendation helper without changing runtime selection, lazy installer loading, or the 700-line lint threshold. Verified 45 service-plan tests, targeted typed lint, formatting, and independent P0-P2 review.
Related: #157920
What Problem This Solves
The native local preparation lint check fails on unchanged main code because update service planning exceeds the 700-line limit. GitHub Actions downgrades line-limit findings to warnings; this is not a claim of a hosted CI failure.
User Impact
Restores the local lint gate without changing update behavior, supported runtimes, or configuration.
Why This Change Was Made
Moves the unchanged pure Node-engine recommendation helper into an adjacent module. The installer stays lazy, and the child-command runner remains dependency-free. No lint threshold or baseline is changed.
Evidence
The direct main repair was attempted under repository guidance but rejected by the ruleset requiring a pull request.
Post-merge qualification
GitHub merged exact head
44be1964b16b7119cb9663468e460defc41236eeasa0a0c6aa24ce5d699ccd1b0746e9d01fb55fdc40after the full Actions CI gate passed. The published-driver × candidate check requested by the later review was not completed before merge. An attempted native cancellation was refused before dispatch; no cancellation is claimed.The additional package attempts exposed a proof-fixture error, not a canonical build defect: archived source inherited its parent repository’s Git context, giving the builder an empty tracked-plugin inventory. Both candidate and parent attempts used that invalid fixture. Isolating Git discovery restored all 90 plugin entries, matching the native checkout exactly; the unchanged bundler guard passed. Earlier fixture-deleted declarations were restored, and all 50,445 tracked source contents and modes were verified. No product code or guard changed to obtain the passing package.
Exact-head post-merge qualification now passes. Canonical package build passed in 532.333s and tarball integrity in 77.967s. The unmodified published
2026.9.5updater installed exact44be196candidate2026.9.6successfully in 99.677s; all 12 update steps passed. Installed-candidate preflight passed in 3.394s, and the launcher, manifest, and all 11,214 dist entries matched the verified tarball. Existing operator config values and a survivor were retained alongside normal additive Doctor normalization, with no transaction residue. Staged startup healthcheck ran; managed-service reconciliation was explicitly skipped for the isolated fixture. No live deployment, service restart, credentials, inference, or Codex-app matrix is claimed.This proof completed after merge and does not retroactively supply the missing pre-merge proof. The original PR’s exact
87de8e5package cell independently passed the same checks.