-
Notifications
You must be signed in to change notification settings - Fork 621
feat(instrumentation-mongodb): add support for mongodb v7 #3283
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
base: main
Are you sure you want to change the base?
feat(instrumentation-mongodb): add support for mongodb v7 #3283
Conversation
f172a56 to
d6dad28
Compare
|
Hi @onurtemizkan, |
onurtemizkan
left a comment
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.
Thanks @abhilash-sivan, I added a few comments.
Looks like I can't approve the workflow run, but when I tried to run the tests locally, it's flaking.
@david-luna, can you please help us approve the CI flow?
| // MongoDB v7 requires Node.js >= 20.19.0 | ||
| if (!semver.satisfies(process.version, '>=20.19.0')) { | ||
| console.log( | ||
| `Skipping mongodb v7 tests. Node.js ${process.version} does not meet minimum requirement of >=20.19.0` | ||
| ); | ||
| shouldTest = false; | ||
| } | ||
|
|
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 like this skips tests for all MongoDB versions for Node < 20
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.
Yeah, I understand. I will update this one
| "tdd": "npm run test-v7 -- --watch-extensions ts --watch", | ||
| "test": "npm run test-v7 && npm run test-unit", |
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.
Updating our default MongoDB version / and default tests to v7 means that the contributors will need to update their Node version, right? @david-luna, are there any concerns about it?
6a7e61c to
01367e5
Compare
Which problem is this PR solving?
Short description of the changes