Skip to content

Conversation

@abhilash-sivan
Copy link

Which problem is this PR solving?

Short description of the changes

  • Added mongodb v7 and appropriate tests

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Dec 8, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

@github-actions github-actions bot requested a review from onurtemizkan December 8, 2025 07:33
@abhilash-sivan abhilash-sivan changed the title feat(instrumentation-mongodb): added support for mongodb v7 feat(instrumentation-mongodb): add support for mongodb v7 Dec 10, 2025
@abhilash-sivan abhilash-sivan force-pushed the feat-instrumentation-mongodb branch from f172a56 to d6dad28 Compare December 10, 2025 12:45
@abhilash-sivan
Copy link
Author

Hi @onurtemizkan,
Could you please approve the test workflow ?

Copy link
Member

@onurtemizkan onurtemizkan left a 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?

Comment on lines +81 to +88
// 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;
}

Copy link
Member

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

Copy link
Author

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

Comment on lines +19 to +20
"tdd": "npm run test-v7 -- --watch-extensions ts --watch",
"test": "npm run test-v7 && npm run test-unit",
Copy link
Member

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?

@abhilash-sivan abhilash-sivan force-pushed the feat-instrumentation-mongodb branch from 6a7e61c to 01367e5 Compare December 11, 2025 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants