-
Notifications
You must be signed in to change notification settings - Fork 83
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
fix: preload events not processed with detached load call #1953
fix: preload events not processed with detached load call #1953
Conversation
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (2)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
size-limit report 📦
|
6b0f66f
into
hotfix/preload-events-buffer
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## hotfix/preload-events-buffer #1953 +/- ##
================================================================
- Coverage 58.30% 58.29% -0.01%
================================================================
Files 485 485
Lines 16614 16613 -1
Branches 3333 3348 +15
================================================================
- Hits 9686 9685 -1
+ Misses 5713 5703 -10
- Partials 1215 1225 +10 ☔ View full report in Codecov by Sentry. |
Quality Gate passedIssues Measures |
PR Description
The auto-tracking page life cycle feature added recently introduced a bug in which the preloaded events were discarded when the
load
call was not part of it.I've fixed the issue by getting the preloaded events from the globals object instead of
window.rudderanalytics
object in theload
API.Additional updates:
Linear task (optional)
https://linear.app/rudderstack/issue/SDK-2715/fix-e2e-test-suite-failures
Cross Browser Tests
Please confirm you have tested for the following browsers:
Sanity Suite
Security