fix: try using arm64 image#2439
Conversation
📝 WalkthroughWalkthroughThe PR updates the GitHub Actions workflow to address ARM NAPI build issues by switching the Ubuntu runner to Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2439 +/- ##
=======================================
Coverage 87.49% 87.49%
=======================================
Files 108 108
Lines 17407 17407
=======================================
Hits 15230 15230
Misses 2177 2177 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
.github/workflows/napi.yml (1)
46-48: Consider adding tests for the ARM64 build.The switch to
ubuntu-24.04-armsuccessfully uses a standard GitHub-hosted ARM64 runner, which is appropriate for native ARM64 builds. However, a testing gap remains:Unlike the x86_64-unknown-linux-gnu target, this ARM64 GNU build lacks
test: true. Adding tests would help catch regressions given that native ARM64 builds may expose platform-specific issues:- host: ubuntu-24.04-arm target: aarch64-unknown-linux-gnu build: yarn build --target aarch64-unknown-linux-gnu test: trueAdditionally, document why the x86_64-unknown-linux-gnu target uses cross-compilation (
--use-napi-cross) while the ARM64 target builds natively, to clarify the architectural rationale for future maintainers.
📜 Review details
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/napi.yml
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2025-09-03T04:16:39.630Z
Learnt from: CR
Repo: ast-grep/ast-grep PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-09-03T04:16:39.630Z
Learning: Applies to crates/napi/** : If touching NAPI (Node.js) bindings, run `yarn test` in crates/napi
Applied to files:
.github/workflows/napi.yml
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: coverage
fix #2429
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.