Repository navigation
fix(qa): enable OpenAI for stored audio scenario - #119349
Conversation
|
Land-ready proof for
The change is +3/-0 across two private-QA files and has no shipped runtime, protocol, config, provider-loader, or security effect. No proof gap remains. |
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Codex review: needs maintainer review before merge. Reviewed August 4, 2026, 6:03 PM ET / 22:03 UTC. ClawSweeper reviewWhat this changesAdds the OpenAI plugin declaration and a catalog assertion so the stored-audio QA scenario starts its transcription provider. Merge readinessKeep this necessary QA repair open: current main still omits the explicit OpenAI plugin declaration, while the patch uses the established scenario activation seam and has sufficient exact-head behavior proof. The protected Priority: P2 Review scores
Verification
How this fits togetherQA Lab reads scenario YAML, selects its declared plugins, and starts an isolated Gateway for the selected channel flow. The Gateway then processes stored inbound audio and emits the scenario’s expected QA-channel marker reply. flowchart LR
A[Scenario YAML] --> B[QA suite planner]
B --> C[Declared plugin list]
C --> D[Isolated Gateway]
D --> E[OpenAI transcription]
E --> F[QA Channel marker reply]
Decision needed
Why: The patch is narrow and evidence-backed, but the protected Before merge
Agent review detailsSecurityNone. PR surfaceTests +1, Other +2. Total +3 across 2 files. View PR surface stats
Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Keep OpenAI declared by this scenario and retain the catalog contract so its stored-audio transcription flow always activates its provider before processing media. Do we have a high-confidence way to reproduce the issue? Yes—high-confidence source reproduction is available: the linked scenario selects no OpenAI plugin despite configuring an OpenAI audio model, and the supplied single-scenario run records the resulting provider-unavailable failure. Is this the best way to solve the issue? Yes—the explicit scenario declaration is the narrowest maintainable fix because the existing planner already carries declared plugins into Gateway activation; model-string inference would bypass that ownership boundary. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 9bfe292c8686. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
ClawSweeper status: review started. I am starting a fresh review of this pull request: fix(qa): enable OpenAI for stored audio scenario This is item 1/1 in the current shard. Shard 0/1. This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking. Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted. |
|
Merged via squash.
|
Punchcard-Session: crisp-lantern-orchard-nv * origin/main: perf(memory): defer session backfill runtime (#119372) fix(ci): isolate built TUI PTY fixture (#119339) fix(commands): restore tool inventory for dynamic models (#119306) fix(media): release rejected BytePlus and Runway video downloads under debug capture (#119257) docs: add ChromeOS (Crostini) platform install guide (#107663) test(msteams): serve JWKS from in-process server in auth coverage (#119354) fix(qa): enable OpenAI for stored audio scenario (#119349) test(agents): realpath apply-patch temp dir fixture (#119353) test(slack): drop redundant .js-suffixed system-event mock (#119352) fix(exec): leave safe builtins unrewritten in enforced mode (#119351) fix(sessions): keep gateway responsive while large transcript archives are built (#112424) fix(tui): restore provider auth in installed local mode (#119283)
…time * origin/main: (75 commits) fix(commands): restore tool inventory for dynamic models (#119306) fix(media): release rejected BytePlus and Runway video downloads under debug capture (#119257) docs: add ChromeOS (Crostini) platform install guide (#107663) test(msteams): serve JWKS from in-process server in auth coverage (#119354) fix(qa): enable OpenAI for stored audio scenario (#119349) test(agents): realpath apply-patch temp dir fixture (#119353) test(slack): drop redundant .js-suffixed system-event mock (#119352) fix(exec): leave safe builtins unrewritten in enforced mode (#119351) fix(sessions): keep gateway responsive while large transcript archives are built (#112424) fix(tui): restore provider auth in installed local mode (#119283) fix(release): accept legacy empty core artifacts (#119337) fix(qa): carry selected runtime into flow scenarios (#119324) fix(ci): retry interrupted Windows dashboard release checks (#119095) fix(release): filter validation ancestry fetch (#119334) fix(release): accept trusted extended-stable validation evidence (#119264) fix(sessions): preserve recorder-owned user turns (#119307) perf(cli): split plugin registry startup timing (#119318) fix(qa): align release scenario setup and compaction proof (#119188) fix(ci): avoid duplicate Matrix release QA runs (#119171) perf(agents): reuse provider policy manifest registry (#119305) ...
Closes #119348
What Problem This Solves
The inbound media-store audio QA scenario configured an OpenAI transcription model without declaring the OpenAI plugin. Its Gateway loaded
acpx,memory-core, andqa-channel, then media understanding reported that the OpenAI transcription provider was unavailable. No marker reply could arrive, so the scenario failed only after 60 seconds.Root Cause
QA scenarios own the optional bundled plugins required by their config through
scenario.plugins. This scenario patchedtools.media.modelsdownstream but omitted the provider owner upstream. Provider/model strings in a scenario config patch do not activate plugins; that would bypass the explicit scenario ownership seam.What Changed
openaiininbound-media-store-audio-transcription's plugin list.No provider loader, fallback, timeout, Gateway, media-store, transcription, protocol, config schema, or shipped product behavior changes.
Evidence
Exact head:
35ef01be3c0574.f15120c6d19b14e18a571fad52b3a08d32cf3666: serial scenario timed out after 60 seconds; preserved Gateway logs showed only three loaded plugins andAudio transcription provider "openai" not available.WHATSAPP_QA_AUDIO_TRANSCRIPT_OKreply and one marker reply.tbx_01kz795bkq12n3pw50qrc89b19, https://github.com/openclaw/openclaw/actions/runs/30950349489: the real QA Lab + mock provider + Gateway + qa-channel scenario passed.tbx_01kz79fencyr7afnpqqdfes2fq, https://github.com/openclaw/openclaw/actions/runs/30950768927: all projects typechecked; core/extensions/scripts linted clean; formatting, dependency, plugin boundary, storage, media, dead-export, and import-cycle guards passed.src/fleet/service.runtime.test.tsreservation race after 4,191 neighboring tests passed; the exact failed shard passed its single rerun.Repair Doctrine Summary
scenario.plugins, matching the existing Matrix transcription scenario.Changelog not required: internal QA correctness only.
AI-assisted: yes.