Skip to content
Source
Sign inSign up
pingdotgg/t3code

test(server): pin clock in saved-usage window test #28603

Mergedt3dotgg(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/28603/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHub

CI on `main` fails in `UsageService.test.ts > reports saved usage of a removed directory only for windows it reaches`. The test writes a transcript dated 2026-08-01 and used the real clock. The service prunes saved usage older than 92 days, so from 2026-11-01 the entry was pruned and the test got `[]`.

The test now pins the clock to 2026-08-15 with `TestClock`, the same pattern the Cursor restart test in this file uses.

🤖 Generated with Claude Code (Claude Opus 5.5)

Sign in to join this conversation.