Skip to content

chore(qa): add live realtime Talk smoke evidence - #117602

Merged
vincentkoc merged 5 commits into
mainfrom
chore/qa-realtime-talk-live-evidence-20260801
Aug 1, 2026
Merged

vincentkoc merged 5 commits into
mainfrom
chore/qa-realtime-talk-live-evidence-20260801

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Aug 1, 2026 •

Copy link
Copy Markdown
Member

Related: #116201

What Problem This Solves

The canonical realtime Talk smoke exercises OpenAI's backend bridge, audio roundtrip, and browser WebRTC path, but QA Lab could not run it as a discoverable scenario or retain bounded evidence. Maintainers had to run the smoke manually, and its result was not represented consistently in QA reports.

Why This Change Was Made

This adds a thin QA evidence adapter around the existing realtime Talk smoke and registers one live-frontier scenario. Missing credentials or harness prerequisites remain blocked, while any observed smoke-leg failure remains terminal. The adapter stores only normalized status, byte counts, audio format metadata, and a status digest; it does not retain transcripts, raw audio, provider payloads, or credentials.

This does not change provider behavior, the realtime client, configuration, environment-variable surface, or the canonical smoke implementation.

User Impact

Maintainers can run the existing OpenAI realtime Talk proof through QA Lab and receive an explicit pass, fail, or blocked outcome with redacted evidence suitable for review.

Evidence

  • Signed current-main package: b1ac2327645538962fc150f5285804844dfe8640
    • parent 1: exact QA head 3faf984b7a2c952f743591df4a60e4823acf813e
    • parent 2: origin/main at 81e392b7ff43bcdb7a3be50a99adf65c3b0141b5
  • The QA patch is byte-identical before and after the current-main merge: SHA-256 2721a47da79ff7fbce92c96986dec546040d9afd5ccda18f8993cba397557604.
  • Current-main changed none of the three QA paths; the PR diff remains exactly those three added files.
  • node scripts/run-vitest.mjs test/e2e/qa-lab/media/realtime-talk-live.test.ts: 10 passed.
  • node scripts/run-vitest.mjs extensions/qa-lab/src/scenario-catalog.test.ts: 47 passed.
  • node scripts/run-vitest.mjs extensions/qa-lab/src/scenario-catalog.openai-live.test.ts: 3 passed.
  • Targeted oxfmt, type-aware oxlint, and git diff --check: passed.
  • Autoreview: clean on the byte-identical QA patch after preserving explicit smoke-failure precedence over blocked harness evidence.
  • Fresh live Testbox proof: https://github.com/openclaw/openclaw/actions/runs/30715130382
    • Testbox lease: tbx_01kyzd7kzyf5efrjx2q6z7pada
    • verified remote base: 7c9794b5c65c9e28d6ae359f8924c86d82ab4abd
    • verified SHA-256 identity for all three QA-added files before execution
    • openai-backend-bridge=ok
    • openai-backend-audio-roundtrip=ok
    • openai-webrtc-browser=ok
    • normalized evidence digest: 39f7422b0dcb5d85223b2a3ac4db16a36afa893e2c2f631e87abc0a581f1b510

A fresh live run was required because #117028 changed the OpenAI realtime provider and bridge, while #117573 changed Talk UI runtime files exercised by the broader flow.

No changelog entry: QA/test-only operational evidence, with no product or runtime behavior change.

ClawSweeper Disposition

  • Completed ordinary QA-area maintainer review; the adapter is intentionally thin and reuses the canonical realtime Talk smoke.
  • Confirmed exact-current-main proof: 60 focused assertions, bounded evidence, and privacy checks pass.
  • Accepted the linked live OpenAI backend/audio/WebRTC run as the real-behavior artifact; no runtime behavior or public surface changes.

* origin/main: (28 commits)
  refactor(ui): consolidate cron form control rendering (#117576)
  fix(memory): recover restored session freshness (#117548)
  fix(whatsapp): normalize future-proof QA poll and video note ingress (#117579)
  fix(perf): separate warm and first-device health probes (#117525)
  fix(ci): repair plugin prerelease validation (#117562)
  fix(tasks): sanitize every human task and flow detail (#117568)
  fix(feishu): cancel unread streaming-card error bodies before release (#117312)
  fix(status): honor explicit local RPC fallback timeouts (#117519)
  fix(ui): preserve Talk transcript surrogate bounds
  fix(tasks): validate notification policy before persistence (#117554)
  refactor: consolidate full release child workflows (#117385)
  refactor(policy): centralize doctor health-check descriptors (#117578)
  perf(gateway): mark recovery before model preparation (#117544)
  fix(ui): harden Talk transcript marker bounds
  test(openai): parse realtime websocket frames safely
  fix(openai): keep embedding identity stable across upgrades (#117557)
  fix(googlechat): drop invalid thread resource names before send (#108324)
  fix(skills): preserve profile in ClawHub command hints (#117555)
  fix(cli): explain filtered plugin policy without unsafe recovery (#117556)
  fix(irc): strip markdown from outbound text (#112961)
  ...
@vincentkoc vincentkoc self-assigned this Aug 1, 2026
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. 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. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. labels Aug 1, 2026
@clawsweeper

clawsweeper Bot commented Aug 1, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 1, 2026, 4:36 PM ET / 20:36 UTC.

ClawSweeper review

What this changes

Adds a QA Lab scenario and producer that run the existing OpenAI realtime Talk smoke and record bounded, redacted pass, fail, or blocked evidence.

Merge readiness

⚠️ Ready for maintainer review - 1 item remains

Keep this PR open for ordinary maintainer review. Current main does not contain the new scenario or producer, the branch cleanly adds the missing QA adapter, the adapter preserves the QA Lab failure/blocked contract, and the supplied exact-head checks plus live Testbox artifact provide real behavior proof. The maintainer label and MEMBER authorship require human handling rather than automated cleanup.

Priority: P3
Reviewed head: 001666791cbd404c22ab87bcd991478002877733

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) This is a focused QA adapter with strong live proof, complete checks, and no identified correctness or security finding.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (linked_artifact): The PR body links an after-fix Testbox run showing successful OpenAI backend bridge, PCM audio roundtrip, and browser WebRTC legs with normalized redacted evidence.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (linked_artifact): The PR body links an after-fix Testbox run showing successful OpenAI backend bridge, PCM audio roundtrip, and browser WebRTC legs with normalized redacted evidence.
Evidence reviewed 6 items Current main still lacks the requested QA surface: The current-main comparison shows all three proposed paths as additions, and direct tree checks confirm that the scenario and producer are absent from current main.
Adapter uses the canonical smoke and preserves terminal failures: The producer invokes the existing smoke with OpenAI-only, one-cycle arguments; it reports pass only when all expected legs succeed, gives observed smoke failures precedence over blocked harness signals, and records only status/byte metadata plus a digest.
Canonical smoke contract matches the parser: The canonical smoke reads the same OpenAI model and voice environment values and emits named ok or failed result lines, matching the adapter’s three-leg parser without duplicating realtime execution.
Findings None None.
Security None None.

How this fits together

QA Lab discovers scenario YAML and runs its configured producer scripts. This producer delegates to the canonical realtime Talk smoke, converts its three expected leg results into normalized evidence, and returns that evidence to QA reporting.

flowchart LR
  Scenario[QA scenario YAML] --> Catalog[QA Lab catalog]
  Catalog --> Producer[Talk evidence producer]
  Producer --> Smoke[Canonical realtime Talk smoke]
  Smoke --> Parser[Three-leg status parser]
  Parser --> Evidence[Bounded QA evidence]
  Evidence --> Reports[QA results and artifacts]
Loading

Before merge

  • Resolve merge risk (P1) - GitHub reports the branch as cleanly mergeable but behind main; approval should rely on the current three-way merge result and completed required checks rather than assuming a base refresh is behavior-neutral.
Agent review details

Security

None.

PR surface

Tests +603, Other +40. Total +643 across 3 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 2 603 0 +603
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 40 0 +40
Total 3 643 0 +643

Review metrics

None.

Stored data model

Persistent data-model change detected: vector/embedding metadata: qa/scenarios/media/realtime-talk-live.yaml. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Keep the canonical realtime smoke as the execution owner and land this thin QA Lab adapter after ordinary maintainer review of the current clean merge result.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Keep the canonical realtime smoke as the execution owner and land this thin QA Lab adapter after ordinary maintainer review of the current clean merge result.

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

Not applicable: this PR makes an existing live smoke discoverable through QA Lab instead of repairing a reported user-facing failure.

Is this the best way to solve the issue?

Yes. The branch delegates to the canonical smoke and shared evidence writer rather than creating a competing realtime implementation or raw-output artifact path.

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P3: The PR adds operational QA evidence only and does not change production runtime behavior, configuration, provider routing, or public APIs.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (linked_artifact): The PR body links an after-fix Testbox run showing successful OpenAI backend bridge, PCM audio roundtrip, and browser WebRTC legs with normalized redacted evidence.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body links an after-fix Testbox run showing successful OpenAI backend bridge, PCM audio roundtrip, and browser WebRTC legs with normalized redacted evidence.

Evidence

What I checked:

  • Current main still lacks the requested QA surface: The current-main comparison shows all three proposed paths as additions, and direct tree checks confirm that the scenario and producer are absent from current main. (qa/scenarios/media/realtime-talk-live.yaml:1, fb3d473a73b0)
  • Adapter uses the canonical smoke and preserves terminal failures: The producer invokes the existing smoke with OpenAI-only, one-cycle arguments; it reports pass only when all expected legs succeed, gives observed smoke failures precedence over blocked harness signals, and records only status/byte metadata plus a digest. (test/e2e/qa-lab/media/realtime-talk-live.ts:271, 001666791cbd)
  • Canonical smoke contract matches the parser: The canonical smoke reads the same OpenAI model and voice environment values and emits named ok or failed result lines, matching the adapter’s three-leg parser without duplicating realtime execution. (scripts/dev/realtime-talk-live-smoke.ts:13, 142ad75c4336)
  • QA Lab honors the producer’s failure and blocked semantics: The scenario runner treats failed evidence as terminal, permits blocked evidence only with explicit opt-in, and still rejects a run where every producer check was blocked. (extensions/qa-lab/src/test-file-scenario-runner.ts:388, fb3d473a73b0)
  • History identifies the owning QA and smoke boundaries: The canonical smoke and shared bounded evidence writer were introduced together by commit 142ad75c433692d8ffaf80585d6bb66a553c9cd2; the PR head is Vincent Koc’s 001666791cbd404c22ab87bcd991478002877733 follow-up that narrows captured output. (test/e2e/qa-lab/runtime/script-evidence.ts:1, 001666791cbd)
  • Validation and live proof: The supplied PR context reports completed required checks, focused producer/catalog tests, and a linked Testbox live run that passed the OpenAI backend bridge, audio roundtrip, and browser WebRTC legs with a normalized digest. (001666791cbd)

Likely related people:

  • steipete: Git history and blame attribute the canonical realtime Talk smoke and shared bounded script-evidence writer to Peter Steinberger, whose GitHub identity is steipete in related merged OpenAI work. (role: introduced canonical smoke and QA evidence boundary; confidence: high; commits: 142ad75c4336; files: scripts/dev/realtime-talk-live-smoke.ts, test/e2e/qa-lab/runtime/script-evidence.ts)
  • vincentkoc: Authored this QA adapter and the recent merged Talk lifecycle repair, with several recent historical touches around the realtime smoke path. (role: recent realtime Talk and QA contributor; confidence: high; commits: 001666791cbd, b71c9b69b1dc; files: test/e2e/qa-lab/media/realtime-talk-live.ts, ui/src/pages/chat/realtime-talk-webrtc.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Have a relevant reviewer approve the clean merge result; do not rely on the older base alone.

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.

History

Review history (3 earlier review cycles)
  • reviewed 2026-08-01T19:49:25.706Z sha 715677f :: needs maintainer review before merge. :: none
  • reviewed 2026-08-01T20:06:37.763Z sha b1ac232 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-01T20:21:54.828Z sha 0016667 :: needs maintainer review before merge. :: none

* commit '81e392b7ff43bcdb7a3be50a99adf65c3b0141b5':
  fix(channels): preserve filters in offline status diagnostics (#117570)
  perf(gateway): separate startup maintenance timing (#117577)
  refactor(tests): deduplicate database-first guard fixtures (#117594)
  fix(cli): align sessions cleanup label summary by visible width (#117459)
  perf(gateway): skip empty session reconciliation (#117589)
@vincentkoc
vincentkoc marked this pull request as ready for review August 1, 2026 20:01
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 1, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@vincentkoc
vincentkoc merged commit c4a9f59 into main Aug 1, 2026
94 checks passed
@vincentkoc
vincentkoc deleted the chore/qa-realtime-talk-live-evidence-20260801 branch August 1, 2026 20:56
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged without squash via signed two-parent commit c4a9f59798d21a2a53eee9a5b92c5728c0c347ba.

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 P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: L 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