Files
codex/codex-rs/core/src
T
Eric Traut fa0e2ba87c Avoid false shell snapshot cleanup warnings (#18441)
## Why
Fresh app-server thread startup can create a shell snapshot through a
temp file and then promote it to the final snapshot path. The previous
implementation briefly wrapped the temp path in `ShellSnapshot`, so
after a successful rename its `Drop` attempted to delete the old temp
path and could log a false `ENOENT` warning.

Fixes #17549.

## What changed
- Validate the temp snapshot path directly before promotion.
- Rename the temp path directly to the final snapshot path.
- Keep explicit cleanup of the temp path on validation or finalization
failures.
fa0e2ba87c ยท 2026-04-20 15:15:05 +01:00
History
..
2026-04-20 10:32:20 +01:00
2026-04-14 14:26:10 -07:00
2026-04-17 18:26:09 +01:00
2026-04-14 14:26:10 -07:00
2026-04-14 14:26:10 -07:00