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

Fix set user id for on-demand fatal #5275

Closed
wants to merge 2 commits into from
Closed

Fix set user id for on-demand fatal #5275

wants to merge 2 commits into from

Conversation

themiswang
Copy link
Contributor

@themiswang themiswang commented Aug 23, 2023

For on-demand fatal, we will need to close the previous session and open a new session during app life cycle. We need to port over the previous UserMetadata state (including user id, custom keys etc) for the new session.

Related issue: firebase/flutterfire#10759

@github-actions
Copy link
Contributor

github-actions bot commented Aug 23, 2023

📝 PRs merging into main branch

Our main branch should always be in a releasable state. If you are working on a larger change, or if you don't want this change to see the light of the day just yet, consider using a feature branch first, and only merge into the main branch when the code complete and ready to be released.

@google-oss-bot
Copy link
Contributor

1 Warning
⚠️ Did you forget to add a changelog entry? (Add the 'no-changelog' label to the PR to silence this warning.)

Generated by 🚫 Danger

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Aug 23, 2023

Coverage Report 1

Affected Products

  • firebase-crashlytics

    Overall coverage changed from 9.68% (dff55b6) to 9.66% (8b89c18) by -0.02%.

    FilenameBase (dff55b6)Merge (8b89c18)Diff
    CrashlyticsController.java15.96%15.87%-0.08%
    UserMetadata.java25.93%23.33%-2.59%

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/9RbAfkSaU1.html

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Aug 23, 2023

Size Report 1

Affected Products

  • firebase-crashlytics

    TypeBase (dff55b6)Merge (8b89c18)Diff
    aar357 kB358 kB+421 B (+0.1%)
    apk (aggressive)433 kB433 kB+340 B (+0.1%)
    apk (release)2.17 MB2.17 MB-228 B (-0.0%)

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/yz7jAMM4Cx.html

@github-actions
Copy link
Contributor

github-actions bot commented Aug 23, 2023

Unit Test Results

  6 files  +  6    6 suites  +6   18s ⏱️ +18s
18 tests +18  18 ✔️ +18  0 💤 ±0  0 ±0 
36 runs  +36  36 ✔️ +36  0 💤 ±0  0 ±0 

Results for commit 7c2b0ea. ± Comparison against base commit dff55b6.

♻️ This comment has been updated with latest results.

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Aug 28, 2023

Startup Time Report 1

Note: Layout is sometimes suboptimal due to limited formatting support on GitHub. Please check this report on GCS.

Startup time comparison between the CI merge commit (8b89c18) and the base commit (dff55b6) are not available.

No macrobenchmark data found for the base commit (dff55b6). Analysis for the CI merge commit (8b89c18) can be found at:

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/ibehNPYrcr/index.html

Copy link
Contributor

@samedson samedson left a comment

Choose a reason for hiding this comment

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

LGTM!

themiswang added a commit that referenced this pull request Sep 1, 2023
For on-demand fatal, we will need to close the previous session and open
a new session during app life cycle. We need to port over the previous
UserMetadata state (including user id, custom keys etc) for the new
session.

Decide to merge to master later as a part of feature rollouts project.

Original PR: #5275
themiswang added a commit that referenced this pull request Sep 5, 2023
For on-demand fatal, we will need to close the previous session and open
a new session during app life cycle. We need to port over the previous
UserMetadata state (including user id, custom keys etc) for the new
session.

Decide to merge to master later as a part of feature rollouts project.

Original PR: #5275
@themiswang
Copy link
Contributor Author

Close this PR since we have decide the fix will be a part of feature release. fix merged #5292

@themiswang themiswang closed this Sep 11, 2023
themiswang added a commit that referenced this pull request Sep 25, 2023
For on-demand fatal, we will need to close the previous session and open
a new session during app life cycle. We need to port over the previous
UserMetadata state (including user id, custom keys etc) for the new
session.

Decide to merge to master later as a part of feature rollouts project.

Original PR: #5275
themiswang added a commit that referenced this pull request Oct 3, 2023
For on-demand fatal, we will need to close the previous session and open
a new session during app life cycle. We need to port over the previous
UserMetadata state (including user id, custom keys etc) for the new
session.

Decide to merge to master later as a part of feature rollouts project.

Original PR: #5275
@firebase firebase locked and limited conversation to collaborators Oct 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants