cms.c2sgmbh/tests/unit
Martin Porwoll 086dd269fa fix(monitoring): address code review findings
- SSE stream: detect client disconnect via request.signal to stop
  polling loop (prevents wasted DB queries after tab close)
- AlertEvaluator: split shouldFire/recordFired so cooldown is only
  recorded after successful dispatch (prevents alert suppression
  on dispatch failure)
- SnapshotCollector: cache payload instance (avoid re-importing on
  every 60s tick)
- Alert acknowledge: validate alertId type (string|number)
- Logs search: add 300ms debounce to prevent query-per-keystroke
- Replace remaining `any` cast with Record<string, unknown>

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 01:02:50 +00:00
..
access-control revert: downgrade to Next.js 15.5.9 for Payload compatibility 2025-12-15 10:07:39 +00:00
monitoring fix(monitoring): address code review findings 2026-02-15 01:02:50 +00:00
security feat(security): enhance CSRF, IP allowlist, and rate limiter with strict production checks 2025-12-18 05:06:15 +00:00
video feat: add comprehensive video feature with collections, hooks, and tests 2025-12-16 10:48:33 +00:00
youtube feat(youtube): add conflict detection service 2026-02-14 13:50:24 +00:00
media-download.unit.spec.ts feat: add downloadAndUploadImage utility for YouTube thumbnails 2026-02-14 12:29:04 +00:00