Repository navigation
fix(api): fill {{note}} in webhook bodies when an alert fires - #3645
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: f59eafb The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
🔵 Tier 2 — Low RiskSmall, isolated change with no API route or data model modifications. Why this tier:
Additional context: touches background tasks or the delivery pipeline lightly (1 lines, under the 30-line bar for Tier 4) Review process: AI review + quick human skim (target: 5–15 min). Reviewer validates AI assessment and checks for domain-specific concerns. Stats
|
Duplicate code analysisNo new duplicate code introduced by this PR. jscpd compared this branch against |
PR Review✅ No issues found. |
Deep Review✅ No critical issues found. This is a minimal, correctly-scoped bug fix. Verified during review:
Reviewers (9): correctness, testing, maintainability, project-standards, agent-native, learnings-researcher, security, api-contract, previous-comments. |
E2E Test Results✅ All tests passed • 467 passed • 1 skipped • 1370s
Tests ran across 4 shards in parallel. |
Summary
{{note}}rendered empty in Generic and incident.io webhook bodies whenever a real alert fired. The alert worker leftnoteoff the alert it hands to the template, and "Send test" hid the bug because it uses a hard-coded sample note. Closes #3644.{{alert.note}}.{{note}}render as before.main.How to reproduce
Starting point:
yarn dev(needs the API and alert worker), plus a request receiver such as webhook.site.On
main:{"note": "{{note}}"}."note": "".On this branch:
References