-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[Replay] Migrating sentry-replay into JS SDK mono-repo #5326
Comments
Considering users already get very confused over conflicting versions between We'll have to take some care to make sure that the test/build infra does not suffer as a result though - that IMO will fully make it clear if we can handle the extra dependencies. Re-using the playwright test suite might be useful for the replay sdk so they can validate with more robust integration tests.
This should be a priority so that we make sure that bundle size is saved as much as possible. For example, the replay SDK instruments network requests like our performance monitoring SDK does, and duplicating that code is unnecessary. |
There's another set of organizational challenges that will have to be handled here. How do we handle the backlog? Do we use labels or a different project to triage/categorize incoming Replay related GH issues. How do we route things appropriately? |
This issue has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you label it "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
Not ded according to slack :) |
One important decision to be made here. Does |
I discussed this with @benvinegar and we agreed that We will make sure to highlight in docs and release notes that this is still in alpha before jumping into a stable version. |
Questions about the potential benefits of the migration:
|
Not sure I follow here, but don't think it is a hard requirement.
We can explore different libraries, but we will want to keep the compression feature. Lazy loading the compression library is a possibility. |
Problem Statement
There is the sentry-replay repo which has the Sentry Browser SDK package and rreweb packages as dependencies.
Meaning it has clear requirement dependancies, and similar requirement for CI/CD in terms of testing and creating releases, but cannot easily take advantage of everything which is already part of the JS SDK.
Possible benefits of moving into the JS mono-repo
Concerns:
Adds more dependencies into the JS repo, where there is already quite a number of integrations for different browser and Node frameworks, along with all the Sentry features, and SDKs which are dependant on the JS SDK (Electron and react-native)
Solution Brainstorm
Include sentry-replay to be more tightly coupled as part of the Sentry JavaScript SDK mono-repo
Outcomes:
@sentry/replay
is available via the CDN bundle (e.g. combined bundle w/@sentry/browser
)Progress
Phase I: Pre-Migration
Phase II: Migration
Phase III: Post-Migration
More long-term tasks are tracked in
The text was updated successfully, but these errors were encountered: