Repository navigation
ci: preserve current CTest counts and evidence-only cohorts - #1378
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Refs #1286. Fix two observed evidence-collector gaps before the representative-day comparison:
100% tests passed out of 15; the collector previously required the explicit0 tests failedclause and omitted this count. Accept the observed success form while retaining explicit failure counts and absent-counter semantics.No workflow, production caching or test execution changes. Existing archive/compiler layers and repeated observations remain separate.
Validation
92e77a302:uv run --no-project -m unittest ci.test_cache_metrics— two new tests fail on missing current CTest summary and evidence cohort misclassification.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.gh run view 39086280608 --job 117554246917 --logparsed 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 --checkpasses; 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.