Skip to content

feat(crashlytics): upload js source maps to signed upload URI - #11630

Draft
andrewbrook wants to merge 4 commits into
mainfrom
sourcemap_bucket
Draft

andrewbrook wants to merge 4 commits into
mainfrom
sourcemap_bucket

Conversation

@andrewbrook

Copy link
Copy Markdown
Contributor

Description

Updated crashlytics:sourcemap:upload to upload source maps using signed upload URIs from Firebase Telemetry instead of creating a Cloud Storage bucket in the project, and deprecated --bucket-location.

Scenarios Tested

WIP

Sample Commands

firebase crashlytics:sourcemap:upload [mappingFiles]

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates the 'crashlytics:sourcemap:upload' command to upload JavaScript source maps using signed upload URIs generated by the Firebase Telemetry Admin API, eliminating the need to create and manage a dedicated Cloud Storage bucket in the user's project. Consequently, the '--bucket-location' option has been deprecated and now issues a warning. Additionally, a maximum upload size limit of 50 MiB is enforced for archived mapping files, and the 'gcp/storage' utility has been updated to bypass authentication when uploading via signed URLs containing 'X-Goog-Signature'. Comprehensive unit tests have been added and updated to validate these changes. There are no review comments to address.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants