ingest: filter BIT-SMOKE- intentional probe events

Reserved BIT-SMOKE- messages (e.g. wdmi-store /smoke/wdmi.js direct-ingest
checks) are skipped at every ingest level so they do not open incidents or
trigger BIT-309 loops. Bump noise ruleset to 1.0.2; extend unit and integration
tests and ingest hardening runbook.

Paperclip-Issue: BIT-942
Made-with: Cursor
This commit is contained in:
Peter Spark committed 2026-04-05 05:23:32 +00:00
1 parent a720e9486d
commit 82f549adbc
4 files changed
+74 -3

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ Per-key overrides: set `rate_limit_max` and/or `rate_limit_window_ms` on the key
- Rules live in `ingest-api/src/lib/noisePolicy.ts`; ruleset id: `noise_ruleset_version` in the ingest response.
- **Check:** send a known-noise payload (for example ResizeObserver message at non-fatal level); expect `skipped: true`, `noise_filtered_count` incremented, and no new `er_incidents` row.
- **Check:** send the same pattern at `fatal` / `critical` level; expect **not** skipped (noise rules do not hide critical).
- **Check:** send the same pattern at `fatal` / `critical` level; expect **not** skipped (noise rules do not hide critical), **except** messages containing reserved substring `BIT-SMOKE-` (intentional reporter smoke, e.g. wdmi-store `/smoke/wdmi.js`) — those are skipped at every level (`rule_id`: `bitreport_smoke_marker`).
## Rate limits