-
Notifications
You must be signed in to change notification settings - Fork 895
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
GODRIVER-3096 Fixed perfomance CI break by running benchmark pkg not main #1702
GODRIVER-3096 Fixed perfomance CI break by running benchmark pkg not main #1702
Conversation
API Change ReportNo changes found! |
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.
Reran failed test for 8.0 RHEL test-sharded-auth-ssl-zlib-compression which passed after rerun. LGTM!
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.
Compile Check Error found: [2024/07/15 19:08:02.423] ../../../../../../pkg/mod/github.com/klauspost/[email protected]/zstd/dict.go:492:32: binary.LittleEndian.AppendUint32 undefined (type binary.littleEndian has no field or method AppendUint32)
[2024/07/15 19:08:02.423] note: module requires Go 1.20
from Evergreen Patch Error.
It seems from this error that the compress package used at v1.17.8 only works for Go 1.20. I suggest to downgrade the version to github.com/klauspost/compress v1.13.6
on Line 19 of this file used in GODRIVER v1 which is compatible with Go 1.18 or a possible later version that can work with go version 1.18.
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.
Great catch!
…z/mongo-go-driver into run-benchmark-pkg-not-main
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.
LGTM!
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.
Looks good! 👍
GODRIVER-3096
Summary
Downgrade benchmark to minimum supported version Go 1.18, add benchmark to the workspace.
Background & Motivation
The changes made in b524a7e no longer work with the performance CI test. Additionally, we should be using the minimum supported version 1.18.