-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[No QA] Simplify StagingDeployCash comparison URL #2261
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice improvement! Just one comment on a warning but LGTM
.github/libs/GithubUtils.js
Outdated
return issueBody; | ||
}) | ||
// eslint-disable-next-line no-console | ||
.catch(err => console.warn('Error generating comparison URL, continuing...', err)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this warning still accurate? It sounds like this should be something like Error generating issue body
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with Joe regarding the error message, but other than that, it looks good.
Updated the console warning 👍 |
Details
I feel like a big dum-dum for not seeing this simplification earlier! Silver lining though: the contributor who worked on the
generateVersionComparisonURL
did set up a good baseline for unit testing theGithubUtils
Fixed Issues
Fixes https://github.com/Expensify/Expensify/issues/158542
Tests
StagingDeployCash
is not locked.StagingDeployCash
should be updated and the "compare changes" link should be this: production...stagingPlatforms
Github only, no changes in-product.