Skip to content

Conversation

@nathanchance
Copy link
Member

The internal warnings/errors problem matcher regex still does not highlight the messages properly, even though I tested the regex. Unfortunately, the reason is only obvious when looking at the raw GitHublogs, which shows the raw color ASCII escape codes that print_red() and print_yellow() use.

Add the escape codes to the regex to fix the matching, which ends up making the matcher more robust because it will only highlight the color messages that the script generates.

The internal warnings/errors problem matcher regex still does not
highlight the messages properly, even though I tested the regex.
Unfortunately, the reason is only obvious when looking at the raw GitHub
logs, which shows the raw color ASCII escape codes that print_red() and
print_yellow() use.

Add the escape codes to the regex to fix the matching, which ends up
making the matcher more robust because it will only highlight the color
messages that the script generates.

Signed-off-by: Nathan Chancellor <[email protected]>
@nathanchance nathanchance merged commit 4bd4305 into ClangBuiltLinux:main Jul 14, 2025
7 checks passed
@nathanchance nathanchance deleted the fix-internal-problem-matcher-pt-2 branch July 27, 2025 18:12
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.

1 participant