feat: set up macOS container tooling (NEEDS VPN NETWORKING FIX)#270
Draft
shunk031 wants to merge 1 commit into
Draft
feat: set up macOS container tooling (NEEDS VPN NETWORKING FIX)#270shunk031 wants to merge 1 commit into
shunk031 wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #270 +/- ##
==========================================
+ Coverage 90.19% 90.49% +0.29%
==========================================
Files 10 10
Lines 306 305 -1
==========================================
Hits 276 276
+ Misses 30 29 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
25 tasks
899b013 to
c7222da
Compare
shunk031
commented
Jun 28, 2026
Owner
Author
There was a problem hiding this comment.
⚠️ Performance Alert ⚠️
Possible performance regression was detected for benchmark 'MacOS benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.50.
| Benchmark suite | Current: 4852ba4 | Previous: 62e967a | Ratio |
|---|---|---|---|
zsh initial startup time |
10.17 Second |
6.28 Second |
1.62 |
This comment was automatically generated by workflow using github-action-benchmark.
CC: @shunk031
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
socktainerDocker context.--HEADbuild.Testing
bash -n install/macos/common/container.sh install/macos/common/mac_app_store.shshfmt -i 4 -sr -d install/macos/common/container.sh install/macos/common/mac_app_store.shshellcheck install/macos/common/container.sh install/macos/common/mac_app_store.shgit diff --checkdocker compose up -dwith thesocktainerDocker contextdocker compose psNotes: Docker Compose, Socktainer HEAD, and VPN networking
During local validation, Docker Compose worked with the stable Homebrew formulae for Apple Container and Socktainer, plus the Homebrew Docker CLI and Compose plugin, using the
socktainerDocker context.This PR does not force
brew install --HEAD socktainer. socktainer/socktainer#262 fixes a DNS sidecar image issue and also notes a current Homebrew--HEADresource-bundle packaging caveat. In local testing, the latest Homebrew HEAD build hit the documentedSocktainerDNSImageresource-bundle failure, so the stable Homebrew formula is currently the safer default for this dotfiles setup.VPN caveat
With VPN enabled, the host route for the Apple Container subnet was captured by the VPN interface instead of the Apple Container bridge. In that state, the local forward proxy port accepted TCP connections, but the backend connection to the container timed out. Container DNS through the Apple Container gateway also failed.
After disconnecting VPN, the local forward proxy smoke test returned the expected Apache response.
Related upstream reports:
--HEADresource-bundle packaging caveat.Rollback / uninstall
If we decide not to use Apple Container and Socktainer for now, remove the local setup with:
If the Homebrew Docker CLI and Compose formulae were only installed for this trial, they can also be removed with:
Only remove Apple Container state after confirming that no local images, networks, or runtime state are needed: