Repository navigation
chore: gitignore unit test result artifacts - #3679
Merged
yuki-97 merged 1 commit intoAug 17, 2026
Merged
Conversation
tests/unit/conftest.py writes unit_results.json and a timestamped file under unit_results/ on every unit test run, but neither path is gitignored. They show up as untracked files in git status after any local test run, and can be committed by accident. The sibling artifact directory written by the same conftest (tests/unit/test_assets) is already ignored; add these two alongside tests/functional/*/ under the existing test biproducts section. Signed-off-by: Vishnu Rajeev <[email protected]>
Contributor
|
/ok to test 8ed6069 |
yuki-97
enabled auto-merge (squash)
August 17, 2026 08:55
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.
What does this PR do ?
Adds
tests/unit/unit_results.jsonandtests/unit/unit_results/to.gitignoreso unit test runs don't leave untracked files behind.Issues
None filed — noticed while setting up a local dev environment.
Usage
tests/unit/conftest.pywrites both paths on every unit test run:Neither is ignored, so any local run leaves them in
git status:After this change the files are still written as before, and
git statusstays clean.The third artifact directory written by the same conftest —
tests/unit/test_assets— is already covered by thetest_assets/entry, so this just brings the other two in line. They're placed under the existing# Test biproductssection next totests/functional/*/.Before your PR is "Ready for review"
Pre checks:
.gitignore-only changetests/unit/tools/test_config_cli.pybefore and after to confirm the artifacts are still written and no longer surface as untrackedAdditional Information