Repository navigation
Conversation
|
Thanks for the context here. I swept through the related work, and this is now duplicate or superseded. Keep open only because the protected Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Canonical path: Close this PR as superseded by #85961. So I’m closing this here and keeping the remaining discussion on #85961. Review detailsBest possible solution: Close this PR as superseded by #85961. Do we have a high-confidence way to reproduce the issue? Yes for the original bug from source and related-PR history: pre-fix code emitted a generation-mismatched superseded preview without Is this the best way to solve the issue? Yes for the code shape: adding Security review: Security review cleared: The diff only changes Telegram TypeScript preview-retention logic and a colocated test expectation; it does not touch dependencies, workflows, secrets, install scripts, package metadata, or other supply-chain surfaces. AGENTS.md: found and applied where relevant. What I checked:
Likely related people:
Codex review notes: model internal, reasoning high; reviewed against fce586538a50; fix evidence: release v2026.6.9, commit 0e6dafec84c3. |
|
ClawSweeper PR egg 🎁 Pass real behavior proof to wake the egg and unlock a hatchable treat. Where did the egg go?
|
This comment was marked as spam.
This comment was marked as spam.
|
Heads up: this PR needs to be updated against current |
|
Thanks for carrying this forward. I am closing #85878 as covered by the merged fix in #85961 for the same Telegram generation-race preview retention path tracked from #85807. Clownfish is keeping the landed path in #85961 as the source of truth because it was rebased onto main, validated with the focused draft-stream test and real Telegram proof, and merged on 2026-06-03. The contributor context from #85878 is preserved: this PR recreated source work from #85825, and the carried-forward commit credit remains visible in this branch history. Thanks @NianJiuZst, @steipete, and @zhangguiping-xydt for the overlapping fixes and validation. If this still reproduces after #85961, or if #85878 covers a different Telegram delivery path, please reply and we can reopen or split out the remaining case. |
|
Closing as superseded. The same Telegram generation-race preview-retention fix shipped through #85961 with focused regression coverage and live Telegram proof. |
Summary:
Behavior addressed:
Telegram could delete a successfully visible superseded preview after a generation mismatch race when
forceNewMessagemoved the active draft forward.Real environment tested:
Focused local Vitest coverage for the Telegram draft-stream state machine.
Exact steps or command run after this patch:
node scripts/run-vitest.mjs extensions/telegram/src/draft-stream.test.ts.agents/skills/autoreview/scripts/autoreview --mode branch --base origin/main --parallel-tests "node scripts/run-vitest.mjs extensions/telegram/src/draft-stream.test.ts"Evidence after fix:
The regression assertion now checks that the superseded preview carries
retain: true, matching the retained-preview path used when a message was already visible.Observed result after fix:
32 draft-stream tests passed and autoreview reported no accepted/actionable findings.
What was not tested:
Live Telegram delivery; the changed behavior is the deterministic local preview-retention state transition.
Credit:
Thanks @NianJiuZst for the original report/fix in #85825.