Skip to content

test(terminal): wait for startup endpoint before launch - #13

Merged
HeftyKoo merged 1 commit into
mainfrom
codex/test-host-readiness
Sep 29, 2026
Merged

HeftyKoo merged 1 commit into
mainfrom
codex/test-host-readiness

Conversation

@HeftyKoo

Copy link
Copy Markdown
Owner

The Codex hooks integration test fetches the printed launch URL before startup finishes writing endpoint.json. That can race the launch handler's endpoint update and leave the test with an unsuccessful launch response and no admin cookie.

Wait for the committed endpoint, as service and native clients do, and assert the launch response before using its cookies. This changes the test only; shipped extension and npm package bytes remain unchanged.

Validation: all seven terminal-host integration tests pass locally. The same product source already passed full release audits in both npm publication workflows; this removes a timing-dependent test entry point seen in the extension workflow.

@HeftyKoo
HeftyKoo merged commit 5c3dd3c into main Sep 29, 2026
2 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