Uh oh!
There was an error while loading. Please reload this page.
[CI] Install the latest version of packages in the brewfile - #2024
Conversation
Alicia Drummond (FalseLobster)
commented
Jan 9, 2024
Weirdly, it looks like the primary purpose of brewfile.lock.json isn't to lock specific versions, but rather serve as a debugging utility to evaluate how environment changes might break homebrew. I think it it's only read on failures or useful for doing a diff or something to facilitate error reporting. So we should probably have this in our azure artifacts as part of CI for brew bundle failures and I'm not sure it even makes sense in git. Although tbh, I'm not opposed to removing it from CI either, but I just wanted to share with you the reading I had already done: |
Tommy Nguyen (tido64)
commented
Jan 10, 2024
Not checking in |
Saad Najmi (Saadnajmi)
commented
Jan 13, 2024
Alicia Drummond (@FalseLobster)Tommy Nguyen (@tido64) Interesting, thanks for the insight! I updated the PR to still generate the lock file, and also print it out during CI. This PR was inspired by seeing a one-off segmentation fault during one |
de63949 to
c44867cCompare…2048) * [visionOS] Add local podspecs to override supported platforms * Bump fmt to 9.1.0 (react#39799) Summary: This is what Folly is built against internally. Bump the version we use, and the standard we compile with, to take some different paths, and see if we fix some warnings caused by FMT with the ndk bump. Changelog: [General][Breaking] - Bump fmt to 9.1.0 Pull Request resolved: react#39799 Test Plan: Passes in CircleCI Reviewed By: cortinico, yungsters Differential Revision: D49900112 Pulled By: NickGerleman fbshipit-source-id: 3f11080555ef20aeb9291d1096ffa6077b3b3bbd * [CI] Install the latest version of packages in the brewfile (#2024) * [CI] Remove watchman --------- Co-authored-by: Nick Gerleman <ngerlem@fb.com>
Please select one of the following
Summary:
I noticed that the CI as written would:
brew bundle, and attempt to install the packages in.ado/brewfileThere's no point updating a lock file during a CI run, its point is to lock files. Furthermore, we don't actually care about the versions of the packages installed in our CI's brew file (in this case, just
xcbeautify. Really, it's just a shorthand forbrew install x; brew install y; ...which would have installed the latest version anyway. Let's just always install the latest version of things and ditch the lock file altogether.Changelog:
[INTERNAL] [CHANGED] - Install the latest version of packages in the brewfile in CI
Test Plan:
CI should pass.