Skip to content

Improve test reliability and add force exit option#2677

Merged
robgruen merged 3 commits into
mainfrom
dev/robgruen/smoke_test_fix
Jul 15, 2026
Merged

Improve test reliability and add force exit option#2677
robgruen merged 3 commits into
mainfrom
dev/robgruen/smoke_test_fix

Conversation

@robgruen

Copy link
Copy Markdown
Collaborator

This pull request includes improvements to the test harness reliability and test data, as well as a minor update to the test script configuration. The main focus is to ensure test isolation and prevent interference from other running instances during testing.

Test harness reliability and isolation:

  • Updated the agent server startup logic in index.ts to never probe for a running agent server when in test mode (--test), ensuring that each test run uses its own isolated instance and does not accidentally connect to a pre-existing server.

Test data maintenance:

  • Simplified a test case in translate-history-e2e.json by removing the unused internetLookups field from the parameters object, likely to reflect changes in expected behavior or schema.

Test script configuration:

  • Added the --forceExit flag to the test:live script in package.json to ensure that Jest exits cleanly after tests complete, preventing hanging processes during live testing.

@robgruen robgruen marked this pull request as ready for review July 15, 2026 03:22
@robgruen robgruen merged commit 90e14cc into main Jul 15, 2026
15 of 21 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