Skip to content

Report clang-tidy errors as GitHub annotations#9078

Merged
alexreinking merged 1 commit intomainfrom
alexreinking/clang-tidy-feedback
Mar 26, 2026
Merged

Report clang-tidy errors as GitHub annotations#9078
alexreinking merged 1 commit intomainfrom
alexreinking/clang-tidy-feedback

Conversation

@alexreinking
Copy link
Copy Markdown
Member

PR #9077 had some clang-tidy failures, but digging through the logs to see what's wrong isn't fun. This PR turns the clang-tidy error messages into commit/PR annotations.

@abadams
Copy link
Copy Markdown
Member

abadams commented Mar 26, 2026

How have you tested this (asking almost entirely because I'm curious to see what it looks like)?

@alexreinking
Copy link
Copy Markdown
Member Author

How have you tested this (asking almost entirely because I'm curious to see what it looks like)?

I tested the script by running it locally... I could push an intentional clang-tidy violation here and we can see what it does.

@alexreinking
Copy link
Copy Markdown
Member Author

image

So that's what I would expect.

@abadams
Copy link
Copy Markdown
Member

abadams commented Mar 26, 2026

Very nice.

@alexreinking alexreinking force-pushed the alexreinking/clang-tidy-feedback branch from 088c205 to d4a67bb Compare March 26, 2026 17:49
@alexreinking alexreinking merged commit e7c32cb into main Mar 26, 2026
38 of 40 checks passed
@alexreinking alexreinking deleted the alexreinking/clang-tidy-feedback branch March 26, 2026 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants