Skip to content

Run minimal tests on Linux/aarch64 using QEMU - #124

Merged
lalinsky merged 4 commits into
mainfrom
test-on-linux-aarch64
Nov 4, 2025
Merged

lalinsky merged 4 commits into
mainfrom
test-on-linux-aarch64

Conversation

@lalinsky

@lalinsky lalinsky commented Nov 4, 2025

Copy link
Copy Markdown
Owner

No description provided.

@coderabbitai

coderabbitai Bot commented Nov 4, 2025 •

Copy link
Copy Markdown
Contributor

Warning

Rate limit exceeded

@lalinsky has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 17 minutes and 27 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between b439e0b and 529a451.

📒 Files selected for processing (1)
  • .github/workflows/test.yml (2 hunks)

Walkthrough

Expands CI matrix to run native and QEMU-based targets with conditional build/test steps, adds a configurable xev_backend build option, and refactors vendor/libxev/build.zig to expose and wire a backend override into the xev module and its tests.

Changes

Cohort / File(s) Summary
CI workflow matrix & steps
​.github/workflows/test.yml
Replaces simple OS matrix with per-target entries (x86_64-linux, aarch64-linux with optional QEMU, macOS, Windows), sets fail-fast: false, adds conditional QEMU install, splits tests into native and QEMU paths, and passes conditional -Dtarget / -Dxev_backend flags to build steps.
Root build config
build.zig
Adds xev_backend build option and forwards it to the libxev dependency via its .backend field; build/test/example/bench commands accept conditional per-target/backend flags.
libxev build refactor
vendor/libxev/build.zig
Removes top-level module attach; introduces backend build option, creates xev module and test_module with build_options that expose backend_override, and reuses test_module for the test executable's root module.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

  • Review CI matrix logic and guards for native vs QEMU steps (.github/workflows/test.yml).
  • Verify correct propagation of xev_backend from build.zig into vendor/libxev/build.zig and that build_options wiring matches expected names/types.
  • Confirm test_module replacement and module attachment changes in vendor/libxev/build.zig don't change runtime/test behavior.

Poem

Targets branch and pipelines hum,
QEMU wakes where ARM tests run,
Backends chosen, flags set true,
Modules wired to pass them through,
Builds aligned — the green checks come.

Pre-merge checks and finishing touches

❌ Failed checks (1 inconclusive)
Check name Status Explanation Resolution
Description check ❓ Inconclusive No description was provided by the author, making it impossible to assess relevance to the changeset. Add a description explaining why aarch64 QEMU testing is being added, what it validates, and any relevant context about the implementation approach.
✅ Passed checks (1 passed)
Check name Status Explanation
Title check ✅ Passed The title directly describes the main change: expanding CI to run tests on Linux/aarch64 with QEMU, which is the core objective of the changeset.

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@lalinsky
lalinsky merged commit e244eb9 into main Nov 4, 2025
@lalinsky
lalinsky deleted the test-on-linux-aarch64 branch November 4, 2025 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant