Skip to content

fix(tls): check isMac before isLinux in globalTrust - #57

Merged
roodboi merged 1 commit into
mainfrom
fix/global-trust-platform-order
Jul 8, 2026
Merged

fix(tls): check isMac before isLinux in globalTrust#57
roodboi merged 1 commit into
mainfrom
fix/global-trust-platform-order

Conversation

@roodboi

@roodboi roodboi commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

release-prepare failed on main: tests/global-command.macos.test.ts mocks isMac()=true but not isLinux(), and the new Linux branch in globalTrust ran first on the Linux runner — building a real bundle from /etc/ssl/certs instead of the mocked keychain export. Mac branch now checks first (mutually exclusive on real platforms; mock-safe in tests), and the macOS suite pins isLinux()=false.

🤖 Generated with Claude Code

…mac suite

The macOS test suite mocks isMac()=true but ran on Linux CI where the
real isLinux() won, sending globalTrust down the Linux bundle path
against the runner's real /etc/ssl/certs. Mac branch now checks first,
and the suite pins isLinux()=false.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@roodboi
roodboi merged commit e3c6da0 into main Jul 8, 2026
4 checks passed
@roodboi
roodboi deleted the fix/global-trust-platform-order branch July 8, 2026 01:02
roodboi pushed a commit that referenced this pull request Jul 8, 2026
## 3.2.0 (2026-07-08)

* Merge branch 'main' into fix/container-trust-bundle ([8338b58](8338b58))
* Merge pull request #56 from hack-dance/fix/container-trust-bundle ([9cb82c1](9cb82c1)), closes [#56](#56)
* Merge pull request #57 from hack-dance/fix/global-trust-platform-order ([e3c6da0](e3c6da0)), closes [#57](#57)
* fix(tls): check isMac before isLinux in globalTrust; pin platform in mac suite ([4d35428](4d35428))
* fix(tls): containers get combined public+local trust, never a stripped bundle ([651f234](651f234))
* fix(tls): generate the combined trust bundle on Linux hosts ([e339920](e339920))
* test(tls): neutral fixture paths for the privacy check ([c4be004](c4be004))
* feat(agents): onboarding lessons from first field hack init --with run ([2190dd8](2190dd8))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant