Repository navigation
test(qa): use qa flow for channel routing scenarios - #101076
Conversation
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
Corrected the task-local QA Smoke failure at exact head Root cause: Crabline Telegram collapsed canonical Focused proof:
New exact-head CI is running for |
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
Codex review: needs maintainer review before merge. Reviewed July 6, 2026, 9:26 PM ET / 01:26 UTC. Summary PR surface: Source +28, Tests -128, Other +494. Total +394 across 36 files. Reproducibility: not applicable. as a runtime bug reproduction path. Source inspection shows current main lacks the seven canonical channel routing YAML scenarios and retains Matrix-specific imperative routing owners, while this PR adds the intended replacement path. Review metrics: 2 noteworthy metrics.
Stored data model Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Risk before merge
Maintainer options:
Next step before merge
Maintainer decision needed
Security Review detailsBest possible solution: Land this PR or an equivalent maintainer-approved replacement after current-base checks are fresh and the QA runner adapter-option contract is accepted, then close the linked canonical routing issue. Do we have a high-confidence way to reproduce the issue? Not applicable as a runtime bug reproduction path. Source inspection shows current main lacks the seven canonical channel routing YAML scenarios and retains Matrix-specific imperative routing owners, while this PR adds the intended replacement path. Is this the best way to solve the issue? Yes. Moving duplicated routing behavior into YAML/shared-flow scenarios with a narrow typed transport policy is the maintainable owner-boundary fix; keeping Matrix imperative owners or sniffing scenario IDs inside adapters would preserve drift. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 82106a18b3be. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Source +28, Tests -128, Other +494. Total +394 across 36 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
Review history (6 earlier review cycles)
|
0080dbb to
0a08107
Compare
|
Rebased PR #101076 onto current Conflict resolution preserves both canonical behavior families:
Post-rebase proof on Blacksmith Testbox
Exact-head CI is running for |
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
Fixed the task-local Failure provenance:
The fixture now uses retained Proof on Blacksmith Testbox
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
dd672cd to
f0a5e51
Compare
|
Rebased PR #101076 onto current Conflict resolution keeps one shared canonical owner:
Conflict-focused Testbox proof on
Hosted exact-head CI is authoritative for the fresh head. |
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
Corrected exact head: The QA Smoke failure was task-local. Fix:
Proof on Blacksmith Testbox through Crabbox:
|
78e7cae to
2349769
Compare
|
Rebased exact head:
|
975efde to
c54a32d
Compare
|
Latest-main rebase checkpoint for
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
Exact-head closeout for
No task-local code change is appropriate; branch remains patch-identical to its reviewed routing change. |
c54a32d to
fb6802b
Compare
|
Rebased this PR onto Preserved from current main:
Preserved from this PR:
Proof on Blacksmith Testbox
Current reviewed head: |
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
* test(qa): canonicalize channel routing scenarios * test(qa): enforce Crabline actor allowlists * test(qa): preserve canonical flow integration * test(matrix): use retained topology fixture id * test(qa): preserve WhatsApp live defaults * QA: declare channel transport policy in scenarios * refactor(qa): keep transport policy type local * refactor(qa): keep transport policy on leaf contract * test(matrix): use retained routing fixture
Closes #101073
What Problem This Solves
Resolves a problem where channel canary and routing QA behavior was duplicated across transport-specific imperative runners, allowing Telegram, Slack, WhatsApp, Matrix, QA Channel, and Crabline coverage to drift.
Why This Change Was Made
Adds seven canonical YAML/shared-flow scenarios for channel canary, DM/group routing, mention gating, sender allowlist block/override, top-level reply shape, secondary conversation isolation, and multi-actor ordering. Selected scenario IDs now reach the shared transport factory so QA Channel, Crabline, and live adapters configure the same behavior contract. Matrix's replaced imperative catalog owners and direct tests are removed after live parity; unrelated command, thread, restart/config, media, lifecycle, provider, and runtime scenarios remain unchanged.
User Impact
QA operators can run the same channel routing contract through the canonical
qa suitehost across normalized and live transports. Live adapter defaults select the canonical scenarios, and Matrix routing evidence now covers DM, primary/secondary rooms, mention gates, allowlists, reply shape, and actor ordering without duplicate imperative owners.AI-assisted change. I understand the implementation and reviewed the transport/config ownership boundaries. No agent transcript is attached because explicit approval to publish sanitized session logs was not requested before creation.
Evidence
channel-canaryandchannel-mention-gatingpassed.pnpm check:changedpassed on Testboxtbx_01kww83en3pjz27dh7g12njwk4(types, lint, import cycles, guards)..agents/skills/autoreview/scripts/autoreview --mode local --stream-engine-outputcompleted clean with no accepted/actionable findings.