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
test_a_fast_run_logs_its_duration_but_stays_quiet_in_the_session flakes on a slow Windows runner #808
filed-by-loopFiled by the maintainer loop, not by a human. Sets the author axis in dispatch_rank.lane-diagnosticsdoctor and the test harness — doctor.sh, commands/doctor.md, conftest.py, run-tests.sh, report_*.pypriority:lowReal, but neither blocking nor compounding fast
Failed on pytest (windows-latest, 3.10), job 108485346624, on PR #807. That PR only touches markdown and jit-context index files, so it cannot have caused this.
AssertionError: a fast run must not surface a duration line in the session itself
assert '=== SESSION-START ===' not in '=== REMEMBE...'
The test assumes the real session-start hook finishes under the default 5s threshold, then asserts no duration line is surfaced. On a loaded windows-latest runner a real run can take longer than 5s, and the hook then correctly surfaces the line. The test's premise ("a fast run") is not controlled; it depends on the runner's wall clock. The same shape as #794, where a test relied on timing it did not pin.
Fix: make the premise deterministic. Set the threshold high (e.g. thresholds.session_start_warn_seconds = 600) for the "stays quiet" case, or inject the measured duration. The positive case already covers the loud path. Keep a positive control asserting the duration is still logged.
filed-by-loopFiled by the maintainer loop, not by a human. Sets the author axis in dispatch_rank.lane-diagnosticsdoctor and the test harness — doctor.sh, commands/doctor.md, conftest.py, run-tests.sh, report_*.pypriority:lowReal, but neither blocking nor compounding fast
Activity
fix(Digital-Process-Tools#802,Digital-Process-Tools#808): doctor.sh g…