Fix misaligned headers in the failed tests report table - #6753
Merged
Conversation
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
qgallouedec
force-pushed
the
ci-fix-report-table-headers
branch
from
August 14, 2026 18:41
c1304e5 to
df5473d
Compare
qgallouedec
approved these changes
Aug 14, 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.
This PR fixes the headers of the failed tests table reported by the slow tests workflow.
Motivation
Each row of the table holds three fields, the test file, the test class and the truncated test name, but only two headers are passed to
tabulate. As a result the header row is padded on the left and every column ends up with the wrong label, the file being reported underTest Locationand the class underTest Name.Before:
After:
Changes
Note
Low Risk
Reporting-only change in CI log formatting with no runtime or security impact.
Overview
Fixes mislabeled columns in the failed tests grid that
log_reports.pyprints for CI/Slack when pytest failures are reported.Each row already splits
nodeidinto file, class, and a truncated test name, buttabulatewas only given two headers (Test Location,Test Name), so labels shifted across columns. The change passes three headers—File,Class,Test Name—so the grid matches the data.Reviewed by Cursor Bugbot for commit df5473d. Bugbot is set up for automated code reviews on this repo. Configure here.