Repository navigation
Conversation
|
Thanks for the context here. I swept through the related work, and this is now duplicate or superseded. Keep open: this is a plausible candidate for the linked Telegram callback acknowledgement issue, but it is not merge-ready because current main now answers callbacks before the handler, this branch only adds the payload in the stale handler path, the new public config surface needs metadata/product approval, and there is no real Telegram proof. 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 stale PR. The latest review rated it F, the branch still lacks merge-ready proof, and there has been no human follow-up after the durable review. So I’m closing this here because the remaining work is already tracked in the canonical issue. Review detailsBest possible solution: Close this stale PR. The latest review rated it F, the branch still lacks merge-ready proof, and there has been no human follow-up after the durable review. Do we have a high-confidence way to reproduce the issue? Yes, at source level: current main and the latest release answer Telegram callback queries with only the callback id in both early and fallback paths, and current tests assert id-only calls. I did not run a live Telegram client in this read-only review. Is this the best way to solve the issue? No, not as-is. The right fix needs to wire the payload through the current early-answer owner, keep the fallback aligned, refresh config metadata, and get maintainer approval for the new config contract. Security review: Security review cleared: Cleared: the diff adds opt-in Telegram callback payload handling plus docs/tests and does not add dependencies, workflows, permissions, downloads, package scripts, or secret-handling changes. AGENTS.md: found and applied where relevant. What I checked:
Likely related people:
Codex review notes: model internal, reasoning high; reviewed against cd6b67533d6d. |
|
This pull request has been automatically marked as stale due to inactivity. |
|
This pull request has been automatically marked as stale due to inactivity. |
|
ClawSweeper status: review started. I am starting a fresh review of this pull request: fix(telegram): allow callback acknowledgement text This is item 1/1 in the current shard. Shard 17/22. This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking. Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted. |
|
Closing per ClawSweeper review verdict |
Summary
channels.telegram.callbackAckconfig for Telegram inline keyboard callbacksanswerCallbackQueryas a Telegram toast, with optionalshowAlertFixes #76622.
Reproduction
On current main, Telegram callback handling acknowledges inline button clicks with only the callback id / no options payload, so Telegram clears the spinner but shows no toast:
extensions/telegram/src/bot-handlers.runtime.tscalledctx.answerCallbackQuery()orbot.api.answerCallbackQuery(callback.id)answerCallbackQuerySpy("cbq-1")Validation
pnpm install --frozen-lockfile(restored missing local deps after fresh pull)pnpm vitest run extensions/telegram/src/bot.create-telegram-bot.test.ts extensions/telegram/src/bot.test.tspnpm exec oxfmt --check --threads=1 extensions/telegram/src/bot-handlers.runtime.ts extensions/telegram/src/bot.create-telegram-bot.test.ts src/config/types.telegram.ts src/config/zod-schema.providers-core.ts docs/channels/telegram.md CHANGELOG.mdpnpm check:changed