1
0
Fork 0
polaris-task-force/tests
Z8MB1E 4fba0b03c7 fix(bot): show the Friday op slot date in Eastern time
Discord renders <t:epoch:D> in each viewer's timezone, so the slot's Friday
00:00 Eastern epoch read as Thursday for members west of Eastern. Render the
date as a pinned Eastern label instead.

- add fridayDateLabel(): the upcoming Friday in America/New_York
- noticeToken() now returns that label, keeping dedup stable per Friday
- legacyNoticeToken() still matches older <t:epoch:D> notices and the service
  rewrites them in place, so a deploy does not duplicate or leave one behind
- only match the bot's own messages, since a plain-date token could otherwise
  hit a member's message (which the bot cannot edit)
- document the timezone rule in the bot AGENTS.md
2026-11-20 17:25:04 -05:00
..
audit test(audit): support exact route filtering in the mobile audit 2026-10-13 10:38:45 -04:00
e2e feat(wiki): replace textarea overlay with a CodeMirror markdown editor 2026-11-18 15:12:22 -05:00
fixtures Revert "feat(minigames): make Bomperator own-seat movement server-authoritative" 2026-10-21 20:25:38 -04:00
helpers test(vitest): isolate:false shared forks with per-pid template clones + memoized payload boot 2026-10-21 12:54:30 -04:00
int fix(bot): show the Friday op slot date in Eastern time 2026-11-20 17:25:04 -05:00
push-schema.ts test(int-suite): auto-accept drizzle push prompts in tests/push-schema.ts 2026-10-21 10:03:33 -04:00
seed-baseline.ts feat(test): run tests against a dedicated truncated database 2026-09-22 17:58:17 -04:00
test-db.ts test(vitest): honor KEEP_TEST_DBS=0 as force-drop escape hatch 2026-10-21 13:04:15 -04:00
vitest-global.ts test(vitest): parallel forks with per-worker database clones 2026-10-21 10:41:57 -04:00
vitest-marker.ts test(vitest): parallel forks with per-worker database clones 2026-10-21 10:41:57 -04:00
vitest-reporter.ts test(vitest): isolate:false shared forks with per-pid template clones + memoized payload boot 2026-10-21 12:54:30 -04:00
vitest-teardown.ts test(vitest): honor KEEP_TEST_DBS=0 as force-drop escape hatch 2026-10-21 13:04:15 -04:00
vitest-worker-setup.ts test(vitest): isolate:false shared forks with per-pid template clones + memoized payload boot 2026-10-21 12:54:30 -04:00