Repository navigation
test(qa): use canonical exact marker in Telegram recovery - #133098
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 30, 2026, 1:30 AM ET / 05:30 UTC. ClawSweeper reviewWhat this changesThe PR changes the Telegram empty-response recovery fixture to use the mock provider’s supported exact-marker grammar and tests both fresh and prior-directive histories. Merge readinessNo blocking findings. This maintainer-owned PR narrowly corrects QA fixture wording and adds the missing history case; it should remain open for normal exact-head checks. Priority: P3 Review scores
Verification
How this fits togetherThe QA Lab sends a Telegram-style inbound scenario through the empty-response recovery path to the deterministic mock OpenAI provider. The provider selects a final marker after a settled tool call, and the scenario verifies the resulting outbound Telegram reply. flowchart LR
A[Telegram-style inbound scenario] --> B[Recovery prompt]
B --> C[Mock OpenAI provider]
C --> D[Exact-marker selection]
D --> E[Settled-tool continuation]
E --> F[Outbound Telegram reply]
F --> G[Scenario assertions]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +14, Other 0. Total +14 across 2 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep the exact-marker directive as the canonical fixture contract and land the focused coverage once the pending checks validate this head. Do we have a high-confidence way to reproduce the issue? Yes—source establishes a deterministic HTTP-level reproduction: the former prompt is not accepted by either directive extractor, so a preceding recognized marker can become the recovery result. Is this the best way to solve the issue? Yes. Reusing the mock provider’s established exact-marker grammar and extending the existing table-driven owner-boundary test is the narrowest maintainable repair. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 5a1e1316e0a1. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
Summary
The Telegram empty-response-after-write recovery fixture used
answer exactly, which the deterministic mock provider does not recognize as an exact reply or marker directive. A fresh run happened to pass because the mock's fallback marker matched the scenario. If history contained an earlier recognized directive, the settled-write continuation could instead return that previous scenario's marker.Use the existing
exact marker:grammar in the scenario and its HTTP-level provider test. Parameterize the existing recovery case to cover both fresh input and an earlier reply directive in history. Keep the write/continuation, scheduled-run, and heartbeat assertions; no runtime code, parser behavior, timeout, or retry changes.Verification
PREVIOUS-SCENARIO-OK.Runtime production delta is zero. Changes are one scenario line and existing test coverage (+71/-57 including formatter indentation).
The frozen full release run reported a packaged Telegram recovery failure. Its retained artifacts do not include the provider request bodies, so this PR does not claim that exact hosted causality is proven. A fresh focused Package Acceptance run will test the frozen b111 product with this reviewed harness; its result will be recorded here. Source Telegram validation already passed at b111. The full release verdict remains blocked until all repairs receive a new frozen run.
Hosted packaged proof
Package Acceptance33294704059 passed with product SHA
b111319fcd8ec27ae7e2436ca51dd7637287c62a, harness SHAac1279fb04c7c547e91e642337a3244646f76e5e, and the original trusted b111 workflow. The Telegram Test Server userbot deliveredTELEGRAM-EMPTY-WRITE-RECOVERED-OKwith three provider requests, exactly one write, exactly one continuation, and no skipped scenarios. Suite wall time was16.427seconds. This is focused real transport proof, not a replacement for the full release verdict.Retained immutable proof artifact9727186452 has digest
e18e78c881ff6bb4b0576f0de8934d9e642f9761179539e78d511b199345fc8e. Package and same-source plugin registry artifacts are9727143672 and9727143924; downloaded package bytes and registry-manifest hash match the recorded candidate metadata.