Uh oh!
There was an error while loading. Please reload this page.
fix(scripts): add logic for version scripts to account for local E2E test versioning - #35846
fix(scripts): add logic for version scripts to account for local E2E test versioning#35846kelset wants to merge 4 commits into
Conversation
# Conflicts: # scripts/version-utils.js
cipolleschi
left a comment
There was a problem hiding this comment.
I left a suggestion for better error messaging plus a question.
The rest of the scripts looks good to me!
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Riccardo <cipolleschi@fb.com>
Base commit: e6d1ab9 |
cipolleschi
commented
Jan 17, 2023
There are a couple of linting issues, could you take care of them, please? 🙏 |
facebook-github-bot
commented
Jan 17, 2023
@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
kelset
commented
Jan 17, 2023
we really need to get this folder properly typed 😥 |
facebook-github-bot
commented
Jan 17, 2023
@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
| try { | ||
| validateBuildType(buildType); | ||
| } catch (e) { | ||
| throw e; | ||
| } |
There was a problem hiding this comment.
Effectively, @cortinico noticed that this should be the default behavior... @kelset do you think we can remove this try-catch?
There was a problem hiding this comment.
during my testing, adding this seemed to have an effect so that exec() would catch the error correctly. I can remove but honestly, what's the problem with having it?
Uh oh!
There was an error while loading. Please reload this page.
facebook-github-bot
commented
Jan 18, 2023
@cipolleschi merged this pull request in f238f15. |
Summary
While working on 0.71 branch I encountered a problem in testing locally. Basically, I was getting hit by a silent error caused by recent work #35296 that didn't account for the shape of E2E local script for the release,
0.71.0-20230116-1649.This scripts fixes both aspects: the error now gets thrown "better" and the logic accounts for the E2E shape.
Changelog
[INTERNAL] [FIXED] - add logic for version scripts to account for local E2E test versioning
Test Plan
Tested via the other PR: #35847