Skip to content
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

Pin go version to avoid gopls issues #1756

Closed
wants to merge 1 commit into from

Conversation

puremourning
Copy link
Member

@puremourning puremourning commented Aug 15, 2024

This change is Reviewable

  • latest stable go 1.23 is incompatible with our gopls version
  • we can't just upgrade gopls because the new gopls includes code action command that use showDocument requests which are not supported by YCM, and gopls ignores the client capability

So to make CI green we pin the go version. Unfortunately this is temporary as users will eventually start using new go and having gopls problems.

@puremourning
Copy link
Member Author

Related gopls bug: golang/go#68904

Copy link
Member Author

@puremourning puremourning left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: 1 of 2 LGTMs obtained (waiting on @puremourning)

@puremourning puremourning added the Ship It! Manual override to merge a PR by maintainer label Aug 15, 2024
@bstaletic
Copy link
Collaborator

Just one other suggestion, since currently some users will run into the problem with the new go.
How about we add @ExpectedFailure to the two FixIt tests?

@puremourning
Copy link
Member Author

Actually that's a good idea. We can just reference the bug.

@bstaletic
Copy link
Collaborator

We can close this one.
Still, thanks for trying to fix it.

@bstaletic bstaletic closed this Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ship It! Manual override to merge a PR by maintainer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants