Skip to content

fix(overlay): Fix eager profile grafting on incomplete trace data #783

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 22, 2025

Conversation

BYK
Copy link
Member

@BYK BYK commented Apr 22, 2025

Fixes a race condition where we try to graft a trace which was a skeleton generated from a trace context rather than a full trace. This was causing profile frames not getting grafted as the start_timestamp and timestamp values were not set correctly.

Fixes a race condition where we try to graft a trace which was a skeleton generated from a trace context rather than a full trace. This was causing profile frames not getting grafted as the start_timestamp and timestamp values were not set correctly.
Copy link

vercel bot commented Apr 22, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
spotlightjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 22, 2025 9:44pm

Copy link

codecov bot commented Apr 22, 2025

Codecov Report

Attention: Patch coverage is 50.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 32.79%. Comparing base (c8a34f4) to head (6749ce0).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...ay/src/integrations/sentry/data/sentryDataCache.ts 40.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #783      +/-   ##
==========================================
- Coverage   32.81%   32.79%   -0.03%     
==========================================
  Files          93       93              
  Lines        5838     5839       +1     
  Branches      118      118              
==========================================
- Hits         1916     1915       -1     
- Misses       3922     3924       +2     

☔ 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.

@BYK BYK merged commit 893572a into main Apr 22, 2025
21 checks passed
@BYK BYK deleted the kmzwpmypoqzp branch April 22, 2025 21:49
BYK pushed a commit that referenced this pull request Apr 22, 2025
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and publish to npm
yourself or [setup this action to publish
automatically](https://github.com/changesets/action#with-publishing). If
you're not ready to do a release yet, that's fine, whenever you add more
changesets to main, this PR will be updated.


# Releases
## @spotlightjs/[email protected]

### Patch Changes

-   Updated dependencies \[]:
    -   @spotlightjs/[email protected]

## @spotlightjs/[email protected]

### Patch Changes

-   Updated dependencies

\[[`893572a959d94aae2dce2b49e91d43ea649233fa`](893572a)]:
    -   @spotlightjs/[email protected]

## @spotlightjs/[email protected]

### Patch Changes

- Fixes a race condition where we try to graft a trace which was a
skeleton generated from a trace context rather than a
([#783](#783)) full trace.
This was causing profile frames not getting
grafted as the start_timestamp and timestamp values were not set
correctly.

## @spotlightjs/[email protected]

### Patch Changes

-   Updated dependencies

\[[`893572a959d94aae2dce2b49e91d43ea649233fa`](893572a)]:
    -   @spotlightjs/[email protected]

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

1 participant