Skip to content

Agent mindlessly polls long-running work instead of checking progress or advancing independent tasks #41007

Open

Description

@MichaelSpece

Summary

When Codex starts a long-running build or deployment, it can fall into a low-value polling loop: repeatedly re-observing substantially unchanged UI state instead of checking the authoritative progress source and using the wait interval for independent work that is already available.

This is not only a token-efficiency problem. It is an orchestration problem: the agent has enough context to identify useful parallel work, but behaves as though polling is the whole task.

Reproduction

  1. Ask Codex Desktop to work through a nested Windows VDI.
  2. Have it start a container build or deployment in a web dashboard.
  3. Leave other independent work available, such as:
    • inspect the build/deployment status or logs through the most direct available surface;
    • prepare the next code change;
    • inspect repository abstractions;
    • add tests;
    • validate a previously deployed endpoint.
  4. Observe Codex repeatedly capture or inspect the same waiting screen.
  5. Interrupt Codex and point out that it could check progress or do something else.
  6. In the observed case, the container build had already completed by the time of the interruption.

Actual behavior

  • Codex repeatedly polls an effectively unchanged surface.
  • It does not switch to an authoritative progress source when one is available.
  • It does not advance independent queued work during the wait.
  • It may miss that the asynchronous operation has already completed.
  • User intervention is required to redirect it from waiting to useful work.

Expected behavior

Codex should treat a long-running operation as asynchronous work:

  1. Prefer an authoritative, structured progress surface over repeated screenshots of an unchanged page.
  2. Choose a sensible/event-driven wait or a long checkpoint interval instead of short model-driven polling.
  3. While the operation is pending, execute safe independent work already in scope.
  4. Re-check the asynchronous operation after a meaningful event, elapsed checkpoint, or when the independent work finishes.
  5. If no useful independent work exists, remain efficiently idle rather than repeatedly reasoning about the same state.
  6. Detect and act on completion promptly.

A useful orchestration rule would be:

Before polling again, ask whether the pending operation has an authoritative status source and whether any independent in-scope task can make progress. Poll only if neither path can advance the task.

Why this is distinct from related issues

This report is narrower: the model fails to schedule useful independent work and fails to switch to the best progress source while a long-running build/deployment is pending.

Environment

  • Surface: Codex Desktop
  • Host: Windows
  • Target: nested Windows VDI
  • Workload: container build followed by deployment and endpoint validation
  • Observed: 2026-08-26

Activity

  1. added
    bugSomething isn't working
    appIssues related to the Codex desktop app
    windows-osIssues related to Codex on Windows systems
    model-behaviorIssues related to behaviors exhibited by the model
    on Aug 27, 2026
  2. github-actions commented on Aug 27, 2026

    @github-actions
    Contributor
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 appbugSomething isn't workingcomputer-usemodel-behaviorIssues related to behaviors exhibited by the modelwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions