Repository navigation
fix(test): allow pending plugin inventory during navigation - #201551
vincentkoc wants to merge 1 commit into
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 changesThis PR disables the automatic readiness wait for the browser test that deliberately holds plugin inventory pending. Example: Open the Matrix catalog detail while plugins.list is held pending.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: the maintainer-authored test repair uses the existing navigation opt-out without weakening assertions, and no introduced defect was found. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Control UI browser fixture installs a mocked Gateway and optionally wraps navigation with a readiness wait; this test needs to inspect the intermediate state before inventory resolves. flowchart TD
A[Plugin browser test] --> B[Existing mock Gateway setup]
B --> C[Navigation without readiness wait]
B --> D[Held plugin inventory]
C --> E[Assert loading and disabled Install]
E --> F[Release inventory and assert completion]
D --> F
Technical reviewBest possible solution: Use the existing per-test readiness opt-out while retaining the held inventory response and every pending-state and completion assertion. Do we have a high-confidence way to reproduce the issue? Source confirms that this held-method scenario installs the readiness wrapper and that the explicit false option bypasses it; no baseline or candidate execution was performed, and the scheduled failure's detailed log was inaccessible. Is this the best way to solve the issue? This is the smallest complete fixture repair: it uses the existing option at the intentional pending-state call site and preserves the observable contract without changing shared readiness policy. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f876451576e2. Provenance checked
TestingProof path: none. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +3. Total +3 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: No label changes. Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
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 18, 2026, 8:21 PM ET / November 19, 2026, 01:21 UTC. |
What Problem This Solves
The plugin-inventory loading test stalls during navigation before it can inspect the disabled Install button. It deliberately holds the inventory response, while the default navigation helper waits for the page to finish becoming ready.
User Impact
No production behavior changes. The test can inspect the pending inventory state and then release it.
Why This Change Was Made
Use the existing per-test
awaitInitialRoster: falseoption for this intentional pending state. Keep every loading, Install, and completion assertion unchanged.Evidence
d0fc73b3..c6b1b9a7range: no findings (0.96).Related: #201396
Superseded on main
PR #201792 landed this correction in ea749009. The entire named browser test is byte-identical on this branch, that commit and main
37550994. It still holdsplugins.list, checks that Install is disabled, releases the pending response and then checks that Install is enabled. Closing this duplicate preserves the original evidence.