Skip to content

fix: pin tmux window geometry policy#2496

Open
polymath-orchestrator wants to merge 3 commits into
AgentWrapper:mainfrom
polymath-orchestrator:ao/agent-orchestrator-71/upstream-issue-65-tmux-geometry
Open

fix: pin tmux window geometry policy#2496
polymath-orchestrator wants to merge 3 commits into
AgentWrapper:mainfrom
polymath-orchestrator:ao/agent-orchestrator-71/upstream-issue-65-tmux-geometry

Conversation

@polymath-orchestrator

Copy link
Copy Markdown

Summary

  • Pin ao-created tmux windows to window-size latest after session creation.
  • This prevents host tmux defaults such as window-size smallest, or a stale smaller client, from forcing a newly attached browser/Electron terminal to render at the wrong shared window geometry.

Test plan

  • cd backend && go test ./internal/adapters/runtime/tmux
  • cd backend && env -u AO_SESSION_ID -u AO_PROJECT_ID -u AO_PROJECT_REPO go build ./... && env -u AO_SESSION_ID -u AO_PROJECT_ID -u AO_PROJECT_REPO go vet ./... && env -u AO_SESSION_ID -u AO_PROJECT_ID -u AO_PROJECT_REPO go test ./...

Note: the first upstream full-gate run without unsetting AO session env vars failed in existing backend/internal/cli spawn tests because this worker runs inside ao and exports AO_SESSION_ID; rerunning with those ambient vars unset 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