Repository navigation
pipeline: Report the errors of checkpatch instead of the end of its log. - #9
Closed
rosemarie-o wants to merge 1 commit into
Closed
rosemarie-o wants to merge 1 commit into
rosemarie-o wants to merge 1 commit into
Conversation
The report of a failed job carried the last 25 lines of its log, which for checkpatch were mostly the source of the step, its environment and the cleanup of the runner, with the color codes of GitHub, around the few lines checkpatch printed. Like warnings, the checkpatch workflows now put the output of checkpatch in an error annotation titled workflows.warning_annotation when it fails, and the report carries the messages of such annotations instead of the log. Jobs without them, or whose annotations cannot be read for lack of permission, are still reported with the end of their log. The messages of error and warning annotations are both cut to 100 lines and 10000 characters; warnings were cut to report.log_lines lines, which could drop some of the output of checkpatch. Fixes fuzzfactor#7 Signed-off-by: Rosemarie O'Riorden <rosemarie@redhat.com>
rosemarie-o
force-pushed
the
reports-checkpatch
branch
from
November 25, 2026 07:03
8561535 to
cd5bc56
Compare
rosemarie-o
marked this pull request as draft
November 30, 2026 18:30
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 report of a failed job carried the last 25 lines of its log, which for checkpatch were mostly the source of the step, its environment and the cleanup of the runner, with the color codes of GitHub, around the few lines checkpatch printed.
Like warnings, the checkpatch workflows now put the output of checkpatch in an error annotation titled workflows.warning_annotation when it fails, and the report carries the messages of such annotations instead of the log, cut to 100 lines and 10000 characters. Jobs without them, or whose annotations cannot be read for lack of permission, are still reported with the end of their log.
Fixes #7