core-agent-ide/codex-rs/app-server/src/bin
Ahmed Ibrahim f3f47cf455
Stabilize app-server notify initialize test (#13939)
## What changed
- This PR changes only the flaky test setup for
`turn_start_notify_payload_includes_initialize_client_name`.
- Instead of shelling out to `python3` to write the notify payload, the
test uses the first-party `codex-app-server-test-notify-capture` helper.
- The helper writes `notify.json` atomically and the test waits for the
file to exist before reading it.

## Why this fixes the flake
- The old test depended on an external Python interpreter being present
and behaving consistently on every CI runner.
- It also raced the file write: the test could observe the path before
the payload had been fully written, which produced partial reads and
intermittent assertion failures.
- Moving the write into a repo-owned helper removes the external
dependency, and atomic write-plus-wait makes the handoff deterministic.

## Scope
- Test-only change.
2026-03-09 23:41:58 -07:00
..
notify_capture.rs Stabilize app-server notify initialize test (#13939) 2026-03-09 23:41:58 -07:00
test_notify_capture.rs Stabilize abort task follow-up handling (#13874) 2026-03-07 22:56:00 -08:00