Repository navigation
fix(qa): Telegram live evidence never starts polling - #117389
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 1, 2026, 8:33 AM ET / 12:33 UTC. ClawSweeper reviewWhat this changesThe PR clears minimal Gateway test mode for the Telegram bot-token live-evidence runtime and updates its regression test so the bundled Telegram plugin can load and begin polling. Merge readinessThe patch is a correct, narrowly scoped repair for the QA runtime: the shared test-instance helper enables minimal Gateway mode by default, and this live Telegram path must explicitly remove that flag along with the channel/provider skips. Current Priority: P2 Review scores
Verification
How this fits togetherQA Lab’s Telegram bot-token runtime starts an isolated Gateway with a leased real credential to collect channel-startup evidence. The shared test helper supplies fast minimal defaults, while this runtime overrides the defaults that would suppress the Telegram plugin and prevent its polling loop from starting. flowchart LR
A[Leased Telegram bot token] --> B[QA live-evidence runtime]
B --> C[Shared Gateway test helper]
C --> D[Minimal test environment]
D --> E{Live Telegram runtime overrides}
E -->|Flag removed| F[Bundled Telegram plugin loads]
F --> G[Polling begins]
G --> H[Redacted QA evidence]
Decision needed
Why: The source evidence supports the narrow repair, but repository policy requires explicit maintainer handling for member-authored items and protected Before merge
Agent review detailsSecurityNone. PR surfaceTests +2. Total +2 across 2 files. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep the shared helper’s minimal default for isolated tests, but merge this runtime-local opt-out so the Telegram maturity scenario exercises the same bundled channel startup path it claims to verify. Do we have a high-confidence way to reproduce the issue? Yes, from source: Is this the best way to solve the issue? Yes. The patch removes only the shared test default that conflicts with this runtime’s stated product-startup requirement, at the caller that needs bundled Telegram loading; changing the helper default would unnecessarily slow or broaden unrelated isolated tests. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against b830a658217a. 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
|
What Problem This Solves
Fixes an issue where the Telegram bot-token maturity scenario would acquire a real credential but never start polling because its Gateway inherited the shared minimal-plugin test mode.
Why This Change Was Made
The bot-token runtime now opts out of the test helper's minimal Gateway mode at the live-product startup boundary. The shared helper keeps its fast minimal default for isolated tests; only the caller that requires the bundled Telegram plugin enables product plugin loading.
User Impact
Operators can collect real Telegram bot-token evidence instead of timing out before the channel starts.
Evidence
runStatus=succeeded(the backing one-shot job may show cancelled when its completed lease is stopped): https://github.com/openclaw/openclaw/actions/runs/30698449339git diff --checkpassed.Production delta: none; this changes only the live QA runtime and its test.
AI-assisted: yes. Agent transcript omitted unless requested.