codex - 💡(How to fix) Fix Bug: /goal floods session with repeated (remote compact) usage-limit errors

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

When running /goal in Codex, if usage limits are reached during the run, the session thread is flooded with repeated identical remote compact task errors instead of showing a single deduplicated/terminal usage-limit message.

Error Message

The run thread repeatedly prints the same message:

Root Cause

Impact

This makes the session noisy and hard to inspect, obscures the actual run state, and can produce dozens of duplicate messages after the actionable error has already been reported. This should be handled immediately because it degrades the Codex run UX exactly when users need a clear failure state.

Fix Action

Fix / Workaround

■ Error running remote compact task: You've hit your usage limit. Upgrade to Pro (https://chatgpt.com/explore/pro),
visit https://chatgpt.com/codex/settings/usage to purchase more credits or try again at 10:29 PM.

Code Example

Error running remote compact task: You've hit your usage limit. Upgrade to Pro (https://chatgpt.com/explore/pro),
visit https://chatgpt.com/codex/settings/usage to purchase more credits or try again at 10:29 PM.

---

Usage limit reached. Remote compact task stopped. Try again after 10:29 PM or purchase more credits.
RAW_BUFFERClick to expand / collapse

Summary

When running /goal in Codex, if usage limits are reached during the run, the session thread is flooded with repeated identical remote compact task errors instead of showing a single deduplicated/terminal usage-limit message.

Impact

This makes the session noisy and hard to inspect, obscures the actual run state, and can produce dozens of duplicate messages after the actionable error has already been reported. This should be handled immediately because it degrades the Codex run UX exactly when users need a clear failure state.

Observed behavior

The run thread repeatedly prints the same message:

■ Error running remote compact task: You've hit your usage limit. Upgrade to Pro (https://chatgpt.com/explore/pro),
visit https://chatgpt.com/codex/settings/usage to purchase more credits or try again at 10:29 PM.

This message was emitted many times in the same session.

Expected behavior

After the first usage-limit failure, Codex should stop retrying or suppress duplicates, then show one clear terminal/status message, for example:

Usage limit reached. Remote compact task stopped. Try again after 10:29 PM or purchase more credits.

Suggested fix

  • Treat usage-limit errors from remote compact as terminal for that task/session path.
  • Deduplicate identical errors in the session log.
  • Add retry/backoff guards so quota failures cannot flood the thread.
  • Optionally collapse repeated internal errors behind a single status entry.

Severity

High / requires immediate fix: repeated quota errors flood active run threads and obscure the user-facing failure state.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

After the first usage-limit failure, Codex should stop retrying or suppress duplicates, then show one clear terminal/status message, for example:

Usage limit reached. Remote compact task stopped. Try again after 10:29 PM or purchase more credits.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix Bug: /goal floods session with repeated (remote compact) usage-limit errors