Repository navigation
fix(talk): align relay readiness with call admission - #142294
roboclaw-bot wants to merge 2 commits into
Conversation
Use the existing relay launch validator when reporting readiness. Keep client-owned WebRTC and provider-WebSocket calls provider-directed without rewriting saved transport choices. Worked on by: - @IWhatsskill Co-authored-by: IWhatsskill <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed September 9, 2026, 11:15 AM ET / 15:15 UTC (Revision 7). ClawSweeper reviewWhat this changesTalk’s readiness catalog now checks the existing relay launch rules, with documentation and tests preserving client-owned calls and automatic relay recovery. Merge readiness✅ Ready for maintainer review This remains a useful, narrowly scoped fix: current main still reports relay readiness without checking launch eligibility. No actionable defect was found in the introduced changes. Priority: P2 Review scores
Verification
How this fits togetherTalk connects OpenClaw voice clients to realtime providers. Its Gateway catalog translates saved configuration and provider capabilities into readiness information that clients display before starting calls. flowchart TD
A[Saved Talk configuration] --> B[Resolve provider and transport]
B --> C{Gateway relay?}
C -->|Yes| D[Existing relay launch validator]
C -->|No| E[Client route readiness]
D --> F[Catalog readiness result]
E --> F
F --> G[Voice client settings]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource +18, Tests +200, Docs +10. Total +228 across 4 files. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep readiness and relay admission on the same provider-owned validator while preserving saved transport choices and client-owned behavior. Do we have a high-confidence way to reproduce the issue? Yes, from source: a configured relay can pass provider resolution while its forced-consult launch validator rejects it; current main omits that second check in the catalog. Runtime reproduction was not executed. Is this the best way to solve the issue? Yes. Reusing the existing admission validator prevents policy drift, and the relay-only condition preserves the supported client-owned paths. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 5623bf28ac36. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (6 earlier review cycles)
|
cea8f29 to
463e62a
Compare
Integrate the reviewed owner-scoped repairs and updated stack prerequisite. Retain the validated R layer source with only the inherited legacy agent-binding fix. Preserve the historical secondary parent and the validated layer source while restacking its prerequisite. Co-authored-by: IWhatsskill <[email protected]> Worked on by: - @IWhatsskill
463e62a to
3b3cf08
Compare
|
Closing this PR in favor of a planned rebuild on current main. |
Related: #138726
What Problem This Solves
Fixes an issue where a configured relay could appear ready even though its forced-consult launch would be rejected.
Why This Change Was Made
Use the existing relay launch validator when reporting relay readiness. Do not apply relay-only constraints to client-owned WebRTC or provider-WebSocket calls.
User Impact
Unsupported relay configurations are visible before allocation. Client-owned calls retain provider-directed behavior and the existing Auto recovery rules; saved transport or credential choices are not rewritten, and forced consultation is not falsely promised for WebRTC.
Evidence
Core/UI typechecks, all 16 selected test-type graphs, and the full
pnpm buildalso passed at combined-prefix commit91bd0ba8e212a03de46f3bd4627a168293c7390d. These validate the five-layer prefix, not separate builds of each preceding layer.Validation source tree: commit
cea8f293d7d4f2b193fed7a7e6200c77c001ca81. The local evidence above has its stated scope.Worked on by: