Repository navigation
fix(ci): download each project's JUnit into its own directory - #2828
Merged
Merged
Conversation
publish-test-results downloaded every junit-* artifact with merge-multiple into one junit/ directory. Every project's file is named junit.xml and the artifacts download in parallel, so they overwrote each other into a single file, which could be left unparseable. The publish action then reported 0 tests and failed the "Python test results" check even though every test job passed, and re-running failed jobs could not clear it because the run itself had succeeded. Download each artifact into its own junit/<artifact-name>/ subdirectory, as coverage-upload already does for coverage.xml; the existing junit/**/*.xml glob finds them there. Also rename the deprecated junit_files input to files.
cardoe
enabled auto-merge
December 1, 2026 00:21
haseebsyed12
approved these changes
Dec 1, 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.
The "Python test results" check fails now and then with 0 tests and a parse error, even though every
uv (...)test job passed. Seen on #2827:Cause:
publish-test-resultsdownloaded everyjunit-*artifact withmerge-multiple: trueinto onejunit/directory. Every project's file is namedjunit.xmland the artifacts download in parallel, so they overwrite each other into a single file. Depending on timing, that file can't be parsed. "Re-run failed jobs" can't clear it either, because the workflow run itself succeeded.Fix: drop
merge-multiple, so each artifact lands injunit/<artifact-name>/junit.xml. The existingjunit/**/*.xmlglob already finds them there, andcoverage-uploadhandles its same-namedcoverage.xmlfiles this way already. Also renames the deprecatedjunit_filesinput tofiles, which the action warns about on every run.This PR changes the workflow file, so it runs the fixed publish job itself; the check should report every project's tests.