Skip to content

Commit e699034

Browse files
committed
chore(mollifier): merge phase-1 and phase-2 server-changes into one file
The two notes describe the same PR's behaviour from two angles; merging them into one entry gives a cleaner changelog line and matches how the PR is presented to reviewers.
1 parent 275a5ba commit e699034

3 files changed

Lines changed: 6 additions & 12 deletions

File tree

.server-changes/mollifier-phase-1-scaffolding.md

Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
area: webapp
3+
type: feature
4+
---
5+
6+
Add the trigger mollifier (phase 1 — dual-write monitoring + shadow mode). New env vars (all default off), `evaluateGate` wired into the trigger hot path, lazy singletons for the dedicated mollifier Redis client and drainer. With `MOLLIFIER_SHADOW_MODE=1`, each trigger evaluates the per-env sliding-window rate counter and logs bursts as `mollifier.would_mollify` (no buffer write). With `MOLLIFIER_ENABLED=1` plus a per-org `mollifierEnabled` flag, the buffer is dual-written alongside `engine.trigger` and the no-op drainer pops/acks the entries. Emits the `mollifier.decisions` OTel counter. Behaviour with `MOLLIFIER_ENABLED=0` (default) is unchanged.

.server-changes/mollifier-phase-2-shadow-mode.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)