incident-bot
incident-bot copied to clipboard
[BUG] Too many pagerduty schedules causes `/incident pager` command to time out
Describe the bug
We have 16 schedules in PagerDuty, and when we run /incident pager
the command times out. In the log I see the following messages
PagerDuty returned 15 schedules
Error: The request to the Slack API failed. (url: https://www.slack.com/api/views.open) The server responded with {'ok': False, 'error': 'expired_trigger_id'}
Version
1.10.1
To Reproduce Steps to reproduce the behavior:
- Create 15 schedules in PagerDuty
- Type
/incident pager
Expected behavior Modal should popup
Environment (please complete the following information):
- Platform: Kubernetes
Additional context I'm not 100% sure that 15 schedules causes it, could be the number of users per schedule or something else