My Codex got stuck in a thinking loop, drained all my usage, and I think it messed up all my code

Open 💬 4 comments Opened Apr 27, 2026 by akhil274
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

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

26.422.30944

What subscription do you have?

go

What platform is your computer?

Microsoft Windows NT 10.0.19045.0 x64"Microsoft Windows NT 10.0.19045.0 x64

What issue are you seeing?

After coding one of my app features, the agent got stuck in a thinking loop. It drained all my usage, and I couldn’t stop it. I waited for almost 30 minutes, then closed and reopened the app, but it was still stuck in the loop and wouldn’t stop. I’m not sure if it made any changes to my code or spoiled my code , and it used up all my usage limits. The prompt i given to it is : yes now working need some tweeking 1) need network fail handing propely 2) ned to do the 1:1 png export to the weatheicon not all for sun also do for all the wearther condation like moon sun with all the ccondation as well as the night or day without animation 3) need to increase the size of the icon and make it in the center with out effecting the location and temp:

What steps can reproduce the bug?

Uploaded thread: 019dca38-ea1e-7753-be5e-86ad906ebd1f

What is the expected behavior?

I expected to run that prompt and fix the code with improve the ui of my app

Additional information

_No response_

View original on GitHub ↗

4 Comments

github-actions[bot] contributor · 4 months ago

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

  • #19401
  • #18810
  • #18827
  • #19690

Powered by Codex Action

akhil274 · 4 months ago

No my issue no this all one mine is the agen stuck in thinking loop

On Mon, 27 Apr, 2026, 9:28 pm github-actions[bot], @.***>
wrote:

github-actions[bot] left a comment (openai/codex#19831) <https://github.com/openai/codex/issues/19831#issuecomment-4328469930> Potential duplicates detected. Please review them and close your issue if it is a duplicate. - #19401 <https://github.com/openai/codex/issues/19401> - #18810 <https://github.com/openai/codex/issues/18810> - #18827 <https://github.com/openai/codex/issues/18827> - #19690 <https://github.com/openai/codex/issues/19690> Powered by Codex Action <https://github.com/openai/codex-action> — Reply to this email directly, view it on GitHub <https://github.com/openai/codex/issues/19831#issuecomment-4328469930>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ATOFXP55NBJISVCWW7E5ATT4X57SNAVCNFSM6AAAAACYIDUIXCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DGMRYGQ3DSOJTGA> . You are receiving this because you authored the thread.Message ID: @.***>
LarryAlexander · 4 months ago

Same issue here.

  • It burned ~8% of my weekly limit while stuck in a thinking loop.
  • I was using model: 5.3 codex.
  • Happens across all models I tried.
  • Subscription: $20 Pro (not Go)
  • It only recovered after starting a new thread; the original thread stayed broken/stuck until then.

Hope this helps reproduce/triage.

rainer-rq-koelle · 4 months ago

While my work got not really stuck, I have to admit that all results were sub-par today: Sloppy execution with considerable "thinking" time resulted in repeated instructions to fix the same issue/open point. The model did not adhere to agreed principles, etc., etc., etc.

I have been a happy camper so far and was flashed by the performance and output.
Today, 27. April, all the praise and reputation points for the last days were burnt ... and with this experience I share the sensation/frustration of the other users:
No or only mediocre work accomplished for a good share of % of daily/weekly limit burnt.

Today/this was a worse model/performance than seen before!

model 5.4 codex
subscription: $20 USD PRO