Skip to content

fix(qa): reserve shared QA suite flags across runners - #91506

Merged
RomneyDa merged 1 commit into
mainfrom
codex/multipass-channel-driver-runner-parity
Jun 22, 2026
Merged

RomneyDa merged 1 commit into
mainfrom
codex/multipass-channel-driver-runner-parity

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Jun 8, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Stacked on feat(qa): crabline channel driver #91502.
  • Preserves shared QA suite selections across both built-in suite runners by forwarding --channel-driver crabline --channel telegram and --enable-plugin into the existing isolated runner wrapper.
  • Keeps the channel driver meaning scoped to the openclaw/crabline messaging/channel SDK; this PR does not add Canonical Multipass VM orchestration behavior, guest command features, or a VM-backed channel driver.
  • Leaves the real runner-specific exceptions unchanged: VM resource flags remain Multipass-only, and --cli-auth-mode / --preflight remain host-only.
  • Review focus: whether these are the right parity boundaries for suite-level flags versus runner-lifecycle or credential-sensitive flags.

Linked context

Stacked on #91502.
Related openclaw/crabline#1.

Real behavior proof (required for external PRs)

  • Behavior or issue addressed: shared QA suite selections no longer get dropped or rejected when using qa suite --runner multipass; the existing isolated runner wrapper preserves them for the guest suite command.
  • Real environment tested: local OpenClaw checkout on codex/multipass-channel-driver-runner-parity.
  • Exact steps or command run after this patch:
    • git diff --check
    • pnpm exec oxfmt --check CHANGELOG.md extensions/qa-lab/src/cli.runtime.ts extensions/qa-lab/src/cli.runtime.test.ts extensions/qa-lab/src/multipass.runtime.ts extensions/qa-lab/src/multipass.runtime.test.ts
    • pnpm tsgo:extensions
    • node scripts/run-vitest.mjs extensions/qa-lab/src/cli.runtime.test.ts extensions/qa-lab/src/multipass.runtime.test.ts extensions/qa-lab/src/crabline-channel-driver.test.ts extensions/qa-lab/src/suite.summary-json.test.ts extensions/qa-lab/src/suite.test.ts extensions/qa-lab/src/qa-transport-registry.test.ts
  • Evidence after fix: focused Vitest run passed 6 files / 117 tests; formatting, whitespace, and extension typecheck passed.
  • Observed result after fix: runQaSuiteCommand now passes channel-driver selection and plugin enablements to runQaMultipass, and createQaMultipassPlan renders those selections into the generated guest pnpm openclaw qa suite command.
  • What was not tested: a live run of the existing isolated runner wrapper and live Telegram SDK-channel e2e assertions.
  • Proof limitations or environment constraints: this is scoped to deterministic command construction and CLI routing; live isolated-runner validation can run after reviewer agreement on the parity boundary.
  • Before evidence: feat(qa): crabline channel driver #91502 rejected --channel-driver crabline with --runner multipass, and the isolated runner wrapper did not forward --enable-plugin.

Tests and validation

  • Added CLI runtime coverage for forwarding channel-driver selection and plugin enablements to runQaMultipass.
  • Added isolated-runner command construction coverage for generated guest command flags.
  • Validation run locally:
    • git diff --check
    • pnpm exec oxfmt --check CHANGELOG.md extensions/qa-lab/src/cli.runtime.ts extensions/qa-lab/src/cli.runtime.test.ts extensions/qa-lab/src/multipass.runtime.ts extensions/qa-lab/src/multipass.runtime.test.ts
    • pnpm tsgo:extensions
    • node scripts/run-vitest.mjs extensions/qa-lab/src/cli.runtime.test.ts extensions/qa-lab/src/multipass.runtime.test.ts extensions/qa-lab/src/crabline-channel-driver.test.ts extensions/qa-lab/src/suite.summary-json.test.ts extensions/qa-lab/src/suite.test.ts extensions/qa-lab/src/qa-transport-registry.test.ts

Risk checklist

Did user-visible behavior change? Yes: qa suite --runner multipass now accepts and preserves shared channel-driver and plugin enablement flags.

Did config, environment, or migration behavior change? No.

Did security, auth, secrets, network, or tool execution behavior change? No.

What is the highest-risk area? Misclassifying a runner-specific flag as shared suite semantics.

How is that risk mitigated? The PR only forwards deterministic suite selections; credential-sensitive auth mode and preflight artifact behavior stay host-only, and VM sizing flags stay Multipass-only.

Current review state

Next action: review after #91502.

Still waiting on: #91502 and openclaw/crabline#1.

Bot/reviewer comments addressed: follow-up to maintainer question about runner flag parity; repo identity and channel-driver id updated from multipass to crabline.

@RomneyDa
RomneyDa force-pushed the codex/multipass-channel-driver-runner-parity branch from 7c3a069 to 81034a0 Compare June 8, 2026 20:57
@clawsweeper

clawsweeper Bot commented Jun 8, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: found issues before merge. Reviewed June 22, 2026, 6:01 PM ET / 22:01 UTC.

Summary
The branch carries the Crabline QA stack and specifically forwards channel-driver selection plus explicit plugin enablements into the Multipass guest qa suite command.

PR surface: Source +1769, Tests +929, Docs +19, Config +77, Other +2. Total +2796 across 30 files.

Reproducibility: yes. for the review finding: source inspection on the PR head shows the CLI forwards channelDriverSelection and enabledPluginIds into runQaMultipass, whose params type still omits both fields. No current-main bug reproduction is applicable because this is stacked feature behavior.

Review metrics: 1 noteworthy metric.

  • Shared suite flag families: 2 forwarded. Channel-driver selection and explicit plugin enablements now cross the host-to-guest QA automation boundary, which is the central parity decision before merge.

Stored data model
Persistent data-model change detected: migration/backfill/repair: extensions/qa-lab/src/crabline-channel-driver.test.ts, migration/backfill/repair: extensions/qa-lab/src/suite.test.ts, serialized state: extensions/qa-lab/src/cli.runtime.test.ts, serialized state: extensions/qa-lab/src/crabline-channel-driver.test.ts, serialized state: extensions/qa-lab/src/suite.test.ts, vector/embedding metadata: extensions/qa-lab/src/crabline-channel-driver.test.ts, and 2 more. Confirm migration or upgrade compatibility proof before merge.

Root-cause cluster
Relationship: canonical
Canonical: #91506
Summary: This PR is the canonical runner-parity slice for preserving shared QA suite flags across the Multipass runner; it depends on, but is not replaced by, the broader Crabline channel-driver PR.

Members:

  • partial_overlap: feat(qa): crabline channel driver #91502 - The open base PR introduces the broader Crabline channel-driver stack that this follow-up forwards through the Multipass runner, but it does not replace the runner-parity change.

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge readiness
Overall: 🦐 gold shrimp
Proof: 🌊 off-meta tidepool
Patch quality: 🦐 gold shrimp
Result: ready for maintainer review.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Rank-up moves:

  • Declare the forwarded fields on runQaMultipass or share the plan parameter type.
  • After feat(qa): crabline channel driver #91502 is finalized, attach one redacted real Multipass run showing both forwarded flag families.
  • Rebase or otherwise resolve the dirty merge state before final review.

Risk before merge

  • [P1] The exported Multipass wrapper contract still omits the newly forwarded suite fields, so the behavior relies on runtime object spread rather than the declared runner API.
  • [P1] The PR is stacked on feat(qa): crabline channel driver #91502, which is still open and owns the broader Crabline channel-driver contract and proof boundary.
  • [P1] Live GitHub reports this PR as conflicting/dirty, so maintainers need a refreshed merge result before final review.
  • [P1] The PR body shows deterministic command-construction validation but not a real Multipass run proving VM launch, guest CLI parsing, and artifact collection with both forwarded flag families.

Maintainer options:

  1. Fix Contract And Prove Runner (recommended)
    Add the missing runQaMultipass parameter fields, resolve the stacked Crabline base, rebase cleanly, and attach one redacted Multipass run with channel-driver plus plugin enablement flags.
  2. Pause Until Base Stabilizes
    Keep this follow-up paused while feat(qa): crabline channel driver #91502 still owns the broader Crabline channel-driver and proof decisions.
  3. Accept Deterministic Proof Only
    Maintainers could intentionally accept command-construction tests as sufficient for this wrapper change, but that leaves the real isolated-runner path unproven.

Next step before merge

  • [P2] Human review is needed because this protected maintainer PR is stacked on an open dirty base and still needs a small contract fix plus live-run proof judgment.

Security
Cleared: No concrete security or supply-chain defect was found in this runner-parity diff; the broader dependency and QA workflow decisions remain part of the stacked base review.

Review findings

  • [P2] Declare forwarded suite fields on runQaMultipass — extensions/qa-lab/src/cli.runtime.ts:1217-1218
Review details

Best possible solution:

Declare the forwarded fields on the Multipass wrapper, settle #91502, rebase cleanly, then land with one redacted real Multipass proof run covering both flag families.

Do we have a high-confidence way to reproduce the issue?

Yes for the review finding: source inspection on the PR head shows the CLI forwards channelDriverSelection and enabledPluginIds into runQaMultipass, whose params type still omits both fields. No current-main bug reproduction is applicable because this is stacked feature behavior.

Is this the best way to solve the issue?

No, not yet; forwarding through the existing Multipass wrapper is the right layer, but the wrapper contract, prerequisite Crabline stack, dirty merge state, and live runner proof need to settle before this is the best fix.

Full review comments:

  • [P2] Declare forwarded suite fields on runQaMultipass — extensions/qa-lab/src/cli.runtime.ts:1217-1218
    This call now forwards channelDriverSelection and enabledPluginIds, but runQaMultipass still declares a params type without those fields. Add the fields there or share the plan parameter type so the exported runner wrapper matches the behavior this PR adds instead of relying on spread-through extras.
    Confidence: 0.9

Overall correctness: patch is incorrect
Overall confidence: 0.86

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 75b9e761b739.

Label changes

Label justifications:

  • P3: This is QA Lab runner parity work with limited direct production-user blast radius, despite merge-blocking review and proof gaps.
  • merge-risk: 🚨 automation: The diff changes generated Multipass guest commands and a QA workflow lane, and ordinary unit-level validation does not prove the real isolated-runner path.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: The external-contributor proof gate does not apply to this MEMBER maintainer-labeled PR; the body provides deterministic validation, while live Multipass proof remains a merge-risk reducer.
Evidence reviewed

PR surface:

Source +1769, Tests +929, Docs +19, Config +77, Other +2. Total +2796 across 30 files.

View PR surface stats
Area Files Added Removed Net
Source 17 1791 22 +1769
Tests 10 934 5 +929
Docs 1 24 5 +19
Config 1 77 0 +77
Generated 0 0 0 0
Other 1 4 2 +2
Total 30 2830 34 +2796

What I checked:

Likely related people:

  • shakkernerd: Path history shows the QA Multipass runner was added and hardened in the current main history by this contributor. (role: introduced Multipass runner behavior; confidence: high; commits: def2eadb1d0e, 445fe553318f, b88387e4c100; files: extensions/qa-lab/src/multipass.runtime.ts, extensions/qa-lab/src/multipass.runtime.test.ts)
  • RomneyDa: Current-main path history shows multiple recent merged QA suite/profile/evidence changes by this contributor before this PR branch. (role: recent QA suite contributor; confidence: high; commits: 561b293c7a96, e8db9c3bc0df, 4809ac70fa5a; files: extensions/qa-lab/src/cli.runtime.ts, extensions/qa-lab/src/suite.ts, taxonomy.yaml)
  • vincentkoc: Recent current-main commits touch QA CLI/runtime and plugin SDK QA surfaces adjacent to this runner path. (role: recent QA runtime contributor; confidence: medium; commits: e2b6753b8776, c32ba171db2e, ebee101d30e9; files: extensions/qa-lab/src/cli.runtime.ts, extensions/qa-lab/src/suite.ts, src/plugin-sdk/qa-runtime.ts)
  • steipete: Path history shows repeated QA suite, Multipass-adjacent helper, and SDK documentation work around the affected surface. (role: adjacent QA suite and SDK contributor; confidence: medium; commits: 58912f8fd842, 77d9ac30bb8d, fcee2683736a; files: extensions/qa-lab/src/multipass.runtime.ts, extensions/qa-lab/src/cli.runtime.ts, src/plugin-sdk/qa-runtime.ts)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

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.

How this review workflow works
  • 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.

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. labels Jun 8, 2026
@RomneyDa RomneyDa changed the title Forward shared QA suite flags through Multipass runner Preserve shared QA suite flags across runners Jun 9, 2026
@RomneyDa
RomneyDa force-pushed the codex/multipass-channel-driver-runner-parity branch from 81034a0 to cd9f2d5 Compare June 9, 2026 00:52
@RomneyDa
RomneyDa force-pushed the codex/multipass-channel-driver branch from 62862a8 to ed0f421 Compare June 9, 2026 01:01
@RomneyDa
RomneyDa force-pushed the codex/multipass-channel-driver-runner-parity branch from cd9f2d5 to d6db845 Compare June 9, 2026 01:02
@clawsweeper clawsweeper Bot added status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. and removed status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Jun 9, 2026
@RomneyDa
RomneyDa force-pushed the codex/multipass-channel-driver branch 2 times, most recently from be691b1 to 7dd88c3 Compare June 9, 2026 01:51
@RomneyDa
RomneyDa force-pushed the codex/multipass-channel-driver-runner-parity branch from d6db845 to 92f4059 Compare June 9, 2026 01:53
@RomneyDa
RomneyDa force-pushed the codex/multipass-channel-driver branch from 7dd88c3 to 82ccf53 Compare June 10, 2026 23:26
@RomneyDa
RomneyDa force-pushed the codex/multipass-channel-driver-runner-parity branch from 92f4059 to c330cce Compare June 10, 2026 23:26
@RomneyDa
RomneyDa force-pushed the codex/multipass-channel-driver branch from 82ccf53 to ad04c65 Compare June 10, 2026 23:27
@RomneyDa
RomneyDa force-pushed the codex/multipass-channel-driver-runner-parity branch from c330cce to 65255d9 Compare June 10, 2026 23:27
@clawsweeper clawsweeper Bot added 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. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Jun 10, 2026
@RomneyDa
RomneyDa force-pushed the codex/multipass-channel-driver branch from ad04c65 to 37f31af Compare June 15, 2026 00:44
@RomneyDa
RomneyDa force-pushed the codex/multipass-channel-driver-runner-parity branch from 65255d9 to ddff020 Compare June 15, 2026 00:44
@RomneyDa
RomneyDa force-pushed the codex/multipass-channel-driver-runner-parity branch 5 times, most recently from 061220b to 972435f Compare June 18, 2026 20:28
@RomneyDa
RomneyDa force-pushed the codex/multipass-channel-driver branch 18 times, most recently from 43a8c00 to a2f33de Compare June 22, 2026 21:47
Base automatically changed from codex/multipass-channel-driver to main June 22, 2026 22:25
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation size: XL and removed size: S labels Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extensions: qa-lab maintainer Maintainer-authored PR merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: S status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant