GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(sveltekit): Ensure trace meta tags are always injected by Lms24 · Pull Request #13231 · getsentry/sentry-javascript

Conversation

@Lms24

@Lms24 Lms24 commented Aug 5, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Based on #13201

Removes the incorrect root span check guarding the trace <meta> tag injection. With this fix, trace data is now also injected for Tracing Without Performance scenarios where there is no active span.

closes #13106

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Lms24
Lms24 changed the base branch from develop to lms/feat-core-metaTags August 5, 2024 12:43
@Lms24 Lms24 self-assigned this Aug 5, 2024
@Lms24 Lms24 linked an issue Aug 5, 2024 that may be closed by this pull request
[Sveltekit] Inject meta tags in Tracing-without-Performance-mode #13106
Closed
@github-actions

github-actions Bot commented Aug 5, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 22.73 KB - -
@sentry/browser - with treeshaking flags 21.53 KB - -
@sentry/browser (incl. Tracing) 34.97 KB - -
@sentry/browser (incl. Tracing, Replay) 71.54 KB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 61.94 KB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 75.87 KB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 88.64 KB - -
@sentry/browser (incl. Tracing, Replay, Feedback, metrics) 90.5 KB - -
@sentry/browser (incl. metrics) 27 KB - -
@sentry/browser (incl. Feedback) 39.87 KB - -
@sentry/browser (incl. sendFeedback) 27.38 KB - -
@sentry/browser (incl. FeedbackAsync) 32.17 KB - -
@sentry/react 25.49 KB - -
@sentry/react (incl. Tracing) 37.94 KB - -
@sentry/vue 26.9 KB - -
@sentry/vue (incl. Tracing) 36.86 KB - -
@sentry/svelte 22.87 KB - -
CDN Bundle 24.05 KB - -
CDN Bundle (incl. Tracing) 36.76 KB - -
CDN Bundle (incl. Tracing, Replay) 71.29 KB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 76.6 KB - -
CDN Bundle - uncompressed 70.53 KB - -
CDN Bundle (incl. Tracing) - uncompressed 109.04 KB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 221.13 KB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 234.34 KB - -
@sentry/nextjs (client) 37.91 KB - -
@sentry/sveltekit (client) 35.56 KB - -
@sentry/node 124.5 KB - -
@sentry/node - without tracing 93.63 KB - -
@sentry/aws-serverless 103.3 KB - -

View base workflow run

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Base automatically changed from lms/feat-core-metaTags to develop August 6, 2024 12:38
@Lms24
Lms24 force-pushed the lms/fix-sveltekit-meta-tags-twp branch from 1b0510e to 1e3e0e7 Compare August 6, 2024 12:42
@Lms24
Lms24 marked this pull request as ready for review August 6, 2024 12:42
@Lms24
Lms24 requested review from mydea and s1gr1d August 6, 2024 12:43
s1gr1d
s1gr1d approved these changes Aug 6, 2024
View reviewed changes
@Lms24

Lms24 commented Aug 7, 2024

Copy link
Copy Markdown
Member Author

I'm gonna hold off from merging this for a bit because I discovered that we have a bug in the sentry-trace meta tag where we propagate a -0 sampling decision when it should actually be deferred (i.e. not set). Gonna add some e2e tests for TwP

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Lms24
Lms24 force-pushed the lms/fix-sveltekit-meta-tags-twp branch from 1e3e0e7 to 4a23c22 Compare August 7, 2024 12:41
@s1gr1d s1gr1d mentioned this pull request Aug 8, 2024
feat(nuxt): Always add tracing meta tags #13273
Merged
@Lms24
Lms24 force-pushed the lms/fix-sveltekit-meta-tags-twp branch from 4a23c22 to fea1cb7 Compare August 9, 2024 08:28
s1gr1d added a commit that referenced this pull request Aug 12, 2024
@s1gr1d
feat(nuxt): Always add tracing meta tags (#13273)
b29d771
Making sure tracing without performance works.

ref (SvelteKit):
#13231
@Lms24
Lms24 force-pushed the lms/fix-sveltekit-meta-tags-twp branch from 2526b01 to b0d22ad Compare August 14, 2024 11:51
@Lms24
Lms24 force-pushed the lms/fix-sveltekit-meta-tags-twp branch from b0d22ad to 5e2e77a Compare September 18, 2024 14:40
@mydea

mydea commented Sep 18, 2024

Copy link
Copy Markdown
Member

hmm, it feels a bit excessive to have a separate E2E app for TWP, feels like a slippery slope to add this for every framework? 😅 no strong feelings but our list of E2E apps is ever growing 😬 is there not a way to test this (at least in some simplified way) without an E2E test app?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@codecov

codecov Bot commented Sep 18, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
623 1 622 33
View the full list of 1 ❄️ flaky tests
errorboundary.test.ts captures an exception

Flake rate in main: 29.41% (Passed 12 times, Failed 5 times)

Stack Traces | 30s run time
errorboundary.test.ts:4:1 captures an exception

To view individual test run time comparison to the main branch, go to the Test Analytics Dashboard

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Lms24

Lms24 commented Sep 18, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member Author

our list of E2E apps is ever growing

that we won't solve long-term if we remove this one 😅 I think we need to move the e2e tests out of this repo sooner or later but that's another story...

I'll remove the test app. We can do this now more easily because we're at least testing TwP now better in Node integration tests. Unfortunately, I don't think there's a way to realistically test TwP within a "tracing with performance" e2e test app.
The test app already served its purpose already, as otherwise, I never would have discovered the bug fixed in #13381.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Lms24

Lms24 commented Sep 18, 2024

Copy link
Copy Markdown
Member Author

Actually, I do believe there's value to have one meta framework test app configured for TwP. It doesn't have to be sveltekit but there's value in ensuring that backend<->frontend errors are still connected by the same trace

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Lms24
Lms24 force-pushed the lms/fix-sveltekit-meta-tags-twp branch 2 times, most recently from d7e3d01 to 1886c87 Compare September 27, 2024 13:34
Lms24 added 7 commits October 7, 2024 15:27
@Lms24
fix(sveltekit): Ensure trace meta tags are always injected
cb21bad
@Lms24
cleanup
ecdec58
@Lms24
add e2e test app
0f6793b
@Lms24
add e2e to build.yml
5740af6
@Lms24
fix rebase conflict
39a7c41
@Lms24
wip - still an error in backend error trace prop
c0f00c4
@Lms24
some more wip
a5b28a6
Lms24 added 2 commits October 7, 2024 15:27
@Lms24
cleanup
638ad46
@Lms24
fix unit tests after rebase
73eb9c4
@Lms24
Lms24 force-pushed the lms/fix-sveltekit-meta-tags-twp branch from 24d5518 to 73eb9c4 Compare October 7, 2024 13:28
@Lms24
one more cleanup
9bfe1c3
@Lms24
Lms24 enabled auto-merge (squash) October 8, 2024 14:57
@Lms24
Lms24 merged commit 5929a1b into develop Oct 8, 2024
@Lms24
Lms24 deleted the lms/fix-sveltekit-meta-tags-twp branch October 8, 2024 15:09
@github-actions github-actions Bot mentioned this pull request Oct 11, 2024
[Sveltekit] Inject meta tags in Tracing-without-Performance-mode #13106
Closed
@q1blue q1blue mentioned this pull request Oct 31, 2024
[Snyk] Upgrade @sentry/react from 7.16.0 to 8.34.0 https-quantumblockchainai-atlassian-net/ossinsight#968
Open
@bagulm123 bagulm123 mentioned this pull request Nov 2, 2024
[Snyk] Upgrade @sentry/react from 8.22.0 to 8.34.0 bagulm123/komiser#29
Open
This was referenced Nov 2, 2024
[Snyk] Upgrade @sentry/browser from 8.33.1 to 8.34.0 mong/mongts#3389
Closed
[Snyk] Upgrade @sentry/react from 8.33.1 to 8.34.0 mong/mongts#3390
Closed
@kenn7575 kenn7575 mentioned this pull request Nov 3, 2024
[Snyk] Upgrade @sentry/sveltekit from 8.33.1 to 8.34.0 kenn7575/kenni-kollemorten-v2#81
Closed
@mbreadmachine mbreadmachine mentioned this pull request Nov 5, 2024
[Snyk] Upgrade @sentry/react from 8.28.0 to 8.34.0 mbreadmachine/arany-d-osztaly-weboldal#60
Merged
@q1blue q1blue mentioned this pull request Nov 11, 2024
[Snyk] Upgrade @sentry/react from 7.16.0 to 8.35.0 https-quantumblockchainai-atlassian-net/ossinsight#983
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@s1gr1d s1gr1d s1gr1d approved these changes
@mydea mydea Awaiting requested review from mydea

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@Lms24 Lms24

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[Sveltekit] Inject meta tags in Tracing-without-Performance-mode

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@Lms24 @mydea @s1gr1d
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.