Skip to content

[test optimization] Add support for automatic code coverage report upload#7243

Closed
juan-fernandez wants to merge 4 commits intomasterfrom
juan-fernandez/session-level-coverage-report-upload
Closed

[test optimization] Add support for automatic code coverage report upload#7243
juan-fernandez wants to merge 4 commits intomasterfrom
juan-fernandez/session-level-coverage-report-upload

Conversation

@juan-fernandez
Copy link
Collaborator

What does this PR do?

Motivation

Plugin Checklist

Additional Notes

@codecov
Copy link

codecov bot commented Jan 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.55%. Comparing base (e6e966d) to head (f859f98).
⚠️ Report is 19 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7243      +/-   ##
==========================================
- Coverage   84.91%   79.55%   -5.37%     
==========================================
  Files         515      297     -218     
  Lines       22221    11521   -10700     
==========================================
- Hits        18870     9166    -9704     
+ Misses       3351     2355     -996     
Flag Coverage Δ
aiguard-macos 99.09% <ø> (ø)
aiguard-ubuntu 99.09% <ø> (ø)
aiguard-windows 99.09% <ø> (ø)
apm-capabilities-tracing-macos ?
apm-capabilities-tracing-ubuntu ?
apm-capabilities-tracing-windows ?
apm-integrations-child-process 99.19% <ø> (ø)
apm-integrations-couchbase-18 100.00% <ø> (ø)
apm-integrations-couchbase-eol 100.00% <ø> (ø)
appsec-express 62.46% <ø> (ø)
appsec-fastify 58.48% <ø> (ø)
appsec-graphql 53.41% <ø> (ø)
appsec-kafka 43.98% <ø> (ø)
appsec-ldapjs 46.04% <ø> (ø)
appsec-lodash 47.29% <ø> (ø)
appsec-macos ?
appsec-mongodb-core 51.82% <ø> (ø)
appsec-mongoose 50.73% <ø> (ø)
appsec-mysql 54.20% <ø> (ø)
appsec-node-serialize 43.92% <ø> (ø)
appsec-passport 48.10% <ø> (ø)
appsec-postgres 54.55% <ø> (ø)
appsec-sourcing 33.80% <ø> (ø)
appsec-template 43.92% <ø> (ø)
appsec-ubuntu ?
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 73.68% <ø> (ø)
platform-shimmer 98.82% <ø> (ø)
platform-unit-guardrails 89.47% <ø> (ø)
profiling-macos 70.74% <ø> (ø)
profiling-ubuntu 70.74% <ø> (ø)
profiling-windows 74.18% <ø> (ø)

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.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 14, 2026

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

@datadog-datadog-prod-us1
Copy link

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

⚠️ Tests

Fix all issues with Cursor

⚠️ Warnings

🧪 156 Tests failed

[email protected] commonJS reporting via agentless intelligent test runner can report code coverage from integration-tests/cucumber/cucumber.spec.js (Datadog) (Fix with Cursor)
The input did not match the regular expression /Lines {8}: 100%/. Input:

'node:internal/modules/cjs/loader:1140\n' +
  '  const err = new Error(message);\n' +
  '              ^\n' +
  '\n' +
  "Error: Cannot find module '../../../config-helper'\n" +
  'Require stack:\n' +
  '- /tmp/2811f5506067decc/5e57b057cdf71cee/node_modules/dd-trace/packages/dd-trace/src/ci-visibility/exporters/agentless/coverage-report-writer.js\n' +
  '- /tmp/2811f5506067decc/5e57b057cdf71cee/node_modules/dd-trace/packages/datadog-plugin-nyc/src/index.js\n' +
...
[email protected] commonJS reporting via agentless intelligent test runner can report code coverage from integration-tests/cucumber/cucumber.spec.js (Datadog) (Fix with Cursor)
The input did not match the regular expression /Lines {8}: 100%/. Input:

'node:internal/modules/cjs/loader:1421\n' +
  '  const err = new Error(message);\n' +
  '              ^\n' +
  '\n' +
  "Error: Cannot find module '../../../config-helper'\n" +
  'Require stack:\n' +
  '- /tmp/56478f43fe613180/211d255c0818a612/node_modules/dd-trace/packages/dd-trace/src/ci-visibility/exporters/agentless/coverage-report-writer.js\n' +
  '- /tmp/56478f43fe613180/211d255c0818a612/node_modules/dd-trace/packages/datadog-plugin-nyc/src/index.js\n' +
...
[email protected] commonJS reporting via agentless intelligent test runner can skip suites received by the intelligent test runner API and still reports code coverage from integration-tests/cucumber/cucumber.spec.js (Datadog) (Fix with Cursor)
Timeout
View all

ℹ️ Info

❄️ No new flaky tests detected

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

@pr-commenter
Copy link

pr-commenter bot commented Jan 14, 2026

Benchmarks

Benchmark execution time: 2026-01-26 11:41:09

Comparing candidate commit f859f98 in PR branch juan-fernandez/session-level-coverage-report-upload with baseline commit e6e966d in branch master.

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

@juan-fernandez
Copy link
Collaborator Author

superseded by #7335

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.

1 participant