Repository navigation
fix(test): align upgrade plugin cohort arguments - #146606
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. Reviewed September 12, 2026, 9:04 PM ET / September 13, 2026, 01:04 UTC. ClawSweeper reviewWhat this changesUpdates the legacy Discord upgrade test to expect the explicit plugin name passed by the upgrade runner. Merge readiness✅ Ready for maintainer review The repair remains necessary on current main and correctly preserves exact argument checking. No actionable defect was found; the maintainer-protected PR should remain open for normal landing. Priority: P3 Review scores
Verification
How this fits togetherUpgrade-survivor tests check how published installations and their plugins survive updates. This fixture verifies the runner’s plugin selection, installation command, and baseline assertion arguments. flowchart LR
A[Baseline core version] --> B[Select plugin version]
B --> C[Prepare plugin registry]
C --> D[Install Discord plugin]
D --> E[Assert baseline version and plugin]
E --> F[Check captured arguments]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests 0. Total 0 across 1 file. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep the existing exact assertion aligned with the runner’s explicit plugin argument while preserving the version and installation checks. Do we have a high-confidence way to reproduce the issue? Yes, source establishes that the four legacy cohort cases capture an additional discord argument that current main’s exact expectation omits. Tests were not executed during this read-only review. Is this the best way to solve the issue? Yes, correcting the expected argument is the narrowest repair and does not weaken the existing checks. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against b1b314e4bc67. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
What Problem This Solves
Fixes four upgrade-survivor CI failures after #146575 made the baseline plugin argument explicit.
User Impact
No product behavior change. Upgrade validation keeps checking the full command arguments for the legacy Discord plugin cohort.
Why This Change Was Made
The runner now passes
discordtoassert-baseline-plugin. Update the existing exact expectation to include that argument while retaining all version-selection and installation assertions.Evidence
Original failure: small-33, four legacy cohort cases. The main-origin runner change is byte-identical in that CI merge; this repair changes one test line.
git diff --checkand the normal formatter hook pass. Fresh independent P2 review found no issues. Candidate Linux shell fixture passed all 14 existing cases, including the four previously failing cohorts, on heada2d52af3b9d45c8850ad75df75d0dd1912580712. Full exact-head CI is green. The current-head ClawSweeper review also found no issues.