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

[languageserver] Update to Cadence v1.0.0-preview.25 #358

Merged
merged 2 commits into from
May 2, 2024

Conversation

@turbolent turbolent requested review from SupunS and dsainati1 as code owners May 2, 2024 18:41
Comment on lines +3 to +5
go 1.21

toolchain go1.21.9
Copy link
Member Author

Choose a reason for hiding this comment

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

Looks like flowkit is already on Go 1.21 now

@turbolent
Copy link
Member Author

Guess because of the Go version bump to 1.21 we need to update npm-packages/cadence-language-server/src/go.js again 🙄

@turbolent
Copy link
Member Author

No idea why the Go 1.21 breaks the WASM LS. From 1.20 to 1.21, something seems to have changed about timeouts. I tried a few things but no luck :/

@turbolent
Copy link
Member Author

All tests actually pass. What causes the CI failure is that after all tests have run, the test suite's shutdown function notifies the LS to exit, which calls os.Exit. Somehow this causes a timing issue starting in Go 1.21.

Will merge and we'll need to address this in a follow-up.

@turbolent turbolent merged commit 30a544d into master May 2, 2024
5 of 6 checks passed
@turbolent turbolent deleted the auto-update-onflow-cadence-v1.0.0-preview.25 branch May 2, 2024 21:29
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