Repository navigation
fix(qa-lab): support group conversations and scoped thread navigation - #116803
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed July 31, 2026, 7:44 AM ET / 11:44 UTC. ClawSweeper reviewWhat this changesThis PR adds group conversations to the private QA Lab debugger and prevents a selected channel thread from being reused after the composer switches to another conversation target. Merge readiness⛔ Blocked until real behavior proof from a real setup is added - 4 items remain Keep this PR open for human review. The supplied evidence describes a focused QA Lab fix with promising browser-path coverage, but the required source and policy inspection could not complete because the read-only terminal failed before repository content could be read; the Priority: P2 Review scores
Verification
How this fits togetherQA Lab is OpenClaw’s private test and debugger surface: it renders conversation snapshots into a browser sidebar and timeline, then sends simulated inbound messages through the QA-channel flow. Conversation, account, kind, and thread identity must stay aligned from selection through rendering and submission. flowchart LR
Snapshot[QA conversation snapshot] --> Sidebar[Debugger sidebar]
Sidebar --> Composer[Chat composer]
Composer --> Inbound[Inbound message request]
Threads[Owned thread records] --> Timeline[Root or thread timeline]
Timeline --> Sidebar
Decision needed
Why: The PR is labeled Before merge
Agent review detailsSecurityNone. PR surfaceSource +25, Tests +229. Total +254 across 5 files. View PR surface stats
Review metricsNone. Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Verify the full QA Lab conversation-identity path on the PR head, including cross-account and group transitions, then land only if root timelines retain unowned external threads while excluding owned navigable thread replies and outbound requests cannot carry a stale thread id. Do we have a high-confidence way to reproduce the issue? Unclear: the PR gives a concrete browser interaction path and focused test names, but the current implementation and test bodies could not be inspected after the read-only terminal failure. Is this the best way to solve the issue? Unclear: the proposed guard against carrying a thread id into a changed composer target appears narrow, but the current QA Lab owner path and sibling identity helpers could not be compared. AGENTS.md: unclear because the file could not be read completely. Codex review notes: model internal, reasoning high; reviewed against d865c9b8f567. 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
|
|
Merged via squash.
|
* commit 'd8f229f2e6c39e2dc694730c2efc479e4fb3871e': (59 commits) fix(setup): isolate failed channel probes and report doctor diagnostics (openclaw#116824) fix(telegram): preserve edit previews, message cache, and group history (openclaw#116818) fix(whatsapp): preserve interactive replies and normalize media MIME (openclaw#116816) fix(file-transfer): keep fetched media attachable in sandboxed replies (openclaw#116400) fix(browser): preserve doctor JSON failure status (openclaw#116811) fix(ollama): stream native tool call lifecycle (openclaw#116809) fix(matrix): preserve message-tool room thread routing (openclaw#116802) fix(ui): restore mobile navigation and accessible usage filters (openclaw#116751) fix(ui): coalesce profile identity refresh (openclaw#116764) fix(ui): preserve chat attachments and run ownership (openclaw#116752) fix(plugins): clean up partial service startup once (openclaw#116804) fix(qa-channel): enforce message and thread lifecycle ownership (openclaw#116801) fix(qa-lab): support groups and isolate thread timelines (openclaw#116803) feat(plugins): externalize Voyage embeddings (openclaw#116785) fix(outbound): strip echoed inbound metadata before delivery (openclaw#50520) fix(anthropic-vertex): correct multi-region endpoints (openclaw#116757) fix(ui): scope agent cron jobs and surface model catalog failures (openclaw#116771) fix(ui): preserve scoped session state across updates (openclaw#116772) fix(build): fail closed on symlinked build output roots (openclaw#116705) fix(commands): validate native settings and preserve Telegram ingress outcomes (openclaw#116773) ...
* origin/main: (52 commits) fix(setup): isolate failed channel probes and report doctor diagnostics (openclaw#116824) fix(telegram): preserve edit previews, message cache, and group history (openclaw#116818) fix(whatsapp): preserve interactive replies and normalize media MIME (openclaw#116816) fix(file-transfer): keep fetched media attachable in sandboxed replies (openclaw#116400) fix(browser): preserve doctor JSON failure status (openclaw#116811) fix(ollama): stream native tool call lifecycle (openclaw#116809) fix(matrix): preserve message-tool room thread routing (openclaw#116802) fix(ui): restore mobile navigation and accessible usage filters (openclaw#116751) fix(ui): coalesce profile identity refresh (openclaw#116764) fix(ui): preserve chat attachments and run ownership (openclaw#116752) fix(plugins): clean up partial service startup once (openclaw#116804) fix(qa-channel): enforce message and thread lifecycle ownership (openclaw#116801) fix(qa-lab): support groups and isolate thread timelines (openclaw#116803) feat(plugins): externalize Voyage embeddings (openclaw#116785) fix(outbound): strip echoed inbound metadata before delivery (openclaw#50520) fix(anthropic-vertex): correct multi-region endpoints (openclaw#116757) fix(ui): scope agent cron jobs and surface model catalog failures (openclaw#116771) fix(ui): preserve scoped session state across updates (openclaw#116772) fix(build): fail closed on symlinked build output roots (openclaw#116705) fix(commands): validate native settings and preserve Telegram ingress outcomes (openclaw#116773) ...
* commit 'd8f229f2e6c39e2dc694730c2efc479e4fb3871e': (60 commits) fix(setup): isolate failed channel probes and report doctor diagnostics (openclaw#116824) fix(telegram): preserve edit previews, message cache, and group history (openclaw#116818) fix(whatsapp): preserve interactive replies and normalize media MIME (openclaw#116816) fix(file-transfer): keep fetched media attachable in sandboxed replies (openclaw#116400) fix(browser): preserve doctor JSON failure status (openclaw#116811) fix(ollama): stream native tool call lifecycle (openclaw#116809) fix(matrix): preserve message-tool room thread routing (openclaw#116802) fix(ui): restore mobile navigation and accessible usage filters (openclaw#116751) fix(ui): coalesce profile identity refresh (openclaw#116764) fix(ui): preserve chat attachments and run ownership (openclaw#116752) fix(plugins): clean up partial service startup once (openclaw#116804) fix(qa-channel): enforce message and thread lifecycle ownership (openclaw#116801) fix(qa-lab): support groups and isolate thread timelines (openclaw#116803) feat(plugins): externalize Voyage embeddings (openclaw#116785) fix(outbound): strip echoed inbound metadata before delivery (openclaw#50520) fix(anthropic-vertex): correct multi-region endpoints (openclaw#116757) fix(ui): scope agent cron jobs and surface model catalog failures (openclaw#116771) fix(ui): preserve scoped session state across updates (openclaw#116772) fix(build): fail closed on symlinked build output roots (openclaw#116705) fix(commands): validate native settings and preserve Telegram ingress outcomes (openclaw#116773) ...
…6803) Co-authored-by: Peter Steinberger <[email protected]>
* commit '4e7fffdb98ce4d3e6fd69859bedd584cf474ec53': (59 commits) fix(setup): isolate failed channel probes and report doctor diagnostics (openclaw#116824) fix(telegram): preserve edit previews, message cache, and group history (openclaw#116818) fix(whatsapp): preserve interactive replies and normalize media MIME (openclaw#116816) fix(file-transfer): keep fetched media attachable in sandboxed replies (openclaw#116400) fix(browser): preserve doctor JSON failure status (openclaw#116811) fix(ollama): stream native tool call lifecycle (openclaw#116809) fix(matrix): preserve message-tool room thread routing (openclaw#116802) fix(ui): restore mobile navigation and accessible usage filters (openclaw#116751) fix(ui): coalesce profile identity refresh (openclaw#116764) fix(ui): preserve chat attachments and run ownership (openclaw#116752) fix(plugins): clean up partial service startup once (openclaw#116804) fix(qa-channel): enforce message and thread lifecycle ownership (openclaw#116801) fix(qa-lab): support groups and isolate thread timelines (openclaw#116803) feat(plugins): externalize Voyage embeddings (openclaw#116785) fix(outbound): strip echoed inbound metadata before delivery (openclaw#50520) fix(anthropic-vertex): correct multi-region endpoints (openclaw#116757) fix(ui): scope agent cron jobs and surface model catalog failures (openclaw#116771) fix(ui): preserve scoped session state across updates (openclaw#116772) fix(build): fail closed on symlinked build output roots (openclaw#116705) fix(commands): validate native settings and preserve Telegram ingress outcomes (openclaw#116773) ...
* origin/main: (52 commits) fix(setup): isolate failed channel probes and report doctor diagnostics (openclaw#116824) fix(telegram): preserve edit previews, message cache, and group history (openclaw#116818) fix(whatsapp): preserve interactive replies and normalize media MIME (openclaw#116816) fix(file-transfer): keep fetched media attachable in sandboxed replies (openclaw#116400) fix(browser): preserve doctor JSON failure status (openclaw#116811) fix(ollama): stream native tool call lifecycle (openclaw#116809) fix(matrix): preserve message-tool room thread routing (openclaw#116802) fix(ui): restore mobile navigation and accessible usage filters (openclaw#116751) fix(ui): coalesce profile identity refresh (openclaw#116764) fix(ui): preserve chat attachments and run ownership (openclaw#116752) fix(plugins): clean up partial service startup once (openclaw#116804) fix(qa-channel): enforce message and thread lifecycle ownership (openclaw#116801) fix(qa-lab): support groups and isolate thread timelines (openclaw#116803) feat(plugins): externalize Voyage embeddings (openclaw#116785) fix(outbound): strip echoed inbound metadata before delivery (openclaw#50520) fix(anthropic-vertex): correct multi-region endpoints (openclaw#116757) fix(ui): scope agent cron jobs and surface model catalog failures (openclaw#116771) fix(ui): preserve scoped session state across updates (openclaw#116772) fix(build): fail closed on symlinked build output roots (openclaw#116705) fix(commands): validate native settings and preserve Telegram ingress outcomes (openclaw#116773) ...
* commit '4e7fffdb98ce4d3e6fd69859bedd584cf474ec53': (60 commits) fix(setup): isolate failed channel probes and report doctor diagnostics (openclaw#116824) fix(telegram): preserve edit previews, message cache, and group history (openclaw#116818) fix(whatsapp): preserve interactive replies and normalize media MIME (openclaw#116816) fix(file-transfer): keep fetched media attachable in sandboxed replies (openclaw#116400) fix(browser): preserve doctor JSON failure status (openclaw#116811) fix(ollama): stream native tool call lifecycle (openclaw#116809) fix(matrix): preserve message-tool room thread routing (openclaw#116802) fix(ui): restore mobile navigation and accessible usage filters (openclaw#116751) fix(ui): coalesce profile identity refresh (openclaw#116764) fix(ui): preserve chat attachments and run ownership (openclaw#116752) fix(plugins): clean up partial service startup once (openclaw#116804) fix(qa-channel): enforce message and thread lifecycle ownership (openclaw#116801) fix(qa-lab): support groups and isolate thread timelines (openclaw#116803) feat(plugins): externalize Voyage embeddings (openclaw#116785) fix(outbound): strip echoed inbound metadata before delivery (openclaw#50520) fix(anthropic-vertex): correct multi-region endpoints (openclaw#116757) fix(ui): scope agent cron jobs and surface model catalog failures (openclaw#116771) fix(ui): preserve scoped session state across updates (openclaw#116772) fix(build): fail closed on symlinked build output roots (openclaw#116705) fix(commands): validate native settings and preserve Telegram ingress outcomes (openclaw#116773) ...
What Problem This Solves
Fixes issues where documented QA-channel group conversations were missing from the QA debugger sidebar and composer, and where the debugger mixed owned thread replies into the root timeline or carried a selected channel thread into another account/conversation target.
Why This Change Was Made
Teach the private QA debugger's existing conversation types, sidebar, composer, and inbound-send flow about groups. Keep account/kind collision labels unambiguous, filter only navigable owned thread replies from the main timeline while retaining externally observed threads, and preserve selected thread IDs only when the composer still targets their owning conversation.
User Impact
Operators can discover, distinguish, select, and send to group conversations directly in QA Lab. Account- and kind-colliding room names remain distinguishable, channel root timelines no longer contain replies from owned thread views, externally observed unowned threads remain visible, and switching from a selected channel thread to a group cannot leak the stale thread identifier.
Evidence
codex/auto-qa-lab-groups.9d87f564690e9f9c296676e7788fa241e843daf0.82231b425b7f574e70c03bc32bb954a78bc3377b.node scripts/run-vitest.mjs extensions/qa-lab/web/src/ui-render.test.ts extensions/qa-lab/web/src/app.browser.test.ts extensions/qa-lab/web/src/ui-conversation-key.test.ts.git diff --check, exact parent SHA, and clean committed worktree verified.Root Causes Fixed
2 distinct conservative private-debugger roots:
Authorized Scope And Non-Goals
User-authorized scope: bounded private QA debugger group/thread correctness only. No authentication, security, public configuration, plugin SDK, QA protocol/event schema, persistent store, database schema, migration, gateway acknowledgement, or reaction-contract changes. Delivery acknowledgement redesign and actual reaction removal remain explicitly outside this PR.