Repository navigation
Remove the JSON report - #8628
Merged
Merged
Conversation
pytest-json-report produced report.json. Its last consumer, the easy-win activation, reads reportJunit.xml since #8612. - remove pytest-json-report and its conftest hooks - collect the item metadata (codeowners, feature ids, declarations) for the JUnit report from pytest_runtest_makereport, as the JSON metadata hook did - remove the unused utils/scripts/markdown_logs.py - update docs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
|
🎉 All green!🧪 All tests passed 🔗 Commit SHA: cf7ad54 | Docs | View more details | Give us feedback! |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cbeauchesne
marked this pull request as ready for review
November 23, 2026 10:53
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
cbeauchesne
enabled auto-merge (squash)
November 23, 2026 11:17
robertomonteromiguel
approved these changes
Nov 23, 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.
Motivation
report.json(pytest-json-report) has no consumer left: its last one, the easy-win activation, readsreportJunit.xmlsince #8612.Changes
pytest-json-report: requirements, license file,addopts, and the conftest hooks (pytest_json_runtest_metadata,pytest_json_modifyreport, the terminal-summary monkey patch,json_report_file)._collect_item_metadataadds the codeowners, feature ids and declarations to the JUnit report. Only the JSON metadata hook called it, so it now runs from thepytest_runtest_makereporthookwrapper on the setup phase, the same point as before. The JUnit snapshot tests inTEST_THE_TESTconfirm the properties and their order are unchanged.utils/scripts/markdown_logs.py, which only readreport.jsonand has no caller in this repository..gitignoreandgitlab_print_logs.sh: drop thereport.jsonreferences.Validation
TEST_THE_TEST, run withpytest-json-reportuninstalled: 1393 passed, 1 xfailed.🤖 Generated with Claude Code