-
Notifications
You must be signed in to change notification settings - Fork 517
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
test(nestjs-core): fixed nestjs-core tav to work on all node versions #1148
test(nestjs-core): fixed nestjs-core tav to work on all node versions #1148
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1148 +/- ##
=======================================
Coverage 96.07% 96.07%
=======================================
Files 14 14
Lines 892 892
Branches 191 191
=======================================
Hits 857 857
Misses 35 35 |
We're not getting the latest versions of these dependencies in our tests now though right? Isn't it better to test in an environment as similar to what a user would see as possible? It might be better to drop node 8 testing /cc @open-telemetry/javascript-maintainers |
@dyladan yes you're right. Maybe it's better to remove the whole node8 support. |
Waiting to hear what other maintainers think but removing node 8 is probably the way to go |
Thank you @osherv for fixing this. I support dropping node8 support for nest-js instrumentation, but it seems that nestjs (at least with latest version 9) suuports node >= 12.9.0. So it should fail on node10 as well, right? any idea why we see problem for node8 only? |
@blumamir Thanks :) |
@osherv, I agree - let's add skip for 10 as well and merge this. |
@rauno56 Thanks, added 10 version |
Which problem is this PR solving?
test-all-versions for node8 failed on nestjs-core@8 tests.
Here's the error:
https://github.com/open-telemetry/opentelemetry-js-contrib/runs/8134447972?check_suite_focus=true
Pinning the tests to version 8.0.0 fix the problem, and now it works for all node versions.
npm run test-all-versions
for the edited package(s) on the latest commit if applicable.