You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Correctness tests fail on wall-clock time: hang guards, not speed budgets #2371
Several correctness tests fail on wall-clock time, so their verdict depends
on how loaded the machine is and how fast it is, not on whether the compiler
is right.
target
checks
limit
observed
issue61-regression
check src/main.w on a perturbed tree says ok
180 s
109 s alone, 182.6 s in the battery (red)
invariance-* (5 targets)
the same check, under 5 benign edits
240 s
185–222 s in the battery (green, barely)
WIPE targets.w
builds the targets
120 s
70 s on eric-5090, 160 s on the Steam Deck
(eric-5090, at PR #2361 / 4716e86, before 2b4a12e cut about a third of check src/main.w.)
The battery runs these targets in parallel with each other, so it supplies
the very load that pushes them past their limits. A red here says nothing
about issue61's invariant (#2362).
Proposal
A correctness target gets a hang guard, not a speed budget: a limit that
only a genuine hang reaches (for example 10× the measured time), so a
slow host or a loaded battery cannot turn it red.
Speed is measured separately as a benchmark: check src/main.w wall
and user time per host, recorded in build-times, with a regression budget
compared against main's own number on the same host. Speed regressions
stay visible without making correctness flaky.
Audit the remaining run_capture* timeouts in build.w and build/*.w
for the same pattern.
Triage 2026-10-25, with v0.15.3.0 (main a261b65): does not reproduce. The correctness checks now use hang guards, not speed budgets: build.w:1850 ("A hang guard (#2371), not a speed budget: the battery runs this beside …"), build.w:1880 and build/selfhost.w:7414 say the same, and no 180 s or 240 s limit remains in build.w or build/. The battery itself became one scheduled graph in 7f81d1e (#2408).
Activity
Battery time: one scheduled graph (75 min to 9.2 min with the new dri…
ehartford commentedon Oct 25, 2026
Triage 2026-10-25,
with v0.15.3.0(main a261b65): does not reproduce. The correctness checks now use hang guards, not speed budgets:build.w:1850("A hang guard (#2371), not a speed budget: the battery runs this beside …"),build.w:1880andbuild/selfhost.w:7414say the same, and no 180 s or 240 s limit remains inbuild.worbuild/. The battery itself became one scheduled graph in 7f81d1e (#2408).