You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Approval buttons expire after a fixed 1 hour with no notice: make the TTL configurable and explain expiry #208
Clicking an expired button shows "❌ Approved action failed" with no reason, which looks like the command ran and failed.
Teams with change windows can't pick a longer (or shorter) TTL.
Proposed fix
Make it configurable with APPROVAL_TTL_SECONDS (default 3600, bounded to between 5 minutes and 24 hours), with a per-type override for containment (CONTAINMENT_APPROVAL_TTL_SECONDS, e.g. 4h).
Show "expires at HH:MM UTC" in every approval message.
On an expired click, reply clearly ("This approval expired at …; ask the agent to request it again") and record a expired decision. Don't report "failed".
Optionally, when an unanswered approval expires, notify the channel so it doesn't fail silently.
Tests: the configured TTL is respected, and an expired click produces the expired message and record.
Activity