[Bug]: Codex appears to lose the initial image attachment after startup interruptions
Before submitting
- [x] I searched existing issues and did not find an exact duplicate.
- [x] I included enough detail to investigate the problem.
Area
apps/server, Codex provider, attachment delivery after interruption during startup.
What happened
An image was attached to the first message and remained visible in the chat. Two short follow-ups were sent while the early runs were starting. Both early runs showed "Run interrupted before provider start". The third run answered the text but asked for the image to be attached again.
Steps to reproduce / investigate
Observed sequence from one incident on 2026-11-16, not independently reproduced:
- Start a new Codex thread and attach an image to the first request.
- Before the model answers, send a short clarification.
- Send another clarification while the replacement run is starting.
- Let the final run complete.
The screenshot shows the original image thumbnail, two interruption markers, and the final reply asking for the image again. Whether the follow-ups alone caused the interruptions, or a separate Stop action also occurred, has not been established.
Expected behavior
If the original image has not reached the provider, the next run should receive it along with the original request and follow-ups.
Actual behavior
The next run understands the text request but says: "Please attach the image again. It did not reach me."
The original image is still shown in the chat, so the user has no indication it needs to be sent again until the model asks.
Evidence
The saved T3 run history confirms this sequence. Times are UTC on 2026-11-16:
- 19:35:06: first message with image submitted. Run 1 later marked interrupted.
- 19:35:19: first clarification submitted. Run 2 later marked interrupted.
- 19:35:32: second clarification submitted.
- 19:37:28: run 3 completed with the request to attach the image again.
The missing image is inferred from the model's response and the screenshot. Provider input payloads have not been inspected, so the exact point where delivery failed is not confirmed.
Environment and version
- Windows x64 host.
- Codex provider,
gpt-6.1-sol, High effort. - Incident occurred on 2026-11-16.
- The same environment reports server version
0.1.5during investigation. The version at the time of the incident was not separately verified.
Related report
#36676 covers an image lost after an explicit replacement request, Stop, and Resume. It is closed as completed. This report concerns an image on the initial message followed by startup interruptions and text clarifications. A shared cause is possible but unconfirmed.
Workaround
Attach the image again as a fresh message.