Repository navigation
Conversation
Align extended-stable installer coverage with the exact-parent override normalization from #187287. Keep strict first-install ownership and alias-free retry assertions. Co-authored-by: RomneyDa <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Codex review: needs maintainer review before merge. What this changesThe PR adds the preserved nested npm override and its ownership key to an existing installer test. Example: Validate the fixture rule [email protected]>ip = npm:[email protected].
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: it correctly repairs stale extended-stable test expectations without changing production behavior or weakening retry assertions. No actionable defect was found. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe plugin installer reads workspace dependency overrides, translates supported rules into managed npm manifests, and retries without aliases when npm rejects them; this PR updates its existing test oracle. flowchart TD
A[Workspace override policy] --> B[Override normalization]
B --> C[Managed npm manifest]
C --> D[Plugin npm install]
D --> E[Alias compatibility retry]
C --> F[Installer test assertions]
E --> F
Technical reviewBest possible solution: Land the focused expectation correction on extended-stable while retaining the existing normalization owner and strict retry assertions. Do we have a high-confidence way to reproduce the issue? The base normalizer emits the nested rule and sorted ownership key, but the original full-equality assertions omit both; the author also reports a failing-base and passing-head focused run, which this read-only review did not rerun. Is this the best way to solve the issue? The two expectations are the smallest complete correction because production already implements the intended translation and the retry assertions continue to require alias removal. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against cdff9b02c81b. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
PR surfaceTests +2. Total +2 across 1 file. Added test files: 0. View PR surface stats
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 October 29, 2026, 3:57 AM ET / 07:57 UTC. |
Related: #187287
What Problem This Solves
Fixes the extended-stable plugin-install validation failure introduced when exact-parent dependency overrides started being preserved in npm form.
User Impact
No production behavior changes. The 2026.9.36 validation candidate can retain the intended scoped dependency policy without a stale test rejecting it.
Why This Change Was Made
The fixture’s
[email protected]>ippolicy correctly becomes a nested npm override. Expect both that rule and its managed ownership key on the first install. Preserve the existing full-equality checks that require unsupported aliases to be removed on retry; do not broaden the policy or relax assertions.Evidence
92d0ad59874e396c061e5b58d916278eb2c31b54with the focused normalization/retry test; it failed solely on the newly preserved nested rule.git diff --checkpass.5996142620ecc1661de9eb43ea45ced27d6c637dffb6b07e84106c3787904f37.