oncall-engine/engine/apps/webhooks
Joey Orlando 6eac05abaf
apps.webhooks.tasks.trigger_webhook.execute_webhook task - don't retry on requests.exceptions.SSLError (#4796)
# Which issue(s) this PR closes

Address retrying `apps.webhooks.tasks.trigger_webhook.execute_webhook`
task when `requests.exceptions.SSLError` is raised
([logs](https://ops.grafana-ops.net/goto/vqrouqrIR?orgId=1)). Don't
retry the task on these exceptions as retrying will not help. From the
[`request`'s
docs](https://requests.readthedocs.io/en/latest/user/advanced/#ssl-cert-verification):
> By default, SSL verification is enabled, and Requests will throw a
SSLError if it’s unable to verify the certificate

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
    show up in the autogenerated release notes.
2024-08-09 17:45:09 +00:00
..
migrations cleanup orphaned CustomButton escalation policy steps (#4143) 2024-04-02 15:23:07 +00:00
models fix bad redirects (#4413) 2024-05-28 18:24:57 +00:00
presets Allow webhook modification by API for advanced webhook (#4175) 2024-04-23 19:18:12 +00:00
tasks apps.webhooks.tasks.trigger_webhook.execute_webhook task - don't retry on requests.exceptions.SSLError (#4796) 2024-08-09 17:45:09 +00:00
tests apps.webhooks.tasks.trigger_webhook.execute_webhook task - don't retry on requests.exceptions.SSLError (#4796) 2024-08-09 17:45:09 +00:00
__init__.py shift swap requests model + CRUD endpoints (#2597) 2023-07-21 19:35:19 +00:00
apps.py Webhooks trigger tasks on alert group events (#1533) 2023-03-13 21:19:22 +00:00
listeners.py Handle alert group deleted when task is already queued (#4230) 2024-04-16 14:39:00 +00:00
signals.py Add users_to_be_notified to new webhooks payload (#1798) 2023-04-20 16:13:48 +00:00
utils.py Add acknowledged, resolved user information on webhook payload (#4176) 2024-04-26 21:50:08 +00:00