Files
pad/internal
xarmian 9fe2839cc2 fix(events): an epoch that overflows int64 is corruption too (BUG-2736)
Codex round 13, plain pass, inside round 11's own fix.

That fix made the publisher rotate an epoch key holding anything that is not a
positive generation, so corruption self-heals instead of dropping every event
forever. The pattern match it used accepts a value that is all digits and
overflows int64 -- which the RECEIVER parses with strconv.ParseInt, so the
payload is rejected on arrival and every event is dropped anyway. The same
total, silent, unrecoverable failure by a different route, through the guard
written to prevent it.

Bounded by length rather than by value, because Lua has no int64 comparison
to hand: any 18-digit number fits, and a generation counts an installation's
id-space resets, so 18 digits is not a bound anything real approaches.

Claude-Session: https://claude.ai/code/session_01JVDBKbgn3Xt7ndW1YoYd8X
2026-08-22 20:41:03 +00:00
..
2026-03-26 01:52:36 +00:00