Skip to content

fix(test): align upgrade plugin cohort arguments - #146606

Merged
steipete merged 1 commit into
mainfrom
codex/fix-upgrade-cohort-argument-7006
Sep 13, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/fix-upgrade-cohort-argument-7006

Conversation

@steipete

@steipete steipete commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

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 discord to assert-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 --check and 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 head a2d52af3b9d45c8850ad75df75d0dd1912580712. Full exact-head CI is green. The current-head ClawSweeper review also found no issues.

@clawsweeper

clawsweeper Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added size: XS maintainer Maintainer-authored PR labels Sep 13, 2026
@steipete
steipete marked this pull request as ready for review September 13, 2026 00:55
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 13, 2026
@clawsweeper

clawsweeper Bot commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 12, 2026, 9:04 PM ET / September 13, 2026, 01:04 UTC.

ClawSweeper review

What this changes

Updates 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
Reviewed head: a2d52af3b9d45c8850ad75df75d0dd1912580712

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, correct test repair supported by source inspection and successful candidate CI.
Proof confidence 🌊 off-meta tidepool Not applicable: The supplied repository state identifies maintainer authorship, so the external-contributor proof gate does not apply; the patch changes only a test expectation, with exact-head CI success verified.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The supplied repository state identifies maintainer authorship, so the external-contributor proof gate does not apply; the patch changes only a test expectation, with exact-head CI success verified.
Evidence reviewed 5 items Verified introduced change: The pinned merge-base-to-head diff changes only the expected argument string, retaining all installation and version-selection assertions.
Runner and assertion contract: install_companion_plugins defaults to discord and passes both version and plugin to assert-baseline-plugin; the assertion consumer accepts those two arguments. The updated expectation matches this contract.
Still needed on fetched main: Fetched main retains the expectation without the discord argument. Inspection of v2026.9.4 also found the older expectation; no shipped fix is claimed.
Findings None None.
Security None None.

How this fits together

Upgrade-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]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests 0. Total 0 across 1 file.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 1 1 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 1 1 0

Review metrics

None.

Technical review

Best 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.

Labels

Label changes:

  • add P3: This is a narrow test expectation repair with no product behavior change.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The supplied repository state identifies maintainer authorship, so the external-contributor proof gate does not apply; the patch changes only a test expectation, with exact-head CI success verified.

Label justifications:

  • P3: This is a narrow test expectation repair with no product behavior change.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The supplied repository state identifies maintainer authorship, so the external-contributor proof gate does not apply; the patch changes only a test expectation, with exact-head CI success verified.

Evidence

What I checked:

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@steipete
steipete merged commit 01eb021 into main Sep 13, 2026
134 checks passed
@steipete
steipete deleted the codex/fix-upgrade-cohort-argument-7006 branch September 13, 2026 01:11
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant