Skip to content

fix(sessionservice): default --host to "" so local runner doesn't SSH-wrap attaches#257

Merged
tildesrc merged 1 commit into
mainfrom
panopticon/fix-local-runner-host-default
Jul 9, 2026
Merged

fix(sessionservice): default --host to "" so local runner doesn't SSH-wrap attaches#257
tildesrc merged 1 commit into
mainfrom
panopticon/fix-local-runner-host-default

Conversation

@tildesrc

@tildesrc tildesrc commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • host.py's --host argument defaulted to socket.gethostname() when PANOPTICON_RUNNER_HOST was unset
  • This caused the local session-service runner to register with the machine's hostname
  • The terminal supervisor then wrapped every local-task tmux attach with ssh -t <hostname> — unnecessary and broken for local tasks
  • Fix: default to "" (empty string), which leaves runner_host null in the task service so locally-claimed tasks attach directly
  • Also removes the now-unused import socket

Extracted from PR #249 (feat(m5.7): panopticon start-runner), which worked around this bug via start-runner --local but never fixed the root cause in host.py.

🤖 Generated with Claude Code

…-wrap attaches

socket.gethostname() as the default caused the terminal supervisor to wrap
every local-task attach in `ssh -t <hostname>`. An empty string leaves
runner_host null in the task service, so locally-claimed tasks attach
directly without SSH.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@tildesrc
tildesrc merged commit 3d02b40 into main Jul 9, 2026
3 checks passed
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