Files
hermes-agent/tests
teknium1 783637e370 fix(tests): shared-metrics install receipt test no longer expires on a fixed date
test_receipt_is_recorded_only_on_a_day_the_sender_can_ever_send pinned its fake clock to
2026-10-06, but the receipt-age cutoff (_stale) compares finished_at with the real clock and
drops receipts older than 7 days. From 2026-10-13 the parked receipt was discarded before the
first assertion, so the test failed on main and on every PR. Anchor the fake day to yesterday
(real UTC date) so the receipt is always inside the age window.
2026-10-13 03:14:30 -07:00
..
2026-10-09 17:34:38 +02:00
2026-10-10 15:20:14 +02:00
2026-10-09 17:34:38 +02:00
2026-10-08 21:29:48 +02:00