-
Notifications
You must be signed in to change notification settings - Fork 24.2k
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
[LOCAL][RN][CI] Improve stability of the Hermes pipeline #45142
Merged
cortinico
merged 4 commits into
0.75-stable
from
cipolleschi/improve-build-hermes-mac-stability
Jun 25, 2024
Merged
[LOCAL][RN][CI] Improve stability of the Hermes pipeline #45142
cortinico
merged 4 commits into
0.75-stable
from
cipolleschi/improve-build-hermes-mac-stability
Jun 25, 2024
Conversation
This file contains 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
facebook-github-bot
added
the
CLA Signed
This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
label
Jun 24, 2024
cipolleschi
force-pushed
the
cipolleschi/improve-build-hermes-mac-stability
branch
from
June 24, 2024 15:51
6fe235d
to
57ccdf8
Compare
Summary: This change is the first step in refactoring GHA so that they can be reused more easily across jobs. Its goal is also to be more reliable w.r.t. caches. That this change do: * moves `prepare_hermes_workspace` to a composite action * saves the `prepare_hermes_workspace` caches only on main * uploads the destination folder as an artifact so that we can use it later in the run * makes the `test-all`, `nightly` and `publish-release` workflow use the new composite action * updates the `setup-hermes-workspace` to download and use the artifact uploaded by `prepare_hermes_workspace` [Internal] - Factor out the prepare_hermes_workspace action Pull Request resolved: #45071 Test Plan: GHA in CI Reviewed By: cortinico Differential Revision: D58808087 Pulled By: cipolleschi fbshipit-source-id: 42c46bcf75fc73b2edfda9be62b5d0fe8a919a5d
cipolleschi
force-pushed
the
cipolleschi/improve-build-hermes-mac-stability
branch
7 times, most recently
from
June 24, 2024 16:42
44d5ad2
to
b460a60
Compare
Base commit: 986cf18 |
cipolleschi
force-pushed
the
cipolleschi/improve-build-hermes-mac-stability
branch
12 times, most recently
from
June 25, 2024 09:58
92b0f04
to
e60c265
Compare
cipolleschi
force-pushed
the
cipolleschi/improve-build-hermes-mac-stability
branch
4 times, most recently
from
June 25, 2024 10:59
438c1e0
to
8370225
Compare
cipolleschi
force-pushed
the
cipolleschi/improve-build-hermes-mac-stability
branch
2 times, most recently
from
June 25, 2024 12:35
6ac7e34
to
5644821
Compare
cipolleschi
force-pushed
the
cipolleschi/improve-build-hermes-mac-stability
branch
from
June 25, 2024 12:38
5644821
to
941259b
Compare
cortinico
approved these changes
Jun 25, 2024
blakef
approved these changes
Jun 25, 2024
This was referenced Jun 25, 2024
This was referenced Aug 15, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
CLA Signed
This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
p: Facebook
Partner: Facebook
Partner
Pick Request
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.
Summary:
The stability of the building Hermes pipeline was terrible due to how caches work in Github Actions.
I refactored the jobs to use a misxture of caches and artifacts to improve the jobs stability.
Now if a cache fails, we rebuild, as it should be, and we use Artifacts to move the prebuilts from a job to the next in the hermes build pipeline.
Artifacts are a bit slower, but not ratelimited, so we should not encounter 429s that makes the build faile.
Changelog:
[Internal] Stabilize the pipelines
Test Plan:
GHA is green.