Skip to content

fix(fleet-pane-health): honor CODEX_FLEET_TMUX_SOCKET#136

Merged
NagyVikt merged 1 commit into
mainfrom
agent/claude/fleet-pane-health-socket-env-2026-05-16-00-41
May 15, 2026
Merged

fix(fleet-pane-health): honor CODEX_FLEET_TMUX_SOCKET#136
NagyVikt merged 1 commit into
mainfrom
agent/claude/fleet-pane-health-socket-env-2026-05-16-00-41

Conversation

@NagyVikt
Copy link
Copy Markdown
Contributor

Automated by gx branch finish (PR flow).

The binary called `Command::new("tmux")` directly, so when the fleet ran
on a non-default tmux socket (full-bringup.sh uses `-L codex-fleet`) it
queried the default socket, saw no session, and rendered the empty-state
banner even though 12 panes were alive on the right socket.

Add a `tmux_command()` helper that prepends `-L <socket>` when
`CODEX_FLEET_TMUX_SOCKET` is set to a non-empty value (matching the
convention in `scripts/codex-fleet/lib/_tmux.sh`), route the existing
`list-panes` call through it, and surface the new knob in the empty-state
note so future operators see both `CODEX_FLEET_SESSION` and
`CODEX_FLEET_TMUX_SOCKET`.

Verified: cargo check + cargo build --release pass; all 10 unit tests
green; release binary embeds both env var names and the `-L` flag.
@NagyVikt NagyVikt merged commit 1360461 into main May 15, 2026
@NagyVikt NagyVikt deleted the agent/claude/fleet-pane-health-socket-env-2026-05-16-00-41 branch May 15, 2026 22:44
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