Repository navigation
CI: run the Fedora aarch64 build test natively under PRoot - #65
Merged
Merged
Conversation
The Linux Fedora (aarch64) job ran the Fedora build script in a fedora:42 container on GitHub's hosted ARM runner. Darkbloom sandboxes have no Docker, so .github/scripts/fedora-proot/fedora_proot.py now runs the same unchanged script, on the PR's own checkout, in a Fedora 42 userspace: - the official archived Fedora 42 container image from archives.fedoraproject.org, pinned by archive SHA-256 (as in Fedora's signed CHECKSUM), manifest and single-layer digest; only that layer is unpacked, with traversal, duplicate, whiteout and link checks; - PRoot 5.4.1 built in the job from pinned source and pinned Ubuntu talloc/pkgconf packages, with the faccessat2 entry its ARM64 syscall table lacks (otherwise guest access checks read host paths); - dnf pointed at the archived Fedora 42 releases/updates repositories with gpgcheck, a smoke step that checks Fedora identity, fake root, guest path translation and no_new_privs, then the build test; - bounded retries for the pinned downloads. The same flow passed its native canary (286/286 tests, 0 skipped). The Fedora x86_64 job keeps its hosted runner: emulating x86 on ARM was not qualified (QEMU 8.2.2 crashed). PRoot is not an isolation boundary; the job VM is. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review follow-up on the first head (Check Lint failed, so the Fedora job never ran): - ruff check/format clean (long lines reflowed, unused imports removed); - print the evidence summary (PRoot and patched-table SHA-256, step timings) in the log, and a step's log when it times out; - a body shorter than its pinned size is now retried like other failures; - the job checks its runner tools and runs the helper's 19 offline tests before the build; tests cover the stale partial file, truncated bodies and the attempt bound. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gajesh2007
marked this pull request as ready for review
November 14, 2026 05:47
Gajesh2007
added a commit
that referenced
this pull request
Nov 14, 2026
Review follow-up to #65: the stale .part test passed even without the up-front unlink, because the first attempt's FileExistsError was caught, the failure path removed the file and the retry succeeded (after a real 5-second sleep). It now patches sleep and asserts a single download attempt; with the up-front unlink removed it fails. A step that times out is also recorded in the evidence ("exit": "timeout"). Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Linux Fedora (aarch64)moves from GitHub's hosted ARM runner (afedora:42container) to Darkbloom Linux ARM64 runners. The sandbox has no Docker, so the new.github/scripts/fedora-proot/fedora_proot.pyruns the unchanged.github/scripts/setup+build-cpp-linux-fedora-container.shon the PR's own checkout in a Fedora 42 userspace under PRoot.talloc/pkgconfdebs.faccessat2(439) entry that PRoot's ARM64 syscall table lacks; without it, guesttest -xand similar checks read host paths.releasesandupdatesrepositories withgpgcheck.test -x /usr/bin/dnf,test ! -x /usr/bin/apt-get) andno_new_privs. Adnf makecachenetwork check follows, then the build test.qemu-x86_648.2.2 hit an internal SIGSEGV).Evidence
b2d81c57….6fa418ed; its receipt was verified and the VM physically retired..github/scripts/fedora-proot/test_fedora_proot.pyhas 19 offline tests (OCI/layer pins, tar safety, the PRoot table patch, download retries, repository rewrite).🤖 Generated with Claude Code