-
Notifications
You must be signed in to change notification settings - Fork 25.7k
[lint] correctly display annotations for all severities #76348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
GitHub's problem matchers only match against "warning" or "error" as severities. So translate the "advice" and "disabled" severities into warnings so they'll show up. [ghstack-poisoned]
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit 58189e3 (more details on the Dr. CI page): Expand to see more💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
GitHub's problem matchers only match against "warning" or "error" as severities. So translate the "advice" and "disabled" severities into warnings so they'll show up. [ghstack-poisoned]
GitHub's problem matchers only match against "warning" or "error" as severities. So translate the "advice" and "disabled" severities into warnings so they'll show up. [ghstack-poisoned]
|
@justinchuby this fixes the issue you were seeing with flake8 |
|
Just wondering: is it possible to un-escape the raw messages in the annotation? |
|
Looks like yes: actions/toolkit#319 (comment) |
|
@pytorchbot merge this |
|
Hey @suo. |
Summary: GitHub's problem matchers only match against "warning" or "error" as severities. So translate the "advice" and "disabled" severities into warnings so they'll show up. Pull Request resolved: #76348 Approved by: https://github.com/seemethere Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/1e1118957f63e98b6924f0e8ff20262dd347a965 Reviewed By: osalpekar Differential Revision: D35938201 Pulled By: suo fbshipit-source-id: 06565469cadfc5e371920337d4f9ea51b1bc27cc

Stack from ghstack:
GitHub's problem matchers only match against "warning" or "error" as
severities. So translate the "advice" and "disabled" severities into
warnings so they'll show up.