Skip to content
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

ref(profiling): Merge profile provider for both modes #83338

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

Zylphrex
Copy link
Member

This merges the 2 providers for transaction and continuous type profiles into 1 so that we can pass either type of profile to it anywhere instead of having 2 different providers.

This merges the 2 providers for transaction and continuous type profiles into 1
so that we can pass either type of profile to it anywhere instead of having 2
different providers.
@Zylphrex Zylphrex requested review from a team as code owners January 13, 2025 21:34
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jan 13, 2025
},
[setProfiles]
);
const onImport = useCallback(() => {}, []);
Copy link
Member Author

Choose a reason for hiding this comment

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

This is actually broken, so l disabled it for now and we'll see if we can add it back later or remove it entirely.

Copy link
Member

Choose a reason for hiding this comment

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

Safe to remove imo, I can take care of it

},
includeAllArgs: true,
})
.then(([data]) => data.chunk);
Copy link
Member

Choose a reason for hiding this comment

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

I guess. we dont really need includeAllArgs if we just access data afterwards. Is this some old copy paste relic?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes, gonna leave it in for now

@Zylphrex Zylphrex merged commit 6ec1464 into master Jan 14, 2025
44 checks passed
@Zylphrex Zylphrex deleted the txiao/ref/merge-profile-provider-for-both-modes branch January 14, 2025 18:56
andrewshie-sentry pushed a commit that referenced this pull request Jan 22, 2025
This merges the 2 providers for transaction and continuous type profiles
into 1 so that we can pass either type of profile to it anywhere instead
of having 2 different providers.
@github-actions github-actions bot locked and limited conversation to collaborators Jan 30, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants