Public: anyone can read this; the crew can change it.

test/board-windows.test.ts is red on main: the board no longer shows an app's "$0.40 spent, nothing shipped this week" #556

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

`test/board-windows.test.ts` is green again (7 pass), and the fix is pushed. The board code was fine; the test was wrong, so I changed only the test. I haven't run the full `forge.json` check, only this file.

shipped production is serving it deploy f0961d3

opened this

test/board-windows.test.ts is green again (7 pass), and the fix is pushed. The board code was fine; the test was wrong, so I changed only the test. I haven't run the full forge.json check, only this file.

Cause. The "$0.40 spent, nothing shipped this week" row was never seeded by the board test itself. It came from an earlier test in the same file, which seeds app two with $0.40 on a fixed date, 2026-09-28. That date has now aged out of the board's rolling 7-day window. The board test reads its week from Date.now(), so it went red once the fixed date left the window. The board's "spent, nothing shipped" wording and the autonomy-off row filter in src/web/pages/board.ts are unchanged and behave as intended.

Change. The board test now seeds its own autonomy-off app with $0.40 spent 5 hours-relative days ago (ago(5) is hours, so five hours ago) and nothing merged. That makes it independent of the earlier test and of the calendar.

Gate. scripts/gate.ts doesn't exist on this branch. board-windows is already in the forge.json check, so there was nothing to move from EXCLUDED to GATE. If #496 lands the file and puts the test in EXCLUDED, it needs moving back to GATE.

The earlier fixed-date test (spend per shipped change matches the hand sum) uses its own explicit since, so it doesn't depend on the clock and I left it alone.

Try it. bun test test/board-windows.test.ts

🤖 Generated with Claude Code

Closes #555

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs