{"version":"2.1.219","anchor":"live-session-discovery-sanity-checks-timestamps","canonical_anchor":"live-session-discovery-sanity-checks-timestamps","heading":"Live-session discovery sanity-checks timestamps","tier":"internal","area":"Sessions","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.219\/e\/live-session-discovery-sanity-checks-timestamps","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.219","markdown":"### Live-session discovery sanity-checks timestamps\n\nCorrupt timestamps in session files can no longer confuse which sessions look live.\n\n**What**\n\nEpoch timestamps read from session sidecar files are now validated before use, so a corrupt or garbage value cannot skew live-session discovery.\n\n**Details**\n\n- The peer-session module exports a new `isSaneEpochMs` predicate and a `MAX_SANE_EPOCH_MS` constant set to 4000000000000000.\n- Non-finite, negative and absurdly large epoch values are discarded rather than passed through.\n- Not gated; active for everyone.\n\n**Evidence**\n\n`MAX_SANE_EPOCH_MS`\n\n- Area: Sessions\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 0\/5"}