Skip to content

fix: apple host.docker.internal DNS hint + Hermes context mount (#118, #119) - #126

Merged
capotej merged 3 commits into
mainfrom
fix/apple-host-dns-and-hermes-context-118-119
Sep 2, 2026
Merged

fix: apple host.docker.internal DNS hint + Hermes context mount (#118, #119)#126
capotej merged 3 commits into
mainfrom
fix/apple-host-dns-and-hermes-context-118-119

Conversation

@hggz

@hggz hggz commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

Test plan

  • pnpm build
  • node --test tests/e2e/runtime.test.mjs — 15/15 on macOS arm64
  • Hermes context mount test passes (:/workspace/AGENTS.md)
  • CI e2e (Linux — full suite including PTY)
  • Operator one-time on Mac (outside harness): sudo container system dns create host.docker.internal --localhost 203.0.113.113

Closes #118, closes #119.

cc @capotej

Made with Cursor

@BoldBlackBot

Copy link
Copy Markdown
Contributor

Rebased onto current main in #164 (BoldBlackBot can't push to the upstream branch directly). All original changes preserved, build + lint pass.

@hggz
hggz force-pushed the fix/apple-host-dns-and-hermes-context-118-119 branch 2 times, most recently from 4e709d4 to b67ffd9 Compare August 11, 2026 15:25
Comment thread src/harness.ts Outdated
hggz and others added 3 commits September 2, 2026 02:56
…, #119)

Warn on HARNESS_CONTAINER_RUNTIME=apple when host.docker.internal is not
registered via container system dns, document the one-time setup, mount
global AGENTS.md into /workspace for Hermes, and skip PTY e2e tests when
macOS bsd script lacks util-linux -qfec.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@capotej
capotej force-pushed the fix/apple-host-dns-and-hermes-context-118-119 branch from b67ffd9 to bab76e9 Compare September 2, 2026 03:03
@capotej

capotej commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

Reverted the HermesAdapter.contextDir()/workspace change in bab76e9contextDir() is back to /home/harness/.hermes and the mounts test expectation is restored to match (comment). Branch is also rebased on current main; full e2e suite passes (128/128).

@capotej
capotej merged commit 2916715 into main Sep 2, 2026
9 checks passed
@capotej
capotej deleted the fix/apple-host-dns-and-hermes-context-118-119 branch September 2, 2026 03:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

4 participants