feat: add containerized test runner for macOS development#55
Merged
shaneutt merged 3 commits intopraxis-proxy:mainfrom Apr 20, 2026
Merged
feat: add containerized test runner for macOS development#55shaneutt merged 3 commits intopraxis-proxy:mainfrom
shaneutt merged 3 commits intopraxis-proxy:mainfrom
Conversation
Running `make test` on macOS is unreliable due to missing tools (sha256sum), architecture mismatches (h2spec has no arm64 builds), and networking differences from the Linux production target. Add `make test-container` which bind-mounts the project into an Alpine container and runs the full test suite. A named volume caches compiled dependencies and tools between runs. Also fix Makefile portability issues uncovered along the way: - Add linux_arm64 SHA256 entries for vegeta and fortio - Broaden h2spec amd64 fallback to all arm64 platforms - Use sha256sum short flags (-cs) for BusyBox compatibility - Allow BINUTILS_DIR override via environment variable Makefile and Containerfile additions were assisted by Opus 4.6.
BusyBox and GNU coreutils sha256sum have incompatible flags: GNU supports --status but not -s, BusyBox supports -s but not --status. The status flag is not necessary — removing it causes sha256sum to print a confirmation line to stdout on success, but exit code behavior is unchanged.
Rename test-container-build/test-container to test-container/test-container-run, matching the existing container/container-run pattern.
shaneutt
approved these changes
Apr 20, 2026
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
make test-containerwhich runs the full test suite inside an Alpine Linux container, bind-mounting the project directory so tests always run against the current working treesha256sumflag portability for BusyBox compatibilityRelated to #54 — this provides a workaround while native macOS test support is investigated.
Test plan
make test-containerpasses the full test suitemake teston Linux CI is unaffectedmake toolssucceeds on linux_arm64