-
Notifications
You must be signed in to change notification settings - Fork 13.8k
chore(ci): change build and test to use ARM by default #37404
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
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
41c5f4a
Reduce number of CI jobs
rodrigok 19411f6
Report coverage after ui and api tests only
rodrigok 411be08
Reduce number of CI jobs
rodrigok b905393
Report coverage after ui and api tests only
rodrigok d892cd2
Use ARM machines for everything but tests
rodrigok File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,7 +19,7 @@ env: | |
|
|
||
| jobs: | ||
| test: | ||
| runs-on: ubuntu-24.04 | ||
| runs-on: ubuntu-24.04-arm | ||
|
|
||
| name: Test Storybook | ||
|
|
||
|
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,7 +23,7 @@ env: | |
|
|
||
| jobs: | ||
| test: | ||
| runs-on: ubuntu-24.04 | ||
| runs-on: ubuntu-24.04-arm | ||
|
|
||
| name: Unit Tests | ||
|
|
||
|
|
||
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
🧩 Analysis chain
Verify the @swc/core version downgrade.
The version was changed from
~1.13.20to1.13.19, which:~), enforcing strict pinning instead of allowing minor version flexibilityThis appears unusual. Clarify whether this downgrade is intentional (e.g., to work around an ARM64 compatibility issue) or unintended.
🌐 Web query:
💡 Result:
Short answer: Yes — v1.13.20 had known ARM64 (and Alpine/musl) binary-loading crashes/segfaults; a fix was merged and released in 1.13.21 that improves ARM64 and Alpine (musl) binary loading/validation. [1][2]
Sources:
Recommendation: upgrade to 1.13.21 (or later).
Upgrade @swc/core to 1.13.21 to fix ARM64 issues.
Version 1.13.20 has known ARM64 (and Alpine/musl) binary-loading crashes/segfaults, with a fix released in 1.13.21. Downgrading to 1.13.19 avoids the bug but leaves an older version in place. Instead, upgrade to 1.13.21 or later where the ARM64 issue is resolved. Additionally, consider using a flexible version constraint (e.g.,
^1.13.21) instead of strict pinning to allow patch updates.🤖 Prompt for AI Agents