[No QA] Move sentry size analysis upload to deploy step - #94039
roryabraham merged 8 commits into
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c102de1ab4
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| - name: Upload to Sentry | ||
| id: upload | ||
| if: ${{ hashFiles(inputs.asset-name) != '' }} | ||
| continue-on-error: true |
There was a problem hiding this comment.
Prevent optional Sentry uploads from failing deploy
In production deploys where npx sentry-cli build upload stalls or the new upload job hits its 10-minute job timeout, the whole androidUploadSentry/iosUploadSentry job fails even though this step is marked continue-on-error; job-level timeouts are not covered by the step's error handling. The old build-workflow upload had a step-level timeout with continue-on-error, so Sentry outages could not flip an otherwise successful deploy red. Please keep the timeout/error handling at the upload step (or make the job non-blocking) so size analysis remains optional.
Useful? React with 👍 / 👎.
| uses: ./.github/actions/composite/setupNode | ||
|
|
||
| - name: Download binary from current workflow run (cherry-pick path) | ||
| if: ${{ inputs.is-cherry-pick == 'true' }} |
There was a problem hiding this comment.
NAB ${{ }} isn't necessary on if
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
|
🚀 Deployed to staging by https://github.com/roryabraham in version: 9.4.20-0 🚀
|
|
@roryabraham @rinej Is there anything for us to QA here? It seems internal |
|
No QA |
|
🚀 Deployed to production by https://github.com/blimpich in version: 9.4.20-1 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
The previous setup uploaded on every staging build, which blew Sentry's free 100 size-analysis quota in couple of days. Uploading once per production-bound version will stay under quota.
Details:
Fixed Issues
$ #82850
PROPOSAL: #82850 (comment)
Tests
First staging deploy:
First production deploy:
Sentry dashboard verification (once quota resets / available):
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)Avatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari