Skip to content

Plugin: clear stale pending approval buttons#79

Open
huntharo wants to merge 1 commit into
mainfrom
codex/fix-telegram-stale-approvals
Open

Plugin: clear stale pending approval buttons#79
huntharo wants to merge 1 commit into
mainfrom
codex/fix-telegram-stale-approvals

Conversation

@huntharo
Copy link
Copy Markdown
Contributor

@huntharo huntharo commented Apr 3, 2026

Summary

I fixed stale Codex approval and questionnaire buttons that could remain visible in chat after the underlying request had already been cleared locally.

I now persist the rendered pending-message reference, clear superseded or completed interactive messages before removing their callback state, and cover the Telegram cleanup paths with regression tests.

Testing

  • pnpm test
  • pnpm typecheck

Clear stale pending-input and questionnaire buttons when a request is
superseded, completed, or cleaned up so Telegram and Discord users do not
see clickable actions that have already expired locally.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant