ci: run the Rust build, tests and audit on the consumed branch - #8
Conversation
The filters named main only, so the branch this crate is consumed from had no build, test or audit at all — and it is now the default branch, leaving main with the build and nobody consuming it. Signed-off-by: Nikita Kalyazin <nikita.kalyazin@e2b.dev>
PR SummaryLow Risk Overview The build matrix swaps retired Reviewed by Cursor Bugbot for commit b10ee6b. Bugbot is set up for automated code reviews on this repo. Configure here. |
GitHub retired the label in April 2025, and a job naming it does not fail — it sits queued, so a required check computed from it never returns. ubuntu-22.04 carries the same 5.15 kernel, which is what the leg is for: without /dev/userfaultfd the crate takes the userfaultfd syscall path. Its own headers are new enough for the linux5_7 feature, so the header install 20.04 needed goes with it and one step now covers both runners. Signed-off-by: Nikita Kalyazin <nikita.kalyazin@e2b.dev>
5dfb4a5 to
b10ee6b
Compare
rust.ymlfiltered tomain, sofeat_write_protection— the branch this crate is consumed from, and now the default branch — had no build, test orcargo audit. The security workflows scan it; nothing built it. Both filters gain the branch rather than moving to it, somainkeeps what it had.Widening it exposed two things in the matrix, both settled by running it rather than by reading:
ubuntu-20.04no longer schedules. GitHub retired the label in April 2025, and a job naming it does not fail — it sitsqueuedindefinitely, so a required check computed from it never returns.The leg's purpose is no longer reachable on hosted runners. It existed to exercise the
userfaultfdsyscall path, taken when/dev/userfaultfdis absent.ubuntu-22.04now runs kernel 6.8 andubuntu-latestruns 6.17 — both past 6.1, so both carry the device, and the port to 22.04 failed withOpenDevUserfaultfd(PermissionDenied)precisely because the device was there and the ACL step was still gated toubuntu-latest. The matrix keeps two kernels, which is real coverage, and the comment now records that the syscall fallback has no hosted runner left to cover it rather than implying it is still tested.The
ubuntu-20.04header install goes with the label: 22.04's own headers are new enough for thelinux5_7feature, so one step covers both runners.Verified: all eleven checks green, both build legs and
auditamong them.