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

Update to xk6-websockets v0.2.0 #3006

Merged
merged 1 commit into from Apr 5, 2023
Merged

Update to xk6-websockets v0.2.0 #3006

merged 1 commit into from Apr 5, 2023

Conversation

mstoykov
Copy link
Collaborator

@mstoykov mstoykov commented Apr 5, 2023

This "fixes" a potential lock up, but that was already fixed in k6 in #3004.

So this is mostly a somewhat of refactor and simplying PR.

As well as make ping throw an exception if used with a closed connection.

@mstoykov mstoykov added this to the v0.44.0 milestone Apr 5, 2023
@github-actions github-actions bot requested review from codebien and na-- April 5, 2023 14:19
# github.com/grafana/xk6-websockets v0.1.6
## explicit; go 1.17
# github.com/grafana/xk6-websockets v0.2.0
## explicit; go 1.18
Copy link
Collaborator

@codebien codebien Apr 5, 2023

Choose a reason for hiding this comment

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

I think we could align with k6

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I am not even certain why we have bumpbed to 1.19 - I don't think we use anything from it.

The only reason why I did it for xk6-websockets was to stop having to give -compat 1.17, so I don't really care. But will prefer to not have to try to keep this number in sync, given that I don't see a reason to do it.

Copy link
Member

Choose a reason for hiding this comment

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

I bumped go.mod to go 1.19 to align it with the officially supported Go versions, and to also resolve some issues with go mod tidy not working well when it was go 1.17.

Copy link
Member

@na-- na-- left a comment

Choose a reason for hiding this comment

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

(with the disclaimer I haven't followed the recent xk6-websockets discussions)

@mstoykov mstoykov merged commit a3e9007 into master Apr 5, 2023
21 checks passed
@mstoykov mstoykov deleted the updateXk6WebSockets branch April 5, 2023 15:03
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.

None yet

3 participants