Repository navigation
[NO QA] Fix broken Sentry bundle-size links in deploy comments - #94381
Merged
Merged
Conversation
|
@chuckdries Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Contributor
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
chuckdries
approved these changes
Jun 23, 2026
Contributor
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
69 tasks done
Contributor
|
🚀 Deployed to staging by https://github.com/chuckdries in version: 9.4.19-1 🚀
Bundle Size Analysis (Sentry): |
Contributor
|
🚀 Deployed to production by https://github.com/blimpich in version: 9.4.19-5 🚀
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Explanation of Change
Every time we deploy, a bot posts a comment on each shipped PR. That comment ends with a couple of "Bundle Size Analysis" links pointing to Sentry. Right now those links are broken — clicking one goes to an error page, because some stray characters (
"}) got stuck onto the end of the web address.Here's where the junk comes from. During the Android and iOS builds, we upload the app to Sentry and then pull the resulting link out of the upload tool's logs. The way we searched those logs grabbed everything up to the next space — but in the logs the link is wrapped in punctuation, and that punctuation has no spaces in it, so it got pulled in along with the link. This change makes the search stop at that punctuation, so we keep just the clean link.
You can see the broken links for yourself in this deploy comment on App#94322 — the two Sentry links at the bottom are both dead.
This came up while looking into a staging deploy whose comment-posting step failed.
Fixed Issues
$ #94382
PROPOSAL:
Tests
https://expensify.sentry.io/preprod/size/343209[^ ]+and confirm you instead get the address with"}stuck on the end — that's the bug this fixes.Offline tests
N/A — CI workflow change.
QA Steps
[No QA] — this only affects the deploy-comment bot. It will check itself on the next deploy: confirm the "Bundle Size Analysis" links in the deploy comment actually open.
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.