Skip to content

spawn never pins a pane size - a stale 1x1 tmux client makes every new den one column wide #407

Description

@woltspace-jerpint

Found while root-causing the 33 pre-existing test failures for the rc6 rollup (#406) — 9 of them are this, correctly alarming and misread as host flakiness.

Bug: TmuxSessionRuntime.spawn (container/lib/session_runtime.py) runs tmux new-session -d … without pinning a pane size. Under window-size latest with a stale client reporting 1×1 (a real state on the dev laptop, /dev/ttys000), every newly spawned detached session comes up one column wide. -x/-y alone does NOT fix it — window-size latest overrides it; window-size manual + resize-window does (proven live, four ways).

Why it matters beyond tests: the notify / den-reply path pastes prompts into panes no human has attached to yet. In a 1-column pane the prompt arrives mangled and the agent TUI has no room to render; the session only recovers when someone opens it.

Recommendation: spawn pins a floor at creation — window-size manual on the session it just made plus a resize (e.g. 200×50).

Full account with the experiments: wolts/uxwolt/wolt/drafts/rc6-preexisting-failures.md (uxwolt's tree).

🤖 Generated with Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions