Skip to content

fix(parallel): enable parallel test execution on Alpine Linux#627

Merged
Chemaclass merged 2 commits intomainfrom
fix/370-alpine-parallel-tests
Apr 18, 2026
Merged

fix(parallel): enable parallel test execution on Alpine Linux#627
Chemaclass merged 2 commits intomainfrom
fix/370-alpine-parallel-tests

Conversation

@Chemaclass
Copy link
Copy Markdown
Member

Summary

  • Enable Alpine Linux in parallel::is_enabled — prior race conditions were resolved by later parallel hardening (8c7212d and follow-ups).
  • Add unit test test_parallel_enabled_on_alpine and extend existing tests to mock is_alpine.
  • Add Alpine CI matrix with parallel simple and parallel extended jobs so regressions surface immediately.

Test plan

  • ./bashunit tests/unit/parallel_test.sh — all green
  • ./bashunit --parallel tests/ on macOS — all green
  • Alpine Docker --parallel --simple tests/unit/ — 694 passed, 0 failed (9s vs 32s sequential; 3.5x speedup)
  • Alpine Docker --parallel tests/ — 926 passed, 0 failed (exit 0)
  • make sa && make lint pass
  • shfmt -d clean

Closes #370

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
@Chemaclass Chemaclass added the bug Something isn't working label Apr 18, 2026
@Chemaclass Chemaclass self-assigned this Apr 18, 2026
@github-actions
Copy link
Copy Markdown
Contributor

✅ Contributor Report

User: @Chemaclass
Status: Trusted contributor (whitelisted)

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.
@Chemaclass Chemaclass merged commit b2ddec7 into main Apr 18, 2026
48 of 49 checks passed
@Chemaclass Chemaclass deleted the fix/370-alpine-parallel-tests branch April 18, 2026 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Alpine errors when running tests in parallel

1 participant