Skip to content

Allow test mode to skip probing for runningAgentServers#2675

Merged
robgruen merged 1 commit into
mainfrom
dev/robgruen/smoke_test_fix
Jul 15, 2026
Merged

Allow test mode to skip probing for runningAgentServers#2675
robgruen merged 1 commit into
mainfrom
dev/robgruen/smoke_test_fix

Conversation

@robgruen

Copy link
Copy Markdown
Collaborator

This pull request updates the agent-server detection logic to improve test isolation. The main change ensures that, in test mode, the shell does not attempt to probe for an existing agent-server, preventing accidental connections to unrelated servers and ensuring tests remain hermetic.

Test isolation improvements:

  • Updated detectRunningAgentServer in index.ts to skip probing for a running agent-server when in test mode (--test), ensuring that test runs do not connect to stray or developer servers and remain isolated as intended.

@robgruen robgruen marked this pull request as ready for review July 15, 2026 02:32
@robgruen robgruen merged commit 12e6b94 into main Jul 15, 2026
14 of 22 checks 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