Repository navigation
refactor: share channel probe runner - #113540
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed July 25, 2026, 2:53 AM ET / 06:53 UTC. ClawSweeper reviewWhat this changesThe PR consolidates timeout, elapsed-time, and error-result handling for Discord, Matrix, Mattermost, Signal, Slack, and Telegram diagnostic probes into a shared Plugin SDK runner. Merge readiness⛔ Blocked until real behavior proof from a real setup is added - 5 items remain Keep this PR open for a Plugin SDK contract decision. The refactor removes repeated probe scaffolding, but it also adds Priority: P3 Review scores
Verification
How this fits togetherChannel probes validate channel credentials and connectivity for setup and diagnostics. Individual channel plugins perform transport-specific checks, then return normalized results consumed by channel configuration and health feedback. flowchart LR
Inputs[Channel credentials and settings] --> Probes[Channel-specific probes]
Probes --> Runner[Shared probe runner]
Runner --> Checks[Transport and API checks]
Checks --> Results[Normalized probe results]
Results --> Diagnostics[Setup and diagnostic feedback]
Decision needed
Why: The refactor requires a shared importable seam across bundled plugins, but exporting it from a public SDK module establishes a compatibility contract beyond the immediate cleanup. Before merge
Findings
Agent review detailsSecurityNone. PR surfaceSource -10, Tests +29. Total +19 across 9 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Either explicitly accept and document Do we have a high-confidence way to reproduce the issue? Not applicable: this PR refactors existing probe behavior rather than fixing a reported user-visible failure. The review question is whether the extracted runner preserves behavior and has an approved public contract. Is this the best way to solve the issue? No, not yet: sharing the code is reasonable, but exposing the helper from a public Plugin SDK module needs an explicit decision about whether external plugins may depend on its behavior. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 9698d3895008. 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
|
|
ClawSweeper finding and rank-up moves resolved for landing:
This is the explicit Plugin SDK contract approval requested by the review and resolves the P1 ownership finding. |
|
Merged via squash.
|
What Problem This Solves
Six channel probes duplicated timing, exception normalization, and result scaffolding around their channel-specific checks.
Why This Change Was Made
This AI-assisted refactor introduces
runChannelProbeas the shared runner while leaving each channel's transport and status interpretation local.User Impact
Probe behavior and channel-specific results are preserved, with one owner for timing and error handling.
Release-note context: none; this is a behavior-neutral channel probe refactor.
Evidence
tbx_01kybbcywd4a36reg515fzw0ps, Actions run 30136794596.git diff --checkpassed.