Skip to content

Conversation

@stefanvanburen
Copy link
Member

Follow up to #4254. I know this sort of test is somewhat contrived, but they're fairly cheap to write and maintain, and should give us the freedom to make larger changes knowing that we aren't breaking things under the covers.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 5, 2026

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

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedJan 5, 2026, 7:48 PM

@stefanvanburen
Copy link
Member Author

FWIW, pausing on adding any other tests for now; I know we talked about specifically tests for completion and semantic tokens, but IMO we ought to have some basic coverage over all of our advertised "providers", so we'd also want to add formatting, rename, references and symbols as well at some point.

Copy link
Member Author

Choose a reason for hiding this comment

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

I figured it was better for the tests to all have their own separate "projects" in testdata; didn't want to have to update every test when we made changes to further test a single feature.

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, I agree with this sentiment and it's consistent with the way we structure test data elsewhere in the code base.

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, I agree with this sentiment and it's consistent with the way we structure test data elsewhere in the code base.

@stefanvanburen stefanvanburen merged commit 74f2768 into main Jan 6, 2026
10 checks passed
@stefanvanburen stefanvanburen deleted the svanburen/definition-tests branch January 6, 2026 13:58
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.

3 participants