Repository navigation
Key each key-commits result by its place in the list, so a repeated commit keeps both measurements - #2494
Merged
Conversation
…ommit keeps both measurements Naming the same commit twice, interleaved with the change, is how the runner's spread is measured in one run. The results were keyed by the entry, so the second measurement overwrote the first and the table showed the later one in both columns. A result is now keyed by its position, and a repeated commit's columns are marked (1), (2). With a stub dotnet that writes a different measurement per run and the list 842e8e9, 27aba15, 842e8e9, 27aba15: master's scripts give 300 400 300 400, this branch 100 200 300 400. Fixes #2488 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2494 +/- ##
=======================================
Coverage 86.90% 86.91%
=======================================
Files 336 336
Lines 73567 73567
Branches 21411 21411
=======================================
+ Hits 63935 63939 +4
+ Misses 5181 5179 -2
+ Partials 4451 4449 -2
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
This was referenced Nov 24, 2026
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.
Fixes #2488.
benchmark_key_commits.shwrote each result as$results/<entry>.json, so a list naming one commit twice measured it twice and kept only the second. That is the documented way to measure the runner's spread in the same run as a change. The 2.8.0 pair (#2489) lost its control this way.A result is now keyed by its position in the list, in the script and in
combine_key_commits.py. A commit named more than once gets a column per occurrence, headed842e8e951 (1),842e8e951 (2).Measured with a stub
dotneton thePATHthat builds nothing and writes a different measurement on each run (1, 2, 3, 4), with the list842e8e951, 27aba15f0, 842e8e951, 27aba15f0:Nothing else reads the results directory: the workflow reads only
key-commits.md. An entry with a slash in it, such asorigin/master, could not be written as a result file before, and can now.🤖 Generated with Claude Code