Repository navigation
test(qa): migrate channel streaming evidence to transport flow - #99310
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 3, 2026, 12:46 AM ET / 04:46 UTC. Summary PR surface: Source +23, Tests +109, Docs +9, Other +54. Total +195 across 19 files. Reproducibility: yes. for the review context: current main still declares the scenario as a Telegram helper-backed Vitest path, while PR head declares a transport flow with waitForOutboundSequence. I did not execute the QA suite in this read-only review. Review metrics: 1 noteworthy metric.
Stored data model Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land the transport-native evidence path if maintainers accept waitForOutboundSequence as a reusable QA Lab flow contract; otherwise keep the scenario proof but narrow the sequence matcher to this flow. Do we have a high-confidence way to reproduce the issue? Yes for the review context: current main still declares the scenario as a Telegram helper-backed Vitest path, while PR head declares a transport flow with waitForOutboundSequence. I did not execute the QA suite in this read-only review. Is this the best way to solve the issue? Yes, with a maintainer-owned contract caveat: moving the evidence to QA transport flow is the right layer for proving streaming delivery, provided maintainers accept the reusable sequence action surface. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against df350e672009. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Source +23, Tests +109, Docs +9, Other +54. Total +195 across 19 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
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. How this review workflow works
|
0d56663 to
1dd8089
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
…law#99310) * test(qa): migrate channel streaming evidence to transport flow * test(qa): enable Telegram previews for streaming smoke * test(qa): stabilize streaming preview evidence * fix(qa): sanitize channel dispatch logs
What Problem This Solves
The
channel-message-flowsQA scenario linked a mock-only Telegram helper test. It claimed primarychannels.streamingevidence without running a real gateway turn or observing provider-shaped channel requests, and its helper/test pair duplicated behavior already covered by lower-level Telegram tests.Why This Change Was Made
This migrates the scenario to one transport-native QA flow:
QaTransportAdapter.waitForOutboundSequenceexposes sent/edited/deleted lifecycle events without leaking QA-bus or provider-specific syntax into YAML.sendMessage,editMessageText, anddeleteMessagerecorder traffic and correlates unambiguous preview/final events by message.channel-message-flowsskill now runs the flow through QA Channel or Crabline Telegram.No taxonomy entries or coverage IDs are added. The scenario claims primary
channels.streamingand secondaryruntime.delivery; the old unproven thread and reasoning secondary claims are removed.User Impact
QA maturity evidence for
channels.streamingnow comes from a real gateway turn. The same YAML runs through the synthetic QA Channel for local/UI workflows and through the real Telegram plugin against Crabline for provider-shaped transport proof.Evidence
OPENCLAW_HEAVY_CHECK_LOCK_SCOPE=worktree node scripts/run-vitest.mjs extensions/qa-lab/src/providers/mock-openai/server.test.ts extensions/qa-channel/src/inbound.test.ts extensions/qa-lab/src/qa-transport.test.ts extensions/qa-lab/src/crabline-transport.test.ts extensions/qa-lab/src/scenario-catalog.test.ts extensions/qa-lab/src/scenario-flow-runner.test.ts extensions/qa-lab/src/scenario-runtime-api.test.ts extensions/qa-lab/src/suite-runtime-flow.test.tsOPENCLAW_HEAVY_CHECK_LOCK_SCOPE=worktree node scripts/run-vitest.mjs extensions/qa-lab/src/qa-transport.test.tsOPENCLAW_BUILD_PRIVATE_QA=1 node scripts/run-node.mjs qa suite --provider-mode mock-openai --scenario channel-message-flows --concurrency 1 --fast --channel-driver qa-channel --output-dir .artifacts/channel-message-flows-qasent -> edited -> edited -> editedand primarychannels.streamingevidence; the final marker first appears in the completed delivery.OPENCLAW_BUILD_PRIVATE_QA=1 node scripts/run-node.mjs qa suite --provider-mode mock-openai --scenario channel-message-flows --concurrency 1 --fast --channel-driver crabline --channel telegram --output-dir .artifacts/channel-message-flows-crablinesendMessage -> editMessageTexttraffic andsent -> editedevidence.node scripts/crabbox-wrapper.mjs run --provider blacksmith-testbox -- env OPENCLAW_CHECK_CHANGED_REMOTE_CHILD=1 OPENCLAW_CHANGED_LANES_RAW_SYNC=1 corepack pnpm check:changedtbx_01kwjtmwswjkjzeeqaaewfd561before the final matcher-only tightening; head CI provides the final broad gate..agents/skills/autoreview/scripts/autoreview --mode local --stream-engine-output