Skip to content

chore(deps): Update @fastify/multipart used in tests to the latest version#7379

Merged
uurien merged 1 commit intomasterfrom
ugaitz/update-fastify-multipart-test-dependency
Jan 29, 2026
Merged

chore(deps): Update @fastify/multipart used in tests to the latest version#7379
uurien merged 1 commit intomasterfrom
ugaitz/update-fastify-multipart-test-dependency

Conversation

@uurien
Copy link
Copy Markdown
Collaborator

@uurien uurien commented Jan 29, 2026

Please make sure your changes are properly tested!

What does this PR do?

Update @fastify/multipart used in tests to the latest version and skips the tests for latest version of multipart with the newest version of multipart.

Motivation

Test was failing in the automatic PR: #7372

Additional Notes

@github-actions
Copy link
Copy Markdown
Contributor

Overall package size

Self size: 4.46 MB
Deduped: 5.3 MB
No deduping: 5.3 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 2.0.3 | 76.87 kB | 808.03 kB | | dc-polyfill | 0.1.10 | 26.73 kB | 26.73 kB |

🤖 This report was automatically generated by heaviest-objects-in-the-universe

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.16%. Comparing base (d51ac85) to head (b3d74cc).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7379      +/-   ##
==========================================
+ Coverage   86.02%   86.16%   +0.13%     
==========================================
  Files         515      515              
  Lines       22245    22245              
==========================================
+ Hits        19137    19168      +31     
+ Misses       3108     3077      -31     
Flag Coverage Δ
aiguard-macos 99.09% <ø> (?)
aiguard-ubuntu 99.09% <ø> (ø)
aiguard-windows 99.09% <ø> (ø)
apm-capabilities-tracing-macos 57.84% <ø> (ø)
apm-capabilities-tracing-ubuntu 57.83% <ø> (ø)
apm-capabilities-tracing-windows 57.45% <ø> (ø)
apm-integrations-child-process 99.19% <ø> (ø)
apm-integrations-couchbase-18 100.00% <ø> (ø)
apm-integrations-couchbase-eol 100.00% <ø> (ø)
appsec-express 62.54% <ø> (ø)
appsec-fastify 58.55% <ø> (ø)
appsec-graphql 53.40% <ø> (ø)
appsec-kafka 43.98% <ø> (ø)
appsec-ldapjs 46.04% <ø> (ø)
appsec-lodash 47.29% <ø> (ø)
appsec-macos 93.76% <ø> (ø)
appsec-mongodb-core 51.82% <ø> (ø)
appsec-mongoose 50.73% <ø> (ø)
appsec-mysql 54.16% <ø> (ø)
appsec-node-serialize 43.92% <ø> (ø)
appsec-passport 48.07% <ø> (ø)
appsec-postgres 54.51% <ø> (ø)
appsec-sourcing 33.80% <ø> (ø)
appsec-template 43.92% <ø> (ø)
appsec-ubuntu 93.76% <ø> (ø)
appsec-windows 93.76% <ø> (ø)
llmobs-ai 52.09% <ø> (ø)
llmobs-anthropic 42.73% <ø> (ø)
llmobs-bedrock 40.06% <ø> (ø)
llmobs-google-genai 45.89% <ø> (ø)
llmobs-langchain 50.15% <ø> (ø)
llmobs-openai 55.62% <ø> (ø)
llmobs-vertex-ai 44.48% <ø> (ø)
platform-core 87.23% <ø> (ø)
platform-instrumentations-misc 89.16% <ø> (ø)
platform-shimmer 98.80% <ø> (ø)
platform-unit-guardrails 89.47% <ø> (?)
profiling-macos 70.74% <ø> (ø)
profiling-ubuntu 70.74% <ø> (ø)
profiling-windows 74.20% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pr-commenter
Copy link
Copy Markdown

pr-commenter bot commented Jan 29, 2026

Benchmarks

Benchmark execution time: 2026-01-29 14:24:28

Comparing candidate commit b3d74cc in PR branch ugaitz/update-fastify-multipart-test-dependency with baseline commit d51ac85 in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 230 metrics, 30 unstable metrics.

{
"name": "@fastify/multipart",
"versions": [">=6"]
"versions": [">=6", "9.3.0"]
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This forces the execution of the tests with 9.3.0 version of @fastify/multipart and prevents to be skipped because it has a newer version.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we still testing newer versions than 9.3 as well?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, they are. For example here: https://github.com/DataDog/dd-trace-js/actions/runs/21481537300/job/61880423233

Suspicious request blocking - multipart
      with @fastify/multipart >=6 (6.0.0)
        - should not block the request without an attack
        - should block the request when attack is detected
      with @fastify/multipart >=6 (9.4.0)
        ✔ should not block the request without an attack
        ✔ should block the request when attack is detected
      with @fastify/multipart 9.3.0 (9.3.0)
        ✔ should not block the request without an attack
        ✔ should block the request when attack is detected

But without that, the 9.3.0 would be skipped, because it is not the oldest nor the latest, as it is the latest that works with fastify 3.0.0, I want to run it also

@uurien uurien changed the title chore: Update @fastify/multipart used in tests to the latest version chore(deps): Update @fastify/multipart used in tests to the latest version Jan 29, 2026
@datadog-datadog-prod-us1
Copy link
Copy Markdown

datadog-datadog-prod-us1 bot commented Jan 29, 2026

⚠️ Tests

Fix all issues with Cursor

⚠️ Warnings

🧪 2 Tests failed

IAST - overhead-controller - integration "after each" hook for "should report vulnerability only in the first request" from vulnerability sampling algorithm (Datadog) (Fix with Cursor)
Cannot read properties of undefined (reading 'kill')

TypeError: Cannot read properties of undefined (reading 'kill')
    at Context.<anonymous> (packages/dd-trace/test/appsec/iast/overhead-controller.integration.spec.js:27:10)
    at process.processImmediate (node:internal/timers:504:21)
IAST - overhead-controller - integration vulnerability sampling algorithm "before each" hook for "should report vulnerability only in the first request" from vulnerability sampling algorithm (Datadog) (Fix with Cursor)
Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/Users/runner/work/dd-trace-js/dd-trace-js/packages/dd-trace/test/appsec/iast/overhead-controller.integration.spec.js)

Error: Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/Users/runner/work/dd-trace-js/dd-trace-js/packages/dd-trace/test/appsec/iast/overhead-controller.integration.spec.js)
    at listOnTimeout (node:internal/timers:605:17)
    at process.processTimers (node:internal/timers:541:7)

ℹ️ Info

❄️ No new flaky tests detected

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: b3d74cc | Docs | Datadog PR Page | Was this helpful? Give us feedback!

@uurien uurien marked this pull request as ready for review January 29, 2026 15:02
@uurien uurien requested review from a team as code owners January 29, 2026 15:02
@uurien uurien merged commit 27af201 into master Jan 29, 2026
822 of 824 checks passed
@uurien uurien deleted the ugaitz/update-fastify-multipart-test-dependency branch January 29, 2026 15:16
@dd-octo-sts dd-octo-sts bot mentioned this pull request Jan 29, 2026
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.

3 participants