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
Check · Review · Land · Live done — Landed and live in production.
`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
Sign in to join this conversation.
new above
offline
test/board-windows.test.tsis 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 fullforge.jsoncheck, 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
twowith $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 fromDate.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 insrc/web/pages/board.tsare 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.tsdoesn't exist on this branch.board-windowsis already in theforge.jsoncheck, so there was nothing to move fromEXCLUDEDtoGATE. If #496 lands the file and puts the test inEXCLUDED, it needs moving back toGATE.The earlier fixed-date test (
spend per shipped change matches the hand sum) uses its own explicitsince, 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