Skip to content

Streaming outputs in codex exec insert empty lines, then dump bulk text (no smooth stream) #4862

Closed

Description

@moazbuilds

What version of Codex is running?

codex-cli 0.45.0

Which model were you using?

gpt-5

What platform is your computer?

Linux 5.15.153.1-microsoft-standard-WSL2 x86_64 x86_64

What steps can reproduce the bug?

In the latest Codex Exec update, the streaming output isn’t smooth anymore.
It first shows a bunch of empty lines, then suddenly prints a large chunk of text all at once, instead of streaming gradually.

This makes user wait a long time before seeing any real output, especially with longer responses.

What is the expected behavior?

Expected: text should appear smoothly and continuously.

What do you see instead?

Actual: it pauses with blank lines, then dumps everything at once.

Additional information

No response

Activity

  1. added
    bug
    on Oct 7, 2025
  2. github-actions commented on Oct 7, 2025

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. iagooar commented on Nov 9, 2025

    @iagooar

    I can confirm codex exec does not actually stream. It kind of streams parts of its message (like the metadata first all at once, then the thinking all at once, then the actual output all at once)

    So basically it does:

    prints metadata
    (wait 2s)
    prints thinking
    (wait Xs)
    prints output (all at once - I would expect the output to be streamed, not buffered)

    Please fix.

  4. added
    exec
    on Nov 14, 2025
  5. etraut-openai commented on Jan 10, 2026

    @etraut-openai
    Contributor

    Closing old bugs.

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

    bugexec

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions