Skip to content

Persist the aqs session id on new aqs session #5274

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

Merged
merged 9 commits into from
Aug 31, 2023

Conversation

mrober
Copy link
Contributor

@mrober mrober commented Aug 23, 2023

Persist the aqs session id on new aqs session, instead of on event. This is needed for ANRs and native crashes that can't persist on event.

This also populates the aqs session id and fid in the Report.
The new CrashlyticsAppQualitySessionsStore class is based on the existing MetaDataStore class but with the current session id not being final.

@github-actions
Copy link
Contributor

github-actions bot commented Aug 23, 2023

Release note changes

The following release notes were modified. Please ensure they look correct.

Release Notes
firebase-crashlytics
### {{crashlytics}} version 18.4.2 {: #crashlytics_v18-4-2}

* {{feature}} Include Firebase sessions with NDK crashes and ANRs.

#### {{crashlytics}} Kotlin extensions version 18.4.2 {: #crashlytics-ktx_v18-4-2}

The Kotlin extensions library transitively includes the updated
`firebase-crashlytics` library. The Kotlin extensions library has no additional
updates.

@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% (ecb313c) to 9.66% (adfcfac) by -0.02%.

    FilenameBase (ecb313c)Merge (adfcfac)Diff
    AutoCrashlyticsReportEncoder.java57.72%57.67%-0.05%
    CrashlyticsAppQualitySessionsStore.java?0.00%?
    CrashlyticsController.java15.96%16.36%+0.40%
    CrashlyticsReportJsonTransform.java1.18%1.17%-0.01%
    CrashlyticsReportPersistence.java2.96%3.06%+0.11%

Test Logs

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

@github-actions
Copy link
Contributor

github-actions bot commented Aug 23, 2023

Unit Test Results

  6 files   -    320    6 suites   - 320   23s ⏱️ - 7m 52s
18 tests  - 2 495  18 ✔️  - 2 478  0 💤  - 16  0  - 1 
36 runs   - 4 939  36 ✔️  - 4 906  0 💤  - 32  0  - 1 

Results for commit cf919ee. ± Comparison against base commit ecb313c.

♻️ This comment has been updated with latest results.

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Aug 23, 2023

Size Report 1

Affected Products

  • firebase-crashlytics

    TypeBase (ecb313c)Merge (adfcfac)Diff
    aar357 kB360 kB+2.78 kB (+0.8%)
    apk (aggressive)433 kB433 kB+660 B (+0.2%)
    apk (release)2.17 MB2.17 MB+1.21 kB (+0.1%)

Test Logs

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

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Aug 25, 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 (dd14f14) and the base commit (dff55b6) are not available.

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

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

@mrober mrober merged commit b76de4f into master Aug 31, 2023
@mrober mrober deleted the crashlytics-aqs-session-id-report branch August 31, 2023 16:45
limsaehyun pushed a commit to limsaehyun/firebase-android-sdk that referenced this pull request Sep 5, 2023
Persist the aqs session id on new aqs session, instead of on event. This
is needed for ANRs and native crashes that can't persist on event.

This also populates the aqs session id and fid in the Report.
The new `CrashlyticsAppQualitySessionsStore` class is based on the
existing `MetaDataStore` class but with the current session id not being
final.
daymxn added a commit that referenced this pull request Sep 7, 2023
Per [b/299509129](https://b.corp.google.com/issues/299509129),

This adds a changelog entry to `firebase-crashlytics-ndk` that should've
been added with #5274, as `firebase-crashlytics` is in the same library
group.
@firebase firebase locked and limited conversation to collaborators Oct 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants