Skip to content

Fix: Desktop App - Message send is delayed for ~8 seconds in new sessions after the latest update #18264

Closed

Description

@JavierPiedra

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

26.415.21839

What subscription do you have?

Pro

What platform is your computer?

Darwin 25.3.0 arm64 arm

What issue are you seeing?

Summary

In the Codex desktop app, sending a message can take around 8 seconds before the message is actually sent.

This appears to have started after the latest update. It did not happen in older sessions before.

Environment

  • App: Codex desktop app
  • Codex version: 26.415.21839 (1763)
  • macOS: 26.3.1 (build 25D771280a)
  • Hardware: MacBook Air (Apple M3, 24 GB RAM)

Actual behavior

After pressing Enter to send a message, the message does not send immediately.

Observed behavior:

  • The spinner appears in the send button
  • The message remains pending for about 8 seconds
  • Lowering reasoning does not help

This is affecting sessions created after the latest update.

What steps can reproduce the bug?

Reproduction

Observed repro:

  1. Open Codex desktop
  2. Open a newer thread created after the latest update
  3. Type a normal message
  4. Press Enter
  5. Observe the spinner in the send button and a delay of about 8 seconds before the message is sent

Additional observation:

  • In a brand-new thread, the first message sent immediately
  • The second message in that same new thread then started taking a very long time to send

Scope / pattern

  • Happens in newer sessions created after the latest update
  • Did not happen in older sessions tested by the user
  • Not fixed by lowering reasoning
  • Seen with GPT-5.4 and Extra High, but reasoning level does not appear to be the cause

What is the expected behavior?

Expected behavior

Pressing Enter should enqueue and send the message immediately, or at least show near-instant client acknowledgment.

Additional information

Notes

This feels like client-side send latency rather than raw network latency.

Local diagnostics from the machine at the time:

  • Network path looked healthy in macOS logs
  • Codex renderer/helper processes showed noticeable CPU activity while the issue was occurring
  • No obvious network failure was visible from the local system logs

Impact

This makes normal back-and-forth use of Codex frustrating because even short messages feel blocked before they are sent.

If you want, I can also compress this into a shorter GitHub-style version, or turn it into a more technical issue with a small Additional diagnostics section at the end.

Activity

  1. added
    app
    on Apr 17, 2026
  2. added
    bug
    session
    on Apr 17, 2026
  3. hhwang39 commented on Apr 17, 2026

    @hhwang39

    Having exactly same issue after update

  4. miraclebakelaser commented on Apr 17, 2026

    @miraclebakelaser
    Contributor

    Same here. Experiencing significant delay when sending messages. Image

  5. jaewon-kim-dev commented on Apr 17, 2026

    @jaewon-kim-dev
  6. mingxu1031 commented on Apr 17, 2026

    @mingxu1031

    Having exactly same issue after update

  7. Yu1iWoowah commented on Apr 17, 2026

    @Yu1iWoowah

    @jaewon-kim-dev Thanks, the issue disappeared after downgrading the version.

  8. deanhtid commented on Apr 17, 2026

    @deanhtid

    Same here on macOS. Codex 26.415.21839 (1763) on macOS 26.3.1 (M-series). New threads created after the update show ~6–8s spinner delay before the message actually sends; second message onward is worst. Reasoning level doesn't change it. Rolling back isn't viable for me — would appreciate a fix rather than a downgrade workaround.

  9. jaredatsupplystream commented on Apr 17, 2026

    @jaredatsupplystream

    Same here on Codex 26.415.21839 (1763) on macOS 26.3.1 (M-series).

  10. lambegraham commented on Apr 17, 2026

    @lambegraham

    Same here, sometimes taking up to 20s on a message

  11. TacoRocket commented on Apr 17, 2026

    @TacoRocket

    Can comfirm that the downgrade fixes it and also experiencing the same issue

  12. paakwasi317 commented on Apr 17, 2026

    @paakwasi317

    I can confirm that I am being affected by this issue as well, I do not want to downgrade just yet

  13. xuanyi-fu commented on Apr 17, 2026

    @xuanyi-fu

    same here, I downgraded from Version 26.415.30602 (1773) to Version 26.409.20454 (1462), the problem disappeared immediately.

  14. 7 remaining items

  15. salparadi commented on Apr 18, 2026

    @salparadi

    26.415.32059 (1789) on MBP M5 Max 64Gb ram, still happening after disabling Computer Use but does seem like it might have crept in when I installed that.

  16. rzv-me commented on Apr 18, 2026

    @rzv-me

    so I tested it more, seems to be happening to me only for folders, where I don't have a git repo;

    so if I create an empty folder test-codex-app and then add that location, it will start lagging from the second message:

    Me: greetings <= instant submit in both projects
    Assistant: Hello. What do you need?
    Me: hi again <= instant submit for project with git, 5-10 seconds for empty folder
    
  17. yasinhassanien commented on Apr 18, 2026

    @yasinhassanien

    Same issue here hangs for 5 to 7 seconds and if I leave the screen to another thread, the thread gets stuck on sending

    Using Mac Max Chip 36GB

  18. yasinhassanien commented on Apr 18, 2026

    @yasinhassanien

    this is by the way in threads that became over 90K context window

  19. 8020-Research commented on Apr 18, 2026

    @8020-Research

    Same issue here hangs for 5 to 7 seconds and if I leave the screen to another thread, the thread gets stuck on sending

    Using Mac Max Chip 36GB

    Identical issue on a Mac Mini M4 Pro with 24GB.
    If I leave the thread while it’s sending, it can stay stuck until I return to the app.

  20. 8020-Research commented on Apr 18, 2026

    @8020-Research

    I pulled an old version from Wayback Machine. It initially worked. Reconnected to my project folder and it's now broken again.
    This suggests that part of it appears to persist in local Codex state/data.

  21. etraut-openai commented on Apr 18, 2026

    @etraut-openai
    Contributor

    Thanks to everyone who reported this.

    We understand the cause of this problem and are working on getting a fix out soon.

  22. rzv-me commented on Apr 18, 2026

    @rzv-me

    @etraut-openai managed to do a full debugging and this is the summary of my finding.

    Basically there is a git related metadata fetch that happens and it stalls the UI

    I instrumented the desktop app locally and narrowed the stall down pretty precisely.
    
    What I found:
    - The delay is not in the backend or `app-server`.
    - Once the request is actually sent, `turn/start` returns in `1-2ms`.
    - The stall happens **before** `turn/start` is enqueued.
    
    The blocking step is in the desktop app’s local owner submit path:
    - submit enters owner path immediately
    - then it awaits a function I traced as `K()`
    - `K()` does a `refetch()` and then may call `update-thread-git-branch`
    - only after that does the app proceed to local preflight and `turn/start`
    
    In my repro, the slow step was exactly that awaited refetch:
    - `q begin` / `K begin`: immediate
    - `K refetch done`: ~`7012ms` later
    - `local preflight`: ~`53ms`
    - `turn/start`: `2ms`
    
    I also built a patched test version where `K()` was changed from awaited to fire-and-forget:
    - submit became effectively immediate
    - `local preflight`: ~`39ms`
    - `turn/start`: `2ms`
    - no visible stall
    
    So the issue appears to be:
    - the desktop app is awaiting a git/branch-refresh sync on the critical send path
    - that refresh can take several seconds, especially in non-git folders
    - the send should not block on that work
    
    One important extra note:
    - I also verified the `stable-metadata` / `Not a git repository` errors are a real separate bug
    - but suppressing that error alone did **not** remove the send delay
    - the actual submit blocker was the awaited branch-refresh refetch before send
    
    Suggested fix:
    - don’t await the thread git branch refresh before submit
    - make it fire-and-forget, move it after send, or bound it with a short timeout / skip for non-git folders
    
    
  23. kargarisaac commented on Apr 18, 2026

    @kargarisaac

    Everytime i send a message it takes few secinds to be submitted and sometimes i leave the app and go back few minutes later and still see it is not submitted. And when i click it goes through

  24. rzv-me commented on Apr 18, 2026

    @rzv-me

    @etraut-openai
    I just downloaded the updated version: 26.415.40636 (1799) and it is fixed

    Problem seems to be the await on the git repo metadata refetch, great work 💪

  25. nachoal commented on Apr 18, 2026

    @nachoal

    Confirming that this appears fixed for me after updating Codex Desktop to Version 26.415.40636 (1799) on macOS.

    I retested on fresh threads, and follow-up messages are now sending immediately / feeling fast again. Before this update I was consistently seeing the second and later messages sit in the submit spinner for several seconds before the message was actually accepted.

    My separate issue was closed as a duplicate of this one, so adding this here as a datapoint that the latest app update seems to have resolved it on my machine.

  26. vincenthcui commented on Apr 29, 2026

    @vincenthcui

    I’m seeing what looks like a similar ~6-8s baseline delay from Codex CLI as well, not only the desktop app.

    Environment:

    • codex-cli 0.125.0
    • Auth mode: ChatGPT
    • macOS / Darwin arm64
    • Terminal: iTerm.app 3.6.9
    • Default model: gpt-5.5

    Minimal repro:

    time codex exec --skip-git-repo-check "只回复 pong"

    Repeated runs:

    • gpt-5.5: 9.45s / 6.50s / 7.26s, average ~7.74s
    • gpt-5.4-mini: 6.41s / 7.33s / 7.41s, average ~7.05s

    So this does not look like a full hang. The CLI eventually responds, but even a trivial prompt has a 6-8s latency floor.

    I also saw repeated warnings in ~/.codex/log/codex-tui.log:

    failed to load discoverable tool suggestions: request failed with status 403 Forbidden
    

    The failed request appears to hit:

    chatgpt.com/backend-api/.../connectors/directory/list
    

    and returns a Cloudflare challenge HTML page.

    I tried disabling tool suggestions:

    [features]
    tool_suggest = false

    codex features list confirms tool_suggest is false, but this did not materially improve codex exec latency. That makes me think the 6-8s delay may be a separate cold-start / send path issue, while the tool suggestion 403 may be extra TUI noise.

    I also see this non-blocking error after codex exec returns:

    failed to record rollout items: thread ... not found
    

    The command still returns pong, so I don’t think that is the primary latency cause.

  27. yasinhassanien commented on Apr 29, 2026

    @yasinhassanien
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

    appbugsession

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions