-
Notifications
You must be signed in to change notification settings - Fork 839
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
chore(deps): remove unused cpx dependencies and update used ones to cpx2 #4510
chore(deps): remove unused cpx dependencies and update used ones to cpx2 #4510
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4510 +/- ##
==========================================
- Coverage 93.32% 92.84% -0.49%
==========================================
Files 84 328 +244
Lines 1694 9481 +7787
Branches 349 2031 +1682
==========================================
+ Hits 1581 8803 +7222
- Misses 113 678 +565 |
|
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.
(It looks like cpx2 is only used as a test package for RequireInTheMiddleSingleton, so picking some other module, or manually creating a local module in a fixtures/ subdir and using that directly would work as well. However, using cpx2 seems fine.)
Yep, opened a follow-up issue: #4533 |
Hmm, interestingly it failed on windows again. 🤔 |
The windows failure was a timeout:
I think mocha has a default timeout of 2s. Even running these tests locally on my dev macOS laptop, those particular test cases are slow:
Also, interestingly, the preceding diff --git a/experimental/packages/opentelemetry-instrumentation/test/node/RequireInTheMiddleSingleton.test.ts b/experimental/packages/opentelemetry-instrumentation/test/node/RequireInTheMiddleSingleton.test.ts
index 1ba41bd0..75cd0ad6 100644
--- a/experimental/packages/opentelemetry-instrumentation/test/node/RequireInTheMiddleSingleton.test.ts
+++ b/experimental/packages/opentelemetry-instrumentation/test/node/RequireInTheMiddleSingleton.test.ts
@@ -178,7 +178,7 @@ describe('RequireInTheMiddleSingleton', () => {
modulePath,
baseDir
);
- });
+ }).timeout(30000);
});
});
}); |
This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
yep that seems to work, marking it as ready-to-review again. |
…px2 (open-telemetry#4510) * chore(deps): remove unused cpx dependencies and update used ones to cpx2 * fix: sync package-lock, introduce timeout
Which problem is this PR solving?
cpx
withcpx2
where it's used, removescpx
where it's not used anymore.Supersedes #4506