Skip to content

ci: preserve current CTest counts and evidence-only cohorts - #1378

Merged
zackees merged 2 commits into
masterfrom
infra/1286-metrics-summary-compat
Oct 18, 2026
Merged

zackees merged 2 commits into
masterfrom
infra/1286-metrics-summary-compat

Conversation

@zackees

@zackees zackees commented Oct 18, 2026

Copy link
Copy Markdown
Member

Summary

Refs #1286. Fix two observed evidence-collector gaps before the representative-day comparison:

  • Qt consumer job 117554246917 / run 39086280608 prints 100% tests passed out of 15; the collector previously required the explicit 0 tests failed clause and omitted this count. Accept the observed success form while retaining explicit failure counts and absent-counter semantics.
  • Evidence figures and their generators under docs/ci-evidence were classified as product code. Treat the designated evidence subtree as documentation, preserving CI/config and real product-code boundaries. This prevents the report's SVG/generator update from becoming a fake product-code performance sample.

No workflow, production caching or test execution changes. Existing archive/compiler layers and repeated observations remain separate.

Validation

  • RED 92e77a302: uv run --no-project -m unittest ci.test_cache_metrics — two new tests fail on missing current CTest summary and evidence cohort misclassification.
  • GREEN cabb9d5ef: all 8 tests pass. Cases include old/new success summaries, nonzero failures, unknown counts, evidence-only figures/scripts, mixed CI/config, and real code outside the evidence subtree.
  • Actual gh run view 39086280608 --job 117554246917 --log parsed with the changed collector yields exactly {total: 15, failed: 0} for the Qt job. This is a real log feed, not only a synthetic fixture.
  • git diff --check passes; only the two collector/test files are committed. Preexisting obs-websocket dirt is excluded.

The fixes improve measurement coverage/classification, not CI runtime. Representative-day collection is still outstanding; no new sample or speedup is invented.

@zackees
zackees enabled auto-merge October 18, 2026 01:40
@zackees
zackees added this pull request to the merge queue Oct 18, 2026
Merged via the queue into master with commit 7424e0b Oct 18, 2026
22 checks passed
@zackees
zackees deleted the infra/1286-metrics-summary-compat branch October 26, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant