Skip to content

Codex App keeps a stale inline image in chat until the same file is rendered in the diff panel #17315

Open

Description

@IvanLi-CN

What version of the Codex App are you using (From “About Codex” dialog)?

26.406.31014 (Build 1395)

What subscription do you have?

Not relevant

What platform is your computer?

Darwin 25.4.0 arm64 arm

What issue are you seeing?

When an inline image in an assistant response is overwritten with new content at the same local path, the conversation can keep showing the old image.

I can reliably verify this by opening the diff panel and locating the same image there. Once the image renders in the diff panel, going back to the conversation makes the stale image update to the correct content.

This suggests the file on disk is already correct, but the chat view is holding a stale render/cache entry for the same image path.

What steps can reproduce the bug?

  1. Have Codex render a local image inline in an assistant response.
  2. Overwrite that image file with new content at the exact same path and filename.
  3. In the conversation, observe that the inline image still shows the old version.
  4. Open the diff panel and find the same image.
  5. Once it renders there, return to the conversation.
  6. The image in the chat now updates to the correct content.

What is the expected behavior?

The inline image in the conversation should refresh when the file contents change, even if the path stays the same.

Additional information

  • The path does not change; only the file contents change.
  • The diff panel can already render the correct updated image from the same path.
  • This looks like a chat-view-side cache/render invalidation issue for same-path images.
  • This may be a regression; I do not remember seeing this in earlier app versions.

Activity

  1. added
    app
    on Apr 10, 2026
  2. added
    bug
    on Apr 10, 2026
  3. IvanLi-CN commented on Apr 11, 2026

    @IvanLi-CN
    Author

    Currently, version 26.409.20454 (1462) still has this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions