fix: fail closed on quant monitor delivery - #103
Conversation
Co-Authored-By: Codex <noreply@openai.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: da1fbb1ff7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: acf38f5aeb
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Co-Authored-By: Codex <noreply@openai.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c25a2d9107
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| return False | ||
| if not isinstance(payload, dict): | ||
| return False | ||
| return str(payload.get("fingerprint") or "") == fingerprint |
There was a problem hiding this comment.
Track deduplication per active incident
When two incidents A and B are active, the persisted value is a single hash of {A, B}; if A recovers while B remains unhealthy, the hash becomes {B} and B is sent again even though it never recovered. Fresh evidence in the current code is that one fingerprint represents the entire alert set rather than persisting individual alert_identities; compare and update identity sets so only newly appearing incidents trigger the 30-minute notifier.
AGENTS.md reference: ops/quant-monitor/AGENTS.md:L20-L26
Useful? React with 👍 / 👎.
Summary
Validation