Skip to content

chore(ci): Remove codecov steps from jobs that produce no coverage/JUnit data#20244

Merged
mydea merged 2 commits intodevelopfrom
fn/fix-ci-codecov-warnings
Apr 13, 2026
Merged

chore(ci): Remove codecov steps from jobs that produce no coverage/JUnit data#20244
mydea merged 2 commits intodevelopfrom
fn/fix-ci-codecov-warnings

Conversation

@mydea
Copy link
Copy Markdown
Member

@mydea mydea commented Apr 13, 2026

Summary

  • Remove getsentry/codecov-action from CI jobs that don't produce coverage or JUnit XML files, eliminating noisy warnings in every CI run
  • Disable coverage upload for Playwright browser integration tests that only produce JUnit XML

Jobs cleaned up:

Job Issue Fix
Node Integration Tests Coverage disabled in vitest config, custom reporters without JUnit Removed codecov step entirely
Node-Core Integration Tests Same as above Removed codecov step entirely
E2E Tests Uses ts-node/Playwright, not vitest Removed codecov step entirely
Remix Tests Custom vitest config without coverage/JUnit Removed codecov step entirely
Playwright Browser Tests No coverage files (Playwright, not vitest) Added enable-coverage: false
PW Loader Tests Same as above Added enable-coverage: false

Warnings eliminated:

  • No coverage files found (from integration tests, E2E, Remix, Playwright jobs)
  • No JUnit XML files found matching pattern: dev-packages/{node,node-core}-integration-tests/**/*.junit.xml
  • No JUnit XML files found matching pattern: dev-packages/e2e-tests/**/*.junit.xml
  • Please ensure your test framework is generating JUnit XML output
  • Supported formats: clover, cobertura, jacoco, lcov, istanbul, go, codecov

Not addressed (upstream issue):

  • Entity expansion limit exceeded: 100X > 1000 on vitest JUnit XML files — this is a parser limitation in getsentry/codecov-action that affects large test suites (browser, core, node, nextjs, etc.)

Test plan

  • CI runs cleanly without the removed warnings
  • Coverage still uploads correctly for Browser Unit Tests and Node Unit Tests

🤖 Generated with Claude Code

mydea and others added 2 commits April 13, 2026 14:06
…t data

Several CI jobs were running `getsentry/codecov-action` despite not producing
any coverage or JUnit XML files, causing noisy warnings in every CI run:

- Node integration tests: coverage disabled in vitest config, custom reporters
  without JUnit output
- Node-core integration tests: same as above
- E2E tests: use ts-node/Playwright, not vitest — no coverage or JUnit
- Remix tests: custom vitest config without coverage or JUnit reporter

Also disables coverage upload for Playwright browser integration tests (both
regular and loader), which only produce JUnit XML but not coverage files.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 13, 2026

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

Core

  • Automatically disable truncation when span streaming is enabled in LangGraph integration by andreiborza in #20231
  • Automatically disable truncation when span streaming is enabled in LangChain integration by andreiborza in #20230
  • Automatically disable truncation when span streaming is enabled in Google GenAI integration by andreiborza in #20229
  • Automatically disable truncation when span streaming is enabled in Anthropic AI integration by andreiborza in #20228
  • Automatically disable truncation when span streaming is enabled in Vercel AI integration by andreiborza in #20232
  • Automatically disable truncation when span streaming is enabled in OpenAI integration by andreiborza in #20227
  • Add enableTruncation option to Vercel AI integration by nicohrubec in #20195
  • Add enableTruncation option to Google GenAI integration by andreiborza in #20184
  • Add enableTruncation option to Anthropic AI integration by andreiborza in #20181
  • Add enableTruncation option to LangGraph integration by andreiborza in #20183
  • Add enableTruncation option to LangChain integration by andreiborza in #20182
  • Add enableTruncation option to OpenAI integration by andreiborza in #20167
  • Export a reusable function to add tracing headers by JPeer264 in #20076

Deps

  • Bump axios from 1.13.5 to 1.15.0 by dependabot in #20180
  • Bump hono from 4.12.7 to 4.12.12 by dependabot in #20118
  • Bump defu from 6.1.4 to 6.1.6 by dependabot in #20104

Other

  • (cloudflare) Propagate traceparent to RPC calls - via fetch by JPeer264 in #19991

Bug Fixes 🐛

Deno

  • Handle reader.closed rejection from releaseLock() in streaming by andreiborza in #20187
  • Avoid inferring invalid span op from Deno tracer by Lms24 in #20128

Other

  • (ci) Prevent command injection in ci-metadata workflow by fix-it-felix-sentry in #19899
  • (e2e) Add op check to waitForTransaction in React Router e2e tests by copilot-swe-agent in #20193
  • (node-integration-tests) Fix flaky kafkajs test race condition by copilot-swe-agent in #20189

Internal Changes 🔧

Deps

  • Bump hono from 4.12.7 to 4.12.12 in /dev-packages/e2e-tests/test-applications/cloudflare-hono by dependabot in #20119
  • Bump axios from 1.13.5 to 1.15.0 in /dev-packages/e2e-tests/test-applications/nestjs-basic by dependabot in #20179

Other

  • (bugbot) Add rules to flag test-flake-provoking patterns by Lms24 in #20192
  • (ci) Remove codecov steps from jobs that produce no coverage/JUnit data by mydea in #20244
  • (deps-dev) Bump vite from 7.2.0 to 7.3.2 in /dev-packages/e2e-tests/test-applications/tanstackstart-react by dependabot in #20107
  • (react) Remove duplicated test mock by s1gr1d in #20200
  • (size-limit) Bump failing size limit scenario by Lms24 in #20186
  • Fix flaky ANR test by increasing blocking duration by JPeer264 in #20239
  • Add automatic flaky test detector by nicohrubec in #18684

🤖 This preview updates automatically when you update the PR.

@mydea mydea self-assigned this Apr 13, 2026
@mydea mydea changed the title fix(ci): Remove codecov steps from jobs that produce no coverage/JUnit data chore(ci): Remove codecov steps from jobs that produce no coverage/JUnit data Apr 13, 2026
@github-actions
Copy link
Copy Markdown
Contributor

size-limit report 📦

⚠️ Warning: Base artifact is not the latest one, because the latest workflow run is not done yet. This may lead to incorrect results. Try to re-run all tests to get up to date results.

Path Size % Change Change
@sentry/browser 25.72 kB - -
@sentry/browser - with treeshaking flags 24.21 kB - -
@sentry/browser (incl. Tracing) 42.73 kB - -
@sentry/browser (incl. Tracing, Profiling) 47.35 kB - -
@sentry/browser (incl. Tracing, Replay) 81.54 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 71.11 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 86.25 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 98.45 kB - -
@sentry/browser (incl. Feedback) 42.51 kB - -
@sentry/browser (incl. sendFeedback) 30.39 kB - -
@sentry/browser (incl. FeedbackAsync) 35.38 kB - -
@sentry/browser (incl. Metrics) 27.04 kB - -
@sentry/browser (incl. Logs) 27.18 kB - -
@sentry/browser (incl. Metrics & Logs) 27.86 kB - -
@sentry/react 27.48 kB - -
@sentry/react (incl. Tracing) 45.05 kB - -
@sentry/vue 30.56 kB - -
@sentry/vue (incl. Tracing) 44.59 kB - -
@sentry/svelte 25.74 kB - -
CDN Bundle 28.41 kB - -
CDN Bundle (incl. Tracing) 43.75 kB - -
CDN Bundle (incl. Logs, Metrics) 29.78 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 44.83 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 68.59 kB - -
CDN Bundle (incl. Tracing, Replay) 80.64 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 81.66 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 86.17 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 87.2 kB - -
CDN Bundle - uncompressed 82.99 kB - -
CDN Bundle (incl. Tracing) - uncompressed 129.77 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 87.14 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 133.19 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 210.12 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 246.65 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 250.05 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 259.56 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 262.95 kB - -
@sentry/nextjs (client) 47.47 kB - -
@sentry/sveltekit (client) 43.2 kB - -
@sentry/node-core 57.86 kB +0.02% +6 B 🔺
@sentry/node 174.93 kB +0.03% +44 B 🔺
@sentry/node - without tracing 97.97 kB +0.03% +20 B 🔺
@sentry/aws-serverless 115.22 kB +0.02% +19 B 🔺

View base workflow run

@github-actions
Copy link
Copy Markdown
Contributor

node-overhead report 🧳

Note: This is a synthetic benchmark with a minimal express app and does not necessarily reflect the real-world performance impact in an application.

Scenario Requests/s % of Baseline Prev. Requests/s Change %
GET Baseline 8,666 - 9,311 -7%
GET With Sentry 1,710 20% 1,810 -6%
GET With Sentry (error only) 6,011 69% 6,200 -3%
POST Baseline 1,193 - 1,212 -2%
POST With Sentry 611 51% 624 -2%
POST With Sentry (error only) 1,047 88% 1,066 -2%
MYSQL Baseline 3,169 - 3,149 +1%
MYSQL With Sentry 450 14% 484 -7%
MYSQL With Sentry (error only) 2,611 82% 2,637 -1%

View base workflow run

@mydea
Copy link
Copy Markdown
Member Author

mydea commented Apr 13, 2026

Related: getsentry/codecov-action#77

@mydea mydea merged commit 45d7b06 into develop Apr 13, 2026
75 checks passed
@mydea mydea deleted the fn/fix-ci-codecov-warnings branch April 13, 2026 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants