Skip to content

[CI] Remove sarif upload in lint #6905

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

Merged
merged 1 commit into from
Jul 17, 2025
Merged

[CI] Remove sarif upload in lint #6905

merged 1 commit into from
Jul 17, 2025

Conversation

clee2000
Copy link
Contributor

@clee2000 clee2000 commented Jul 8, 2025

remove sarif upload

I think this causes comments like
image

I don't like it because I'd rather just look at the lint job, depending on the linter it puts comments on unrelated lines, and when it does comment on the right line it doesnt suggest changes so you still have to run lintrunner yourself

remove sarif upload
Copy link

vercel bot commented Jul 8, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Updated (UTC)
torchci ⬜️ Ignored (Inspect) Jul 8, 2025 7:32pm

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 8, 2025
@clee2000 clee2000 marked this pull request as ready for review July 8, 2025 19:32
@clee2000 clee2000 requested a review from a team July 8, 2025 19:32
Copy link
Contributor

@ZainRizvi ZainRizvi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like removing functionality, but this unfortunately this one hasn't been very useful.

Any idea if the line mismatches you mentioned in the PR description were caused by a buggy linter, by our lint wrappers, or by the upload process?

@clee2000
Copy link
Contributor Author

I don't like removing functionality, but this unfortunately this one hasn't been very useful.

Any idea if the line mismatches you mentioned in the PR description were caused by a buggy linter, by our lint wrappers, or by the upload process?

My guess is either that the sarif generation has bugs, or it could be that some outputs are just not compatible with the sarif format

@clee2000 clee2000 merged commit 75ac42e into main Jul 17, 2025
4 checks passed
@clee2000 clee2000 deleted the csl/remove_lint_sarif branch July 17, 2025 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants