Repository navigation
fix(ui): keep plugin route bridge parameter private - #199553
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 Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex review: needs maintainer review before merge. What this changesMakes the plugin pathname bridge constant private and uses its literal query key in the existing routing test. Example: Opening /ui/reports through the startup pathname bridge.
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review This PR is a focused, correct cleanup of a test-only export, with no actionable code findings; exact-head CI is still completing. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Control UI route-path module converts plugin slug paths and bridged query parameters into plugin tab identities consumed by navigation and page loading. flowchart LR
A[Plugin slug URL] --> B[Router pathname bridge]
B --> C[Route path owner]
C --> D[Plugin tab identity]
D --> E[Plugin page]
Technical reviewBest possible solution: Keep the bridge key private in the existing route-path owner while preserving the independent routing assertion. Do we have a high-confidence way to reproduce the issue? Current-main references establish the test-only export; the PR reports a failing production export scan before the change and a clean scan afterward, without an independent run during this read-only review. Is this the best way to solve the issue? This is the smallest complete fix: remove the unnecessary export and retain the existing behavioral test using an independent input literal. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 55029d41d506. Provenance checked
TestingProof path: unit tests only. SecurityNone. EvidenceWhat I checked:
PR surfaceSource 0, Tests -1. Total -1 across 2 files. 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 15, 2026, 5:04 AM ET / 10:04 UTC. |
|
Merged via squash auto-merge.
|
What Problem This Solves
Fixes the production unused-export check in scheduled CI 43694545374, which reports
INTERNAL_PLUGIN_PATH_PARAMin the Control UI.User Impact
No user-visible behavior changes. Plugin tab links and their startup pathname bridge keep the same behavior.
Why This Change Was Made
#199338 moved the query parser into the route-path owner. The bridge parameter now has no external production consumer, so keep it private and supply the literal query string in the existing behavior test. This removes a test-only export without adding an ignore, suppression, compatibility path, or test case. Diff: production +1/−1; tests +1/−2.
Evidence
932b13220bfdac6e4b191c831421e0e8772b9c3d, including both complete files, is clean through P2. Local ClawSweeper is unavailable; hosted review follows the repository route.This is the scoped CI-fixer repair for the linked scheduled failure. Broad repository checks are left to PR CI.