Skip to content

Clean up test agent tmux sessions in e2e teardown#47

Merged
selfcontained merged 1 commit into
mainfrom
fix/dispatch-dev-focus
Mar 13, 2026
Merged

Clean up test agent tmux sessions in e2e teardown#47
selfcontained merged 1 commit into
mainfrom
fix/dispatch-dev-focus

Conversation

@selfcontained

Copy link
Copy Markdown
Owner

Summary

  • Query the test database for agent IDs before tearing it down, then kill their corresponding tmux sessions
  • Prevents orphaned dispatch_agt_* tmux sessions from lingering after e2e runs
  • Only kills sessions belonging to agents from the test run (safe when real agents are running)

Test plan

  • npm run test:e2e — 23/23 pass
  • Verified zero orphan tmux sessions after test run

🤖 Generated with Claude Code

Query the test database for agent IDs before tearing it down, then
kill their corresponding tmux sessions. Prevents orphaned sessions
from lingering after e2e runs.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@selfcontained
selfcontained merged commit 0430b3e into main Mar 13, 2026
1 check passed
@selfcontained
selfcontained deleted the fix/dispatch-dev-focus branch March 13, 2026 02:56
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