-
Notifications
You must be signed in to change notification settings - Fork 749
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
Update Go version to 1.19 #2428
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couldn't verify .devcontainer/devcontainer.json
because I'm not familiar with the VS Code IDE. Otherwise, the change looks good to me with the exception of the comment found in endpoints/cookie_sync_test.go
shown below:
1829 // ErrReader returns an io.Reader that returns 0, err from all Read calls. This is added in
1830 // Go 1.16. Copied here for now until we switch over.
1831 func ErrReader(err error) io.Reader {
1832 return &errReader{err: err}
1833 }
endpoints/cookie_sync_test.go
Can we modify or, if needed, remove?
@@ -6,7 +6,7 @@ | |||
"dockerfile": "Dockerfile", | |||
"args": { | |||
// Update the VARIANT arg to pick a version of Go | |||
"VARIANT": "1.16", | |||
"VARIANT": "1.19", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AlexBVolcy I don't use VS Code so I can't assert this line to be correct
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good. I'm just waiting on @SyntaxNode to verify .devcontainer/devcontainer.json before approval
@guscarreon thanks for bringing my attention to the comment in file |
The tests failed. Turns out, Go 1.18 added a new feature where the binary includes information about the git repository. This breaks in the dev container since git isn't really available. I've implemented (and tested) a fix along with updates to now-outdated config. Please update to this file:
|
Waiting for update based on @SyntaxNode comment before approval. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for addressing our feedback @4lexvav . Changes look good to me
No description provided.