Skip to content

fix(ui): prevent oversized WebRTC SDP answers from hanging Talk setup - #119295

Merged
Patrick-Erichsen merged 11 commits into
openclaw:mainfrom
zhangguiping-xydt:fix/problem-webrtc-sdp-answer-limit
Aug 24, 2026
Merged

Patrick-Erichsen merged 11 commits into
openclaw:mainfrom
zhangguiping-xydt:fix/problem-webrtc-sdp-answer-limit

Conversation

@zhangguiping-xydt

@zhangguiping-xydt zhangguiping-xydt commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Control UI Talk buffered successful WebRTC SDP answers with an unbounded response.text() call. Stale and failed offer responses could also leave their Fetch bodies unconsumed.

Why This Change Was Made

OpenAI's two browser-session producers now declare their existing 256 KiB SDP response contract through optional offerResponseMaxBytes session metadata. The generic WebRTC exchange consumes that metadata without branching on a provider name, while providers that omit the field retain their prior response behavior.

The exchange cancels stale and non-2xx response bodies and uses a shared bounded response reader for opted-in sessions. That reader also replaces the previous custom-theme implementation, so both browser response owners share safe Content-Length, streaming overflow, cancellation, and reader-lock cleanup behavior.

User Impact

OpenAI WebRTC Talk setup no longer buffers an arbitrarily large SDP answer. Oversized, stale, and failed responses terminate cleanly with a visible setup error instead of hanging or retaining the body reader. Custom providers are unchanged unless they explicitly opt into a limit.

Evidence

  • Exact repaired head: b342d3abd74d11140c512499235e4fd48b5375f5 (tree d4bbdf2af13addd95a626fcce44277e8be4e6331).
  • Exact-head GitHub CI: successful, including all 12 Control UI E2E shards, lint, production/test types, build artifacts, and real-Gateway UI checks.
  • AWS Crabbox red proof: the two intended provider-contract regressions failed before the repair.
  • AWS Crabbox green proof: 114 focused tests passed after the repair, including Chromium HTTP-failure and oversized-answer UI scenarios.
  • ClawSweeper exact-head review: no actionable code finding; its exact-head CI rank-up move is complete.
  • Fresh autoreview was clean at the repaired head; an independent verifier found no code finding and confirmed a conflict-free current-main reconstruction.
  • Focused coverage verifies the exact 262,144-byte boundary, declared and streamed overflow, cancellation, reader-lock release after abort, stale/non-2xx cleanup, provider opt-in behavior, and reuse by custom-theme imports.

Root cause and owner boundary

RealtimeTalkWebRtcOfferExchange.readAnswer owned an unbounded generic body read, while the OpenAI-specific size policy was not represented in browser-session metadata. The repair keeps the numeric policy with the OpenAI provider and gives the generic Control UI transport one optional contract to enforce it.

Production delta is +84/-45 (net +39); tests and test support are +438/-30 (net +408). The production growth is one shared 63-line bounded reader replacing 44 lines of duplicate custom-theme logic, plus the narrow optional provider-session field and its two OpenAI producers.

Live-proof boundary

The approved root already had authenticated Chromium/OpenAI wire proof. A refreshed probe on the current-main reconstruction was attempted only against a disposable imported state copy, but no usable OAuth profile was available, so no new OpenAI call was made and operator auth was not changed. The repaired exact tree instead has fresh Crabbox provider-contract and Chromium UI proof; ClawSweeper accepted that combined evidence as sufficient.

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. labels Aug 4, 2026
@clawsweeper

clawsweeper Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 24, 2026, 7:24 PM ET / 23:24 UTC.

ClawSweeper review

What this changes

Bounds OpenAI WebRTC SDP answer reads in Control UI Talk, cancels discarded response bodies, and adds unit and browser regression coverage.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Keep open. Current main still reads WebRTC SDP answers with an unbounded response.text() call; this PR moves the OpenAI-specific limit through the provider session contract while retaining legacy behavior when no limit is declared. The remaining gate is exact-head CI and normal maintainer landing review.

Priority: P2
Reviewed head: b342d3abd74d11140c512499235e4fd48b5375f5

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Strong after-fix proof and focused owner-boundary coverage support a good patch; queued exact-head checks remain a normal landing gate.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): The supplied PR record shows after-fix authenticated Chromium/OpenAI behavior plus separate Control UI failure-path proof; redact provider credentials and response content in any future evidence.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): The supplied PR record shows after-fix authenticated Chromium/OpenAI behavior plus separate Control UI failure-path proof; redact provider credentials and response content in any future evidence.
Evidence reviewed 8 items Current-main bug remains: Current main calls response.text() for a successful WebRTC SDP response and has no response-body cancellation on stale or non-OK responses.
Changed owner boundary: The PR consumes a bounded stream only when the provider session declares offerResponseMaxBytes, while preserving response.text() for sessions that omit it.
Provider-owned limit: OpenAI browser-session creation declares the 256 KiB limit, and the sibling OpenAI call owner already bounds SDP answers to the same value.
Findings None None.
Security None None.

Live Verification

Command: node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/browser-talk-start-stop.webrtc-sdp.e2e.test.ts

Result: FAIL (failed) — step 1 run node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/browser-talk-start-stop.webrtc-sdp.e2e.test.ts: terminal command did not produce output within 20 seconds: "node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/browser-talk-start-stop.webrtc-sdp.e2e.test.ts"

node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/browser-talk-start-stop.webrtc-sdp.e2e.test.ts
runner@runnervm76f27:/tmp/clawsweeper-live-proof-119295-kWhBL3/target$ node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoad
er runner ui/src/e2e/browser-talk-start-stop.webrtc-sdp.e2e.test.ts

 RUN  v4.1.10 /tmp/clawsweeper-live-proof-119295-kWhBL3/target

node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/browser-talk-start-stop.webrtc-sdp.e2e.test.ts












































Assertions:

  • FAIL expect_output: 2 passed

How this fits together

Control UI Talk requests a browser-owned WebRTC session from the Gateway, sends an SDP offer to the provider, then applies the response to the browser peer connection. The changed path decides whether to stream a bounded answer or show a setup error before peer setup.

flowchart LR
  A[Talk user action] --> B[Gateway browser session]
  B --> C[OpenAI session metadata]
  C --> D[Browser SDP offer]
  D --> E[Bounded response handling]
  E --> F[Peer connection]
  E --> G[Visible setup error]
Loading

Before merge

  • Resolve merge risk (P1) - The additive RealtimeVoiceBrowserSession field is re-exported through the plugin SDK; omitted limits must remain backward-compatible for published provider plugins.
  • Resolve merge risk (P1) - The supplied current-head check rollup is queued, so exact-head CI and GitHub’s merge result still need completion before landing.
  • Complete next step (P2) - No repair finding remains; complete exact-head checks and normal maintainer landing review.
Agent review details

Security

None.

PR surface

Source +154, Tests +293. Total +447 across 14 files.

View PR surface stats
Area Files Added Removed Net
Source 8 199 45 +154
Tests 6 323 30 +293
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 14 522 75 +447

Review metrics

Metric Value Why it matters
Production versus test delta production +84, -45 (net +39); tests and test support +438, -30 (net +408) The production increase is a shared 63-line bounded reader replacing 44 local custom-theme reader lines and serving both UI response owners.
Realtime browser-session contract 1 optional field added Provider sessions may declare a response-byte limit; omission deliberately preserves existing behavior.

Merge-risk options

Maintainer options:

  1. Validate the optional provider contract before merge (recommended)
    Require exact-head checks to confirm sessions without the new optional limit retain the prior unbounded behavior while OpenAI sessions enforce 256 KiB.
  2. Pause the API expansion
    Pause only if maintainers do not want third-party realtime providers to opt into browser SDP response limits through this session contract.

Technical review

Best possible solution:

Land the bounded reader after exact-head checks pass, retaining the provider-declared optional limit so generic provider sessions remain unchanged.

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

Yes, from source: current main’s successful SDP path uses unbounded response.text(), while the PR’s focused tests exercise declared and streamed overflow at that owner boundary.

Is this the best way to solve the issue?

Yes. Passing a provider-declared limit keeps vendor policy in the OpenAI provider and avoids imposing an OpenAI cap on generic WebRTC sessions.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add merge-risk: 🚨 compatibility: The PR adds an optional field to the plugin-exported realtime browser-session contract.

Label justifications:

  • P2: This repairs a bounded Control UI Talk reliability defect without evidence of emergency-scale impact.
  • merge-risk: 🚨 compatibility: The PR adds an optional field to the plugin-exported realtime browser-session contract.
  • 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 (live_output): The supplied PR record shows after-fix authenticated Chromium/OpenAI behavior plus separate Control UI failure-path proof; redact provider credentials and response content in any future evidence.
  • proof: sufficient: Contributor real behavior proof is sufficient. The supplied PR record shows after-fix authenticated Chromium/OpenAI behavior plus separate Control UI failure-path proof; redact provider credentials and response content in any future evidence.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Current-main blame identifies this author for the WebRTC exchange and OpenAI browser-session source lines that the PR extends. (role: current feature owner; confidence: high; commits: 4d8bfab33ec8; files: ui/src/pages/chat/realtime-talk-webrtc-support.ts, extensions/openai/realtime-voice-provider.ts, src/talk/provider-types.ts)
  • Patrick-Erichsen: The supplied PR history records commits for bounded response-reader cleanup and the latest browser-proof capture. (role: recent area contributor; confidence: high; commits: f2901683b327, b342d3abd74d; files: ui/src/lib/response-body.ts, ui/src/e2e/browser-talk-start-stop.fixtures.ts)

Rank-up moves

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

  • Let exact-head checks complete against GitHub’s merge result.

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 (17 earlier review cycles; latest 8 shown)
  • reviewed 2026-08-15T22:56:56.946Z sha b90fa70 :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-19T06:49:16.849Z sha 2678ac7 :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-19T11:59:31.434Z sha 82a9960 :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-20T07:17:11.446Z sha b5dc843 :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-20T07:41:03.672Z sha 73ae5b6 :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-20T08:37:49.528Z sha 73ae5b6 :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-22T12:32:37.291Z sha 73ae5b6 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-22T13:12:35.436Z sha 73ae5b6 :: needs maintainer review before merge. :: none

@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: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. labels Aug 5, 2026
@Patrick-Erichsen Patrick-Erichsen self-assigned this Aug 5, 2026
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 5, 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:

@zhangguiping-xydt
zhangguiping-xydt force-pushed the fix/problem-webrtc-sdp-answer-limit branch from 1e555bb to 99691c3 Compare August 10, 2026 03:17
@zhangguiping-xydt

Copy link
Copy Markdown
Contributor Author

@Patrick-Erichsen The force-push/rebase preserved your bounded-reader commit 213118a49e8 in the PR history.

The current CI red is isolated to checks-ui-e2e (1/4): ui/src/e2e/session-management.sidebar.e2e.test.ts timed out waiting for Reconnect refreshed after a mocked Gateway reconnect. The shard finished with 38 test files passing and 1 failing (171/172 tests passing). That test is outside this PR's changed-file surface; the focused UI tests, max-lines/oxlint checks, and live Chromium WebRTC scenarios remain green. The other checks are passing and 6 are still pending.

Could you please take a look when convenient?

@zhangguiping-xydt
zhangguiping-xydt force-pushed the fix/problem-webrtc-sdp-answer-limit branch from 99691c3 to 39e3058 Compare August 13, 2026 02:38
@clawsweeper clawsweeper Bot added merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. and removed 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. labels Aug 13, 2026
@zhangguiping-xydt

Copy link
Copy Markdown
Contributor Author

@Patrick-Erichsen exact-head follow-up for 82a99604f4d66b64c5345c75acfe819db3bfb7dc:

  • check-lint, checks-ui, checks-ui-e2e-real-gateway, and the changed WebRTC SDP E2E file (2/2 scenarios in shard 8/12) passed: https://github.com/openclaw/openclaw/actions/runs/32225709931
  • 11/12 UI E2E shards passed. The only UI failure is an unrelated timeout in new-session-page.cloud-startup.e2e.test.ts:107; the other failure is the merge result's unrelated Codex Vitest ownership audit for extensions/codex/src/app-server/run-attempt-tools.test.ts.
  • The PR body now explicitly classifies the Chromium coverage as mock-only and records the remaining proof boundary.

This external-contributor/secretless path cannot run a credentialed OpenAI browser session. The remaining maintainer decision is therefore one of:

  1. run the existing credentialed OpenAI browser/WebRTC proof; or
  2. explicitly accept the repository's existing 256 KiB OpenAI realtime contract for this browser boundary.

There are no open code findings and no author-side proof that can be added honestly without provider credentials.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 19, 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 exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@zhangguiping-xydt

Copy link
Copy Markdown
Contributor Author

The prior exact-head re-review run was cancelled without publishing a verdict or updating the durable review:

https://github.com/openclaw/clawsweeper/actions/runs/32226986498

The PR head is still 82a99604f4d66b64c5345c75acfe819db3bfb7dc, and the Evidence/proof-boundary update is unchanged.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 19, 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 exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot removed the merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. label Aug 20, 2026
@zhangguiping-xydt

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 20, 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 exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@zhangguiping-xydt

Copy link
Copy Markdown
Contributor Author

@Patrick-Erichsen exact-head follow-up for 73ae5b6d85c43f213f52bb4eca45c5eeb83c9b69:

As an external contributor I cannot expose repository/OpenAI credentials to the contributor checkout. Could you either run the existing credentialed OpenAI browser/WebRTC proof on this reviewed head, or explicitly accept the existing 256 KiB OpenAI realtime contract for this browser boundary?

@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. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Aug 22, 2026
@zhangguiping-xydt

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

The PR Evidence section is now updated with credentialed, after-fix proof on the exact reviewed head 73ae5b6d85c43f213f52bb4eca45c5eeb83c9b69.

A repository-pinned real Chromium RTCPeerConnection created offers, exchanged them with OpenAI through the single-use OAuth broker, required HTTP 201 SDP answers, and successfully applied each answer with setRemoteDescription for gpt-realtime-2.1, gpt-realtime-2.1-mini, and gpt-realtime-2. The selected live test passed (1 passed, 9.47s). The exact-head Control UI Chromium regression separately proves that failed and oversized OpenAI answers are canceled and that an oversized answer never reaches setRemoteDescription.

No token, account identifier, response body, or full SDP is included. Please reassess the previous needs proof finding against the new real-provider/browser evidence.

@clawsweeper

clawsweeper Bot commented Aug 22, 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 exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added the merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. label Aug 24, 2026

@Patrick-Erichsen Patrick-Erichsen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved for landing at exact head b342d3abd74d11140c512499235e4fd48b5375f5.

The maintainer repair moves the 256 KiB SDP response policy into optional OpenAI-owned session metadata, keeps the generic WebRTC exchange provider-neutral, shares one bounded browser response reader with custom-theme imports, and cancels stale, failed, or oversized response bodies while releasing reader locks after aborts.

Proof:

  • Red Crabbox run captured the two intended provider-contract regressions.
  • Green Crabbox run passed 114 focused tests, including Chromium UI proof.
  • Exact-head CI completed successfully.
  • ClawSweeper reviewed this SHA with no actionable code finding; its exact-head CI rank-up move is complete.
  • Fresh autoreview was clean, the independent verifier found no code finding, and OPENCLAW_TESTBOX=1 scripts/pr prepare-run 119295 passed the repository-native prepare gates.

Known proof boundary: the approved root had authenticated Chromium/OpenAI wire proof. A refreshed disposable-state probe had no usable OAuth profile, so no new provider call was made and operator auth was not changed. The repaired exact tree has fresh Crabbox provider-contract and Chromium failure-path proof; ClawSweeper accepted the combined evidence.

HTTP failure remains visible and terminates before peer setup:

HTTP failure alert

Oversized SDP remains visible and terminates before setRemoteDescription:

Oversized SDP alert

@Patrick-Erichsen
Patrick-Erichsen merged commit 1edbbc9 into openclaw:main Aug 24, 2026
272 checks passed
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 25, 2026
…openclaw#119295)

* fix(ui): bound WebRTC SDP answer reads and release failed bodies

* fix(ui): scope WebRTC SDP limits to OpenAI

* fix(ui): release bounded response readers

* test(ui): split WebRTC SDP browser coverage

* fix(ui): reject unsafe declared response lengths

* test(ui): reuse pending WebRTC SDP response fixture

* test(ui): use native response for pending SDP body

* style(ui): align pending SDP fixture formatting

* test(ui): capture WebRTC SDP alert proof

---------

Co-authored-by: Patrick Erichsen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui extensions: openai merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. 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.

2 participants