test(sandbox): mam_sandbox also drops HERDR_SESSION (reviews 63919c5d / 191f0ec3, non-blocking)
The caller-server helpers read it, so tests branched on whether they ran in an agent pane. L2 covers it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VCgu9Fa9iT7TbJUSzdq4Ff
This commit is contained in:
1 parent
325b056057
commit
db7f4cab9c
2 files changed
+5
-1
No files matched your search
@@ -293,7 +293,10 @@ def mam_sandbox(tmp_path, monkeypatch, request):
|
||||
# A herdr pane exports its server's socket (and pane/tab ids). The real
|
||||
# herdr follows HERDR_SOCKET_PATH over the sandbox HOME, so a call that
|
||||
# missed the mock reached the caller's real server and opened panes there.
|
||||
# HERDR_SESSION resolves under the sandbox HOME, but the caller-server
|
||||
# helpers read it, so tests branched on whether they ran in a pane.
|
||||
monkeypatch.delenv("HERDR_SOCKET_PATH", raising=False)
|
||||
monkeypatch.delenv("HERDR_SESSION", raising=False)
|
||||
monkeypatch.delenv("HERDR_PANE_ID", raising=False)
|
||||
monkeypatch.delenv("HERDR_TAB_ID", raising=False)
|
||||
# Issue #45: the shim bootstrap writes a herdr server config next to the
|
||||
|
||||
Reference in new issue
Block a user