Skip to content

First-party sleep/wait with wake signals #29359

Open

Description

@danthegoodman1

What variant of Codex are you using?

App

What feature would you like to see?

For loop-like behavior where say an implementer and reviewer thread is spawned by a coorindator, there's a lot of time wasted when an implementer or reviewer finishes, and the coordiantor is doing something like 5min waits to check on progress. If you have too short of a wait, the coordinator burns a lot of tokens checking something that's in-progress, but if you have too long of a wait, there's a ton of wasted time where the coordinator is waiting for something that's already finished.

The better result would be a first-class wait mechanism that can be interrupted by events like steer messages or spawned threads completing. That would allow the sleep period to be more of a timeout so that blocking tool calls/out of control threads can be identified by the coordinator, but it can also iterate without delay when things complete running.

Additional information

No response

Activity

  1. added
    appIssues related to the Codex desktop app
    subagentIssues involving subagents or multi-agent features
    on Jun 21, 2026
  2. github-actions commented on Jun 21, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  3. danthegoodman1 commented on Jun 21, 2026

    @danthegoodman1
    Author

    #28144 is similar, but seems specific to goals. I'm also specifically calling out threads as a signal.

  4. changed the title [-]Sleep conditionals[/-] [+]First-party sleep/wait with wake signals[/+] on Jun 21, 2026
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 appenhancementNew feature or requestsubagentIssues involving subagents or multi-agent features

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions