Skip to content
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

allow next('route') and next('router') in router plugin #2621

Merged
merged 1 commit into from
Dec 22, 2022

Conversation

bengl
Copy link
Collaborator

@bengl bengl commented Dec 16, 2022

Previously these were being treated as errors, when in fact these are normal in Router.

Fixes #2607

What does this PR do?

@bengl bengl requested a review from a team as a code owner December 16, 2022 04:07
@codecov
Copy link

codecov bot commented Dec 16, 2022

Codecov Report

Merging #2621 (308881e) into master (c479d05) will increase coverage by 0.16%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #2621      +/-   ##
==========================================
+ Coverage   88.96%   89.12%   +0.16%     
==========================================
  Files         296      296              
  Lines       10295    10355      +60     
  Branches       33       33              
==========================================
+ Hits         9159     9229      +70     
+ Misses       1136     1126      -10     
Impacted Files Coverage Δ
packages/datadog-instrumentations/src/router.js 90.58% <100.00%> (+9.41%) ⬆️
packages/datadog-instrumentations/src/jest.js 83.56% <0.00%> (-0.39%) ⬇️
packages/dd-trace/src/config.js 98.50% <0.00%> (-0.02%) ⬇️
packages/dd-trace/src/appsec/index.js 100.00% <0.00%> (ø)
packages/datadog-plugin-mocha/src/index.js 0.00% <0.00%> (ø)
packages/datadog-instrumentations/src/pg.js 82.92% <0.00%> (ø)
packages/dd-trace/src/appsec/rule_manager.js 100.00% <0.00%> (ø)
packages/datadog-instrumentations/src/mocha.js 0.00% <0.00%> (ø)
packages/dd-trace/src/appsec/callbacks/ddwaf.js 100.00% <0.00%> (ø)
packages/dd-trace/src/telemetry/dependencies.js 100.00% <0.00%> (ø)
... and 6 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@pr-commenter
Copy link

pr-commenter bot commented Dec 16, 2022

Benchmarks

Comparing candidate commit 308881e in PR branch bengl/router-next-route with baseline commit c479d05 in branch master.

Found 0 performance improvements and 1 performance regressions! Performance is the same for 965 cases.

Qard
Qard previously approved these changes Dec 16, 2022
Previously these were being treated as errors, when in fact these are
normal in Router.

Fixes #2607
@Qard Qard merged commit bb4d6b5 into master Dec 22, 2022
@Qard Qard deleted the bengl/router-next-route branch December 22, 2022 19:33
Qard pushed a commit that referenced this pull request Dec 22, 2022
Previously these were being treated as errors, when in fact these are
normal in Router.

Fixes #2607
Qard pushed a commit that referenced this pull request Dec 22, 2022
Previously these were being treated as errors, when in fact these are
normal in Router.

Fixes #2607
Qard pushed a commit that referenced this pull request Dec 23, 2022
Previously these were being treated as errors, when in fact these are
normal in Router.

Fixes #2607
juan-fernandez pushed a commit that referenced this pull request Jan 3, 2023
Previously these were being treated as errors, when in fact these are
normal in Router.

Fixes #2607
juan-fernandez pushed a commit that referenced this pull request Jan 4, 2023
Previously these were being treated as errors, when in fact these are
normal in Router.

Fixes #2607
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.

Skipping express middleware throws an error in span
3 participants