Skip to content

[Bug]: Send now silently leaves a message queued when its provider instance is disabled #46725

Done

Description

@sensslen

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/server

Steps to reproduce

  1. Queue a follow-up with an explicit provider instance while a turn is active.
  2. Stop the active turn, leaving the follow-up queued. Disable the queued message's provider instance for the project.
  3. Click Send now on the queued row while the thread is idle.

Expected behavior

Keep the message queued, but tell the user which provider is disabled so they can edit the message's provider or re-enable it.

Actual behavior

No turn starts and no error appears. The server acknowledges queued-run.start, releases the hold, then puts the run back on hold when startNextQueuedRun checks the instance. Repeated clicks get the same success response. Unlike #31236, this is not a rejected command whose error the client fails to display.

Impact

Minor bug or occasional failure

Version or commit

Observed on a desktop build based on 85471b3681. The same disabled-instance hold and manual start path are present on upstream main at 8184b938cb.

Environment

Windows desktop. Reproduced at the server dispatch boundary with an alternate Codex instance disabled by project settings; no Copilot connector or credentials needed for the repro.

Workaround

Edit the queued message, explicitly select an enabled provider, save, then use Send now. Alternatively, re-enable the original provider.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions