fix(parallel): enable parallel test execution on Alpine Linux#627
Merged
Chemaclass merged 2 commits intomainfrom Apr 18, 2026
Merged
fix(parallel): enable parallel test execution on Alpine Linux#627Chemaclass merged 2 commits intomainfrom
Chemaclass merged 2 commits intomainfrom
Conversation
Previous race conditions on Alpine were resolved by later parallel hardening work (8c7212d and follow-ups). Enable Alpine in `parallel::is_enabled`, update unit coverage, and add matrix CI jobs running `--parallel --simple` and `--parallel` against the Alpine container so regressions surface immediately. Closes #370
Contributor
✅ Contributor ReportUser: @Chemaclass This user is on the trusted contributors list and was automatically approved. |
Busybox stat already supports `-c`, so installing coreutils is not required. Removing it also avoids exposing 7 extra acceptance tests that rely on a GNU environment and were previously skipped under busybox, which caused the upgrade test to break on Alpine CI.
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
parallel::is_enabled— prior race conditions were resolved by later parallel hardening (8c7212d and follow-ups).test_parallel_enabled_on_alpineand extend existing tests to mockis_alpine.parallel simpleandparallel extendedjobs so regressions surface immediately.Test plan
./bashunit tests/unit/parallel_test.sh— all green./bashunit --parallel tests/on macOS — all green--parallel --simple tests/unit/— 694 passed, 0 failed (9s vs 32s sequential; 3.5x speedup)--parallel tests/— 926 passed, 0 failed (exit 0)make sa && make lintpassshfmt -dcleanCloses #370