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
Windows benchmark numbers are invisible in a passing CI run: emit them to the job summary (Part of #660, follow-up to #669) #673
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:highBlocks work or has already caused damage
tests/test_session_start_windows_benchmark_669.py prints cold/warm wall time and spawn count (jq-present and jq-absent) and records them via record_property. In the first green run after #671 merged (run 34668669437, windows-latest/3.11 job 103485686099, ubuntu-latest/3.12 job 103485685941) none of those numbers appear in the job log: pytest shows captured stdout only for failed tests (this repo's addopts has -rs --durations=25, not -rA or -s), and record_property goes to a JUnit XML that .github/workflows/tests.yml never writes or uploads. The only numbers visible during #671's life were from rounds 1-7, which measured a broken (pre-fix) hook.
So the measurement #669 exists for is taken on every run and shown on none. The closest visible datum is the --durations=25 line: windows-latest/3.11 whole-test 11.73s (jq_present) / 6.05s (jq_absent), fixture setup included; ubuntu does not even reach its top-25.
Ask
Make the numbers land where a human reads them, on every run, pass or fail:
Append a small Markdown table to $GITHUB_STEP_SUMMARY from the test itself when that env var is set (one row per platform x scenario x cold/warm: wall ms, spawn count). Zero workflow change, shows on the run's Summary tab.
Additionally or alternatively: add --junitxml=$RUNNER_TEMP/junit.xml for the benchmark module only and upload it as an artifact, so record_property values are retrievable; or add -rA scoped to that module via a -o override in the workflow step.
Print the table to stderr as well as stdout, so -rs style summaries at least carry it if pytest config changes.
Positive control: a run on main after this lands shows the table on the Summary tab for all three OSes; negative: the test still fails loudly (not silently) when $GITHUB_STEP_SUMMARY is unwritable.
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:highBlocks work or has already caused damage
Activity
Make the #669 Windows benchmark numbers visible on CI's own Summary t…
Fix #660: the #669 benchmark summary never reached CI's own log
Fix #660: measure Windows SessionStart warm start via CI, confirm it …