Repository navigation
CI: run coverage on Linux arm64 and enforce 90% - #3
Merged
Merged
Conversation
AI: Claude Opus 5.5 · effort unknown · main session: moved the kcov job off macOS, verified in a local Debian trixie arm64 container The macOS coverage job timed out on every run: kcov hung the unit-test binary under ptrace until the 15-minute step cap fired. Run it instead on ubuntu-24.04-arm in a debian:trixie container, which packages kcov 43 (Ubuntu 24.04 has none). kcov disables ASLR via personality(2), which Docker's default seccomp profile rejects, so the container runs with seccomp=unconfined. The job is no longer advisory and fails below 90% line coverage or when kcov reports no instrumented files. README coverage figure refreshed (94.01% without a key). 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.
Why
The
coveragejob never finished onmacos-latest. kcov hung the unit-test binary under ptrace until the 15-minute step cap cancelled it. That happened on every recent run, for example 41716931111, 36064642753, 36007132940 and 35994813631. The job was markedcontinue-on-error, so the red X never blocked anything. The samezig build covfinishes in 4–8 s on a local Mac, so the hang only shows up on GitHub's macOS runner.What changed
ubuntu-24.04-arminside adebian:trixiecontainer. Debian trixie packages kcov 43; Ubuntu 24.04 has no kcov package.--security-opt seccomp=unconfined. kcov disables ASLR withpersonality(2), and Docker's default seccomp profile rejects that call, so kcov exited with code 255 on 5 out of 5 local tries.Evidence
What I tried locally:
CI on this branch (run 42017357776, started with
workflow_dispatch): all jobs passed.client.zig427/438,root.zig2/2Review notes
🤖 Generated with Claude Code