Skip to content

Isolate tmux servers in concurrent integration tests - #156

Merged
tony merged 2 commits into
masterfrom
fix/107-isolate-tmux-tests
Dec 5, 2026
Merged

tony merged 2 commits into
masterfrom
fix/107-isolate-tmux-tests

Conversation

@tony

@tony tony commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Closes #107

What changed, and why:

Concurrent pane and window tests could kill the server used by another worker. Each native test now gets a short private socket path. Teardown removes only that test’s server.

Checks run:

On Linux, Ruff formatting and lint, ty for Python 3.12 through 3.15, the full pytest suite with doctests, compiled Ghostty comparisons, and the Sphinx warnings-as-errors build passed. Two concurrent native pane captures completed on tmux 3.6b while using separate sockets.

Tool use:

Codex prepared the change and ran the local checks. A separate Codex reviewer replayed the changed behavior and checked the publication tree against the reviewed patch.

tony added a commit that referenced this pull request Dec 3, 2026
why: Readers need the behavior and scope of this change at release.

what:
- Add the unreleased entry for PR #156
- Preserve previously published notes and the parent branch's entries
@tony
tony marked this pull request as ready for review December 3, 2026 01:29
@tony
tony force-pushed the fix/107-isolate-tmux-tests branch from b91a029 to 992e904 Compare December 3, 2026 23:58
tony added 2 commits December 5, 2026 07:20
why: Concurrent test workers could terminate each other's tmux server.

what:
- Use a unique tmux socket name for each native pane or window test.
- Check that stopping one server leaves the other running.
why: A worker that stops a shared tmux server can interrupt another
     worker's capture.

what:
- Document the private server socket for each native integration test.
@tony
tony force-pushed the fix/107-isolate-tmux-tests branch from 992e904 to 24cc065 Compare December 5, 2026 13:21
@tony
tony merged commit b977e1f into master Dec 5, 2026
9 checks passed
@tony
tony deleted the fix/107-isolate-tmux-tests branch December 5, 2026 20:41

This branch was successfully deployed

1 active deployment
docs — 24cc065d Deployed Dec 5, 2026 by tony via build (3.14) #385
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.

Parallel live tests can tear down another worker’s tmux server

1 participant