Skip to content

fix(core): Conditionally add tracing headers#907

Merged
chargome merged 2 commits intomainfrom
cg/telemetry-headers
Mar 31, 2026
Merged

fix(core): Conditionally add tracing headers#907
chargome merged 2 commits intomainfrom
cg/telemetry-headers

Conversation

@chargome
Copy link
Copy Markdown
Member

Our trace data was added unconditionally here.

closes #889

@chargome chargome self-assigned this Mar 31, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 31, 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 ✨

  • Use crypto.randomUUID rather than uuid by timfish in #892

Bug Fixes 🐛

  • (core) Conditionally add tracing headers by chargome in #907
  • (e2e-tests) Pin axios to 1.13.5 to avoid compromised 1.14.1 by andreiborza in #906
  • Add missing webpack5 entrypoint in webpack-plugin by brunodccarvalho in #905

Internal Changes 🔧

  • Vite integration tests by timfish in #899
  • Webpack integration tests by timfish in #904
  • Isolate integration test package installs by timfish in #902
  • Pin GitHub Actions to full-length commit SHAs by joshuarli in #900
  • Rollup integration tests by timfish in #897
  • New integration tests by timfish in #896
  • Remove lerna by timfish in #895
  • Migrate to Vitest by timfish in #894

🤖 This preview updates automatically when you update the PR.

@chargome chargome requested review from Lms24 and cleptric March 31, 2026 11:25
vcsRemote: options.release.vcsRemote,
headers: {
...getTraceData(),
...(options.telemetry ? getTraceData() : {}),
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.

to double-check: We somewhere set this to true by default, correct?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

defaults to true

@chargome chargome merged commit 97614c9 into main Mar 31, 2026
54 of 56 checks passed
@chargome chargome deleted the cg/telemetry-headers branch March 31, 2026 12:33
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.

Plugin sets sentry-trace despite telemetry being set to false

2 participants