Skip to content

Scheduled tasks can stop in the background and resume only after being opened #36414

Open

Description

@kevinmnm

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

26.727.40816 (build 6067)

What subscription do you have?

ChatGPT Pro

What platform is your computer?

Darwin 23.4.0 arm64 arm

What issue are you seeing?

Scheduled Codex tasks sometimes stop making progress while running in the background.

No error or approval request is shown. The task simply remains active without doing anything else.

When I manually open the stuck task in the desktop app, it immediately starts working again. In one case, the task had been stuck for more than an hour. It resumed within a fraction of a second after I opened it.

I checked the desktop app logs. They showed this order:

  1. The background task requested an app-owned tool.
  2. The tool did not start while the task remained in the background.
  3. I manually opened the task.
  4. The app ran thread/resume.
  5. The waiting tool started almost immediately.
  6. The tool finished normally.
  7. The agent continued working.

The tool itself was not slow. Once the app started it, it finished almost instantly.

This has been noticeable with scheduled tasks across multiple projects, so it does not appear to be caused by one repository, prompt, or workflow.

No error message was displayed.

What steps can reproduce the bug?

Feedback ID: 019fb94a-a821-78c1-84a4-993c1c3ac9ee

What is the expected behavior?

What is the expected behavior?

Scheduled tasks should continue running while they are in the background.

A task should not require its chat to be manually opened before a waiting tool can start or return its result.

If the app loses its connection to a scheduled task, it should reconnect automatically. If recovery is impossible, it should stop the task with a clear timeout or error instead of leaving it active indefinitely.

### Additional information

The desktop logs showed a strong connection between opening the task and its recovery:

```text
Background task requests tool
More than one hour passes with no tool execution
Task is manually opened
thread/resume runs
Tool starts less than 200 milliseconds later
Tool finishes normally
Agent continues

Activity

  1. added
    appIssues related to the Codex desktop app
    on Aug 1, 2026
  2. github-actions commented on Aug 1, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

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

    appIssues related to the Codex desktop appautomationsbugSomething isn't workingtool-callsIssues related to tool calling

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions