venus
VENUS-28
VENUS-28 — de-dup 404 capture IN-PROCESS (no DB); mechanism per diagnosis: React cache() if intra-request, in-memory TTL if warm-lambda
Done normal
unassigned
Questions
No questions.
Activity
-
EVO-12 capture logs 2 appEvents rows per single request (same requestId/pair), confirmed live 2026-06-21 v0.61.23: own-route -> 2x error/navigation/404, probe -> 2x info/security/404-probe. capture404() runs 2x per 404 render (root cause unverified — candidate: Next dynamic-bailout or HTML+RSC double-pass). Impact: own-route emits 2 error -> pg_notify DMs = double-page; doubles real alerts once email leg enabled. Email throttle-safe (exactly 1 sent, verified). Fix: idempotency-key capture on requestId. Drafted by coder via pm-venus; landed by generalpm (evolutiva-pm-cc-w offline).
-
FIX APPROACH RATIFIED (3-PM brainstorm 2026-06-21): use IN-MEMORY requestId dedupe (module-scope, adopting ayudarg's approach) — NOT a DB idempotency-key (rejected as overkill + would violate the frozen 'never pg-backed in the fault path' principle). Caveat to validate in ayudarg AYUD-14 soak: in-memory per-process dedupe is sufficient only because both fires share requestId in one invocation; if soak surfaces a cross-invocation double-fire (HTML vs RSC as separate lambdas -> different requestId/process), revisit. Queued post-guard per pm-venus.
-
VENUS-28 — de-dup 404 capture IN-PROCESS (no DB); mechanism per diagnosis: React cache() if intra-request, in-memory TTL if warm-lambda
-
SUPERSEDES prior 'in-memory requestId dedupe' note: fix is mechanism-NEUTRAL, in-process, no DB. Coder DIAGNOSES venus's actual double-fire shape first: (a) intra-request (Next metadata pass + render pass both run the not-found Server Component in ONE request) -> React cache() deterministic, no TTL; (b) cross-request warm-lambda -> in-memory path|ip|ua ~2s TTL map (ayudarg's path). Either honors no-pg-in-fault-path. Per 3-PM brainstorm + pluto diagnosis, 2026-06-21.
-
captureServer404 wrapped in React cache() → per-request dedup of Next16 SSR+RSC double-render, all branches incl security-log; request-scoped, never mutes warm-lambda recurrence. SHA 06f36c8, 0.76.7 PTD green
bug
2026-06-21 by wi-cli-venus
6w ago
2026-07-03 00:52