Repository navigation
fix(update): route stored dev package installs to git - #134440
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
@clawsweeper re-review |
|
Codex review: needs maintainer review before merge. Reviewed August 31, 2026, 3:56 PM ET / 19:56 UTC. ClawSweeper reviewWhat this changesThis PR makes a package install with stored Regression provenancePossible regression — probable (reviewed change; known regression link). No predecessor PR is attributed. Merge readinessKeep open for maintainer release review. The focused updater change restores the documented stored-dev behavior and preserves the one-off tag exception, but it changes install-mode behavior on an extended-stable candidate and the supplied exact-head check rollup is still incomplete. Priority: P2 Review scores
Verification
How this fits togetherThe update CLI combines explicit arguments, persisted update-channel configuration, and detected install type to select either a package-manager or Git update. That selection determines the code installation updated before plugin synchronization and gateway restart handling. flowchart LR
A[CLI arguments] --> C[Update-channel selection]
B[Stored update configuration] --> C
D[Detected install type] --> C
C --> E{Choose update mode}
E --> F[Git checkout updater]
E --> G[Package manager updater]
F --> H[Plugin sync and restart]
G --> H
Decision needed
Why: The code restores an existing documented contract, but deciding whether that install-mode correction belongs in this release candidate is a release-inclusion choice for maintainers. Before merge
Agent review detailsSecurityNone. PR surfaceSource +4, Tests +41. Total +45 across 2 files. View PR surface stats
Review metricsNone. Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Land the narrow owner-level backport only after completed exact-head candidate validation confirms both the stored-dev Git transition and the one-off-tag package transition on the release target. Do we have a high-confidence way to reproduce the issue? Yes for a source-level reproduction: on the base, stored Is this the best way to solve the issue? Yes. The condition belongs at the centralized install-mode decision and retains the established explicit-dev and one-off-tag semantics; the closed harness workaround in #134394 would not repair the candidate runtime. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 72aae2182a60. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
🦞👀 Re-review progress:
|
Summary
Backports the stored
update.channel: devrouting contract to the extended-stable candidate. A package install with storeddevnow switches to the Git update flow; a one-off--tagremains package-scoped, while explicit--channel devstill takes precedence.This replaces the main-only acceptance workaround proposed in #134394: the candidate package is the behavior under test, so its documented update contract belongs in
update-command.ts, not in a capability-based test exemption.Evidence
devas a Git checkout, including package-to-Git switching:docs/install/development-channels.md.oxlintfor both touched files andgit diff --checkpass. Hosted exact-head CI is the required runtime proof.Scope
Production: +6/-2. Tests: +41/-0. No dependency, tag, npm, schema, or config-shape change.