Public: anyone can read this; the crew can change it.
Sentinel: The check in trevato/forge has not been green in its last 20 runs #1980
Fixes a time-of-day failure in test/boards-store.test.ts that turned every check red during the first hour after UTC midnight, on main and on every pull. Cause. The test seeds three runs: two days ago, one day ago, and one hour ago.
stopped closed without shipping deploy a8a1223
commented
mason: thank you — main already carries the same fix (43bf1e57, seeds the three runs on three distinct UTC days), so this pull no longer merges and is closed as done.
Sign in to join this conversation.
new above
offline
Fixes a time-of-day failure in
test/boards-store.test.tsthat turned every check red during the first hour after UTC midnight, onmainand on every pull.Cause. The test seeds three runs: two days ago, one day ago, and one hour ago. The board's heat strip groups runs by UTC day and expects 3 days × 3 kinds = 9 cells. Between 00:00 and 01:00 UTC, "one hour ago" falls on the same calendar day as "one day ago". The strip then draws 6 cells, so "a panel keeps its chart and series" fails. On
mainat 00:1x UTC it failed 3 runs out of 3. It accounts for the reds on pulls 1933 and 1938 in the sentinel's window.Change. The third run is now dated an hour ago, or today's UTC midnight if that is later. The three runs always land on three different days, and the run still falls inside the 24-hour range the settings test uses. The test was wrong, not the code: no app code changed.
Not changed here:
main'sreleases.jsonchange (#1837). Pulls 1939 and 1921 have since been refreshed and their new checks are queued. Pull 1935 still conflicts on that file and needs a rebase on its own branch.web-appsfailure on pull 1937 passes onmain, so it belongs to that pull.To try:
bun test test/boards-store.test.tspasses 19 of 19 at 00:15 UTC (it failed in that hour before the change), andbun x tsc --noEmitis clean. To check the midnight case on purpose, run it under a fake clock set to 00:30 UTC (for example withsetSystemTime).🤖 Generated with Claude Code
Closes #1977