Skip to content

Conversation

@emcfarlane
Copy link
Contributor

This avoids attempting to run the checks if the IR fails with a diagnostic of level error (ICE/Error).

@github-actions
Copy link
Contributor

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedOct 30, 2025, 5:52 PM

Copy link
Member

@stefanvanburen stefanvanburen left a comment

Choose a reason for hiding this comment

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

👍 — looking again, I think we also should ditch the PublishDiagnostics as a part of update since it's done async again at the end of RunChecks, but can do that separately if you want.

(It might also be worthwhile for us to consolidate some of these "helper" methods into Update if they aren't used elsewhere; it looks like both RefreshIR and RunChecks have no other callsites now that we don't publish progress, and we should be able to unexport a lot of the *file methods as well.)

@emcfarlane emcfarlane merged commit 033e345 into main Oct 30, 2025
12 checks passed
@emcfarlane emcfarlane deleted the ed/lspSkipCheckOnError branch October 30, 2025 20:50
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.

4 participants