Skip to content

Windows benchmark numbers are invisible in a passing CI run: emit them to the job summary (Part of #660, follow-up to #669) #673

Closed

Description

@fdaviddpt

Part of #660. Follow-up to #669 / PR #671.

Observed

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.

[AI-generated]

Activity

  1. added
    priority:high
    filed-by-loop
    lane-diagnostics
    on Sep 12, 2026
  2. self-assigned this
    on Sep 12, 2026
  3. added a commit that references this issue on Sep 12, 2026
    dd062f9
  4. added 2 commits that reference this issue on Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

filed-by-looplane-diagnosticspriority:high

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions