Repository navigation
refactor(qa): remove live-channel scenario registries and wrappers - #115752
Conversation
2ac1170 to
1396b07
Compare
899ae3e to
c4730e6
Compare
|
Codex review: needs maintainer review before merge. Reviewed July 30, 2026, 1:43 AM ET / 05:43 UTC. ClawSweeper reviewWhat this changesThe PR replaces per-scenario Slack, Discord, and WhatsApp QA wrappers and registries with YAML-selected implementation exports executed through shared channel runners. Merge readinessThis is a maintainer-owned QA Lab refactor with a coherent shared-runner design, focused parity coverage, and no concrete patch defect identified from the supplied current-head evidence. Keep it open for normal maintainer review and completion of the remaining current-head checks. Priority: P3 Review scores
Verification
How this fits togetherQA Lab reads YAML scenario definitions, prepares a channel-specific test environment, and invokes scenario code to exercise live channel behavior. This refactor changes how scenario metadata and implementation objects flow from YAML through the shared runner into Slack, Discord, and WhatsApp executions. flowchart LR
A[QA scenario YAML] --> B[Scenario module flow]
B --> C[Shared suite runner]
C --> D[Channel environment]
D --> E[Shared channel runner]
E --> F[Scenario implementation]
F --> G[QA evidence and result]
Before merge
Agent review detailsSecurityNone. Review metricsNone. Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain one validated YAML-to-module-export path with all-scenario parity coverage, then merge after the remaining current-head QA Smoke and lint checks complete successfully. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR refactors QA Lab execution and does not report a standalone user-facing bug. The supplied evidence instead covers the affected scenario preparation and runner paths. Is this the best way to solve the issue? Yes, based on the supplied diff: resolving a named implementation from the already loaded scenario module removes duplicated scenario identity while retaining YAML as the source of routing metadata. The all-YAML parity check is the appropriate guard against a missing export or mismatched runner binding. AGENTS.md: unclear because the file could not be read completely. Codex review notes: model internal, reasoning high; reviewed against 353c05d54745. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
c4730e6 to
a8a1337
Compare
…penclaw#115752) * refactor(qa): remove duplicate channel scenario registries * refactor(qa): route live scenarios through shared runners * fix(qa): isolate WhatsApp driver retries * refactor(qa): add module export flow arguments * test(qa): include scenario metadata in matrix fixture
* origin/main: (24 commits) fix(e2e): apply default service identity per flow (openclaw#116265) chore(android): record 2026.7.4 Play metadata fix(ci): accept one verified Telegram SUT launch (openclaw#116267) chore(android): prepare 2026.7.4 Play release fix(e2e): align service account state (openclaw#116254) refactor(qa): remove live-channel scenario registries and wrappers (openclaw#115752) fix(ci): let trusted Telegram QA stage runtime (openclaw#116252) fix(plugins): plugin install survives pnpm-only overrides (openclaw#116245) test(qa): recognize internal image completions (openclaw#116234) fix(test): review Codex runtime scan chunks (openclaw#116212) fix(systemd): clear start-limit latch before gateway start (openclaw#116178) fix(security): expose every executable call in plugin scans (openclaw#116222) chore(sdk): repin the API baseline after the resolver signature change test(e2e): delay the draft-proof final answer past the start gate fix(channels): resolve tool progress against the caller's stream mode fix(ci): satisfy docs formatting, lint, and the SDK API baseline test(e2e): add a progress-draft scenario to the mock provider docs(telegram): call out the changed default preview on upgrade refactor(channels): render the progress label as a block, not a line fix(channels): show tool lines under the progress status headline ...
What Problem This Solves
Live Slack, Discord, and WhatsApp QA scenarios duplicated canonical YAML identity in channel-owned TypeScript registries and
execution.config.*ScenarioIdfields. They also required one exported runtime wrapper for every scenario, making YAML routing depend on 62 redundant functions.Why This Change Was Made
execution.channel/execution.channelsas the source of channel eligibility.runSlackScenario,runDiscordScenario, orrunWhatsAppScenario.{ moduleExport: exportName }flow argument so YAML can reference an implementation exported by its already-loaded scenario module without embedding dynamic-import expressions.main's exact Slack account/channelreplacePathsbehavior after rebasing.User Impact
Portable channel flows no longer need channel-private scenario IDs or runtime wrapper exports. YAML remains the source of scenario identity, eligibility, title, timeout, runtime, and plugins. Each flow names a channel-owned implementation export using a concise, validated argument, and the shared channel runner executes that behavior.
Evidence
moduleExportparser, all-YAML parity, and flow-runner proof: 21/21 tests passed: https://github.com/openclaw/openclaw/actions/runs/30516703995git diff --checkpassed.AI-assisted: yes. Agent transcript omitted unless requested.