Maestro task 880e924e-c248-472f-8e92-1baec5b4cc9f. Fixes a time-of-day-dependent failure in web/src/shopping/offlineQueue.test.tsx: reload() called vi.clearAllTimers(), which resets the fake clock to real time and undid setSystemTime, so after the household plan-draft time the reloaded page picked next week and the two reload tests failed (and would fail every weekend). Fix restores the clock after clearing timers; no assertion changed. This targets dev directly as a cross-cutting correction to merged Feature 17 test code.
Maestro task 880e924e-c248-472f-8e92-1baec5b4cc9f. Fixes a time-of-day-dependent failure in web/src/shopping/offlineQueue.test.tsx: reload() called vi.clearAllTimers(), which resets the fake clock to real time and undid setSystemTime, so after the household plan-draft time the reloaded page picked next week and the two reload tests failed (and would fail every weekend). Fix restores the clock after clearing timers; no assertion changed. This targets dev directly as a cross-cutting correction to merged Feature 17 test code.
vi.clearAllTimers() resets the fake clock to the real time the fake
timers were installed at, discarding vi.setSystemTime. reload() called
it, so the page opened after a reload read the real date: once the real
time passed the household's plan_draft time (Friday 09:00 New York),
defaultWeek chose next week (2026-10-12), which the tests have no
Supply run for. Restore the clock after clearing the timers.
Task: 880e924e-c248-472f-8e92-1baec5b4cc9f
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Maestro task 880e924e-c248-472f-8e92-1baec5b4cc9f. Fixes a time-of-day-dependent failure in web/src/shopping/offlineQueue.test.tsx: reload() called vi.clearAllTimers(), which resets the fake clock to real time and undid setSystemTime, so after the household plan-draft time the reloaded page picked next week and the two reload tests failed (and would fail every weekend). Fix restores the clock after clearing timers; no assertion changed. This targets dev directly as a cross-cutting correction to merged Feature 17 test code.
Independent Codex gpt-6-sol review: APPROVED for this exact commit.