Skip to content

fix(qa): generate runnable scenario coverage commands - #129340

Merged
steipete merged 1 commit into
mainfrom
codex/qa-coverage-runnable-commands-20260825
Aug 25, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/qa-coverage-runnable-commands-20260825

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

QA coverage search prints commands that cannot execute 65 mock-provider-only scenarios, hides scenarios that declare multiple channels, and misreports provider requirements declared outside the deprecated config shape.

Why This Change Was Made

The coverage owner ignored plural execution channels, bypassed the existing canonical provider-mode resolver, grouped incompatible provider modes together, and omitted required nondefault provider flags. It now reuses the authoritative resolver, discovers and chooses real declared channels, groups compatible scenarios, and prints executable mode flags. Removing obsolete one-use wrappers reduces production code.

User Impact

All current mock-only scenarios print the required --provider-mode mock-openai; Buzz, Telegram, Matrix, and other declared multi-channel scenarios are discoverable; generated commands select the requested supported channel and correctly show provider requirements.

Evidence

  • Nine real owner/catalog regressions failed before repair; all existing baselines remained green.
  • node scripts/run-vitest.mjs extensions/qa-lab/src/coverage-report.test.ts extensions/qa-lab/src/scenario-catalog.test.ts extensions/qa-lab/src/suite-planning.test.ts passed all 156 tests; six additional CLI coverage tests passed.
  • Exhaustive validation against all 533 current scenarios confirmed all 65 mock-only commands carry the required provider mode, all provider metadata matches the canonical resolver, and all declared channels are searchable.
  • Focused type-aware lint, formatting, and fresh independent structured review passed.
  • Production delta: +62/-67 lines, net -5.
  • Follow-up outside this repair: two existing Telegram scenarios require a distinct crabline driver; provider/model/auth-specific execution summaries need a separate coherent command contract.

@clawsweeper

clawsweeper Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@steipete
steipete marked this pull request as ready for review August 25, 2026 13:16
@steipete
steipete merged commit 03a7e5b into main Aug 25, 2026
184 checks passed
@steipete
steipete deleted the codex/qa-coverage-runnable-commands-20260825 branch August 25, 2026 13:37
@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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant