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

[Cloud] Fix sessions stitching across domains #103964

Merged
merged 2 commits into from
Jun 30, 2021

Conversation

joshdover
Copy link
Contributor

Summary

After some manual integration testing across the Cloud UI and Kibana UI, we have found that to make sessions merging across domains work properly, the identify call must happen in the same tick when the session recording script is initialized.

This change slightly delays how fast we initialize the session recording script, but in my testing on Cloud staging this should only delay the recording in the 100ms range. Since this code executed before any UI should be shown anyways, this should be acceptable.

I ran the functional tests that are not yet enabled on CI and everything passed.

Checklist

Delete any items that are not applicable to this PR.

@joshdover joshdover added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.14.0 v7.13.0 auto-backport Deprecated - use backport:version if exact versions are needed labels Jun 30, 2021
@joshdover joshdover requested a review from a team as a code owner June 30, 2021 18:05
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@joshdover joshdover enabled auto-merge (squash) June 30, 2021 18:08
Copy link
Contributor

@TinaHeiligers TinaHeiligers left a comment

Choose a reason for hiding this comment

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

lgtm

@joshdover joshdover removed the v7.13.0 label Jun 30, 2021
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
cloud 17.1KB 17.1KB -39.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
cloud 8.7KB 8.7KB +69.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
7.14
7.x

The backport PRs will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Jul 1, 2021
kibanamachine added a commit that referenced this pull request Jul 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.14.0 v7.15.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants