Skip to content

fix(alerts): send webhook requests with user agent#113

Merged
JSONbored merged 1 commit into
mainfrom
codex/alert-webhook-user-agent
May 10, 2026
Merged

fix(alerts): send webhook requests with user agent#113
JSONbored merged 1 commit into
mainfrom
codex/alert-webhook-user-agent

Conversation

@JSONbored
Copy link
Copy Markdown
Owner

Summary

  • adds an explicit aio-fleet User-Agent header to webhook deliveries

What changed

  • sets User-Agent on outbound webhook POST requests
  • extends alert tests to assert the header is present for generic and Discord webhook payloads

Why

  • Discord accepted the webhook endpoint but rejected aio-fleet's Python client POSTs with HTTP 403 without an explicit User-Agent

Validation

  • .venv/bin/python -m pytest tests/test_alerts.py tests/test_control_plane_workflow.py -q

Notes

  • does not alter webhook URLs or commit any secret value

@JSONbored JSONbored merged commit 45fca10 into main May 10, 2026
5 checks passed
@JSONbored JSONbored deleted the codex/alert-webhook-user-agent branch May 10, 2026 11:53
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