Document startup auto-update flow

This commit is contained in:
Yaroslav Volovich
2026-02-25 18:52:09 +00:00
parent 76b25805bf
commit 5d17805f66
2 changed files with 19 additions and 0 deletions

View File

@@ -1,3 +1,10 @@
//! End-to-end PTY coverage for the startup auto-update handoff.
//!
//! This test seeds cached update state and a fake `npm` on `PATH`, then runs
//! the real `codex` binary. Its job is to document and enforce the contract
//! that startup reuses the existing updater path and preserves the updater
//! working directory and argv.
use std::collections::HashMap;
use std::time::Duration;