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
Make timing-sensitive tests reliable on busy machines #228
area: engineAgent loop, models, approvals, storage, gatewaybugSomething isn't workinghelp wantedExtra attention is neededpriority: P1Next: high-value featuresize: SSmall: a few days
Several tests fail when the machine is busy (for example while desktop builds or other suites run in parallel) and pass when run alone. They have also failed on CI runners. Timing-based assertions should not depend on machine speed.
Seen so far:
tests/tasks/test_stuck_runs.py, the slow-model test (also seen failing on main)
Idea: make each one deterministic: fake clocks instead of wall time, events instead of sleeps, generous bounds measured relative to an internal reference (as #222 did), and no reliance on ports or timing between processes.
Done when: each test passes 20 runs in a row while the full suite runs in parallel with a desktop build, on Windows and Linux.
area: engineAgent loop, models, approvals, storage, gatewaybugSomething isn't workinghelp wantedExtra attention is neededpriority: P1Next: high-value featuresize: SSmall: a few days
Activity
fix: make timing-sensitive tests reliable on busy machines (existence…