Skip to content

[ChatGPT Work] Read-only tool calls can remain pending after manual stop without a terminal cancellation receipt #41681

Open

Description

@GerhardBalz-Admin

Summary

Two consecutive read-only tool operations in ChatGPT Work remained pending until the user manually stopped them:

  1. A GitHub inspection through the browser remained pending until manually stopped at 07:44 Europe/Zurich.
  2. The immediately following continuity-skill read remained pending for approximately 42 minutes until manually stopped at 08:28 Europe/Zurich.

The second incident occurred in a different read-only capability after the browser inspection had been stopped. This suggests a tool-runtime, orchestration or cancellation failure rather than only a GitHub page-rendering problem, but the available evidence does not establish the internal root cause.

Neither operation intended an external mutation. No GitHub mutation, upstream comment, account action or other external side effect was observed.

Environment

  • ChatGPT Work Mode
  • Long-running, tool-heavy governance conversation
  • First affected operation: read-only GitHub inspection through the browser
  • Second affected operation: read-only continuity-skill retrieval
  • No external mutation requested
  • Observed on 30 August 2026

The report intentionally avoids inferring the internal tool bridge, runtime process, cancellation transport or browser implementation involved.

Steps that produced the incident

  1. Request a read-only inspection of GitHub state through the browser.
  2. Observe that the operation remains pending instead of returning a result, structured error or timeout.
  3. Manually stop the pending operation at 07:44 Europe/Zurich.
  4. Start the next read-only operation, a continuity-skill read.
  5. Observe that the second capability also remains pending.
  6. Wait approximately 42 minutes without a terminal result.
  7. Manually stop the second operation at 08:28 Europe/Zurich.
  8. Observe that the conversation exposes no durable terminal receipt confirming whether either underlying operation completed, failed, timed out, cancelled or remained active.

Actual result

  • Both read-only operations could remain pending without a bounded terminal outcome.
  • Manual stop returned control to the conversation but did not provide an authoritative cancellation acknowledgement.
  • The user could not determine whether the underlying work had actually terminated.
  • A successor capability encountered the same pending behavior even though it was not a browser or GitHub rendering operation.
  • The visible state did not distinguish:
    • completed but response not delivered;
    • failed without a delivered error;
    • timed out;
    • cancellation requested but not acknowledged;
    • cancelled;
    • still running.
  • Continuing recovery risked creating overlapping calls and obscuring the original execution state.

The incidents demonstrate an observability and recovery gap. They do not prove that the first operation caused the second or identify which runtime layer failed.

Expected result

Every tool operation should have an end-to-end lifecycle that remains observable independently of assistant-response delivery.

For an ordinary read-only call, the product should:

  1. apply a documented execution deadline;
  2. expose a stable operation identifier;
  3. return one authoritative state: completed, failed, timed out, cancelled or indeterminate;
  4. propagate cancellation through every active orchestration and tool layer;
  5. acknowledge cancellation only when the underlying operation has actually terminated;
  6. retain a durable terminal or indeterminate receipt across reconnects and replacement conversations;
  7. prevent silent retry or overlapping fallback while a prior operation remains indeterminate.

If cancellation cannot be confirmed, the product should say indeterminate rather than imply that the visible stop terminated the underlying work.

User impact

  • A nominally read-only task can occupy a conversation indefinitely.
  • The user cannot tell whether it is safe to retry, switch tools or start a successor operation.
  • Manual stop may appear effective without proving underlying termination.
  • Recovery attempts can overlap, compound resource use and obscure which call is still active.
  • Site-specific diagnosis becomes unreliable when the next unrelated capability also hangs.
  • Read-only calls have low external-side-effect risk, but the same missing lifecycle contract would be more dangerous around mutating actions.
  • Replacement conversations cannot recover execution state from a durable receipt.

Requested product behavior

  • Assign every tool call a stable operation ID and lifecycle record.
  • Apply an end-to-end deadline that covers the outer orchestration wait and the underlying tool execution.
  • Propagate cancellation to browser controllers, connectors, skills, MCP servers and other active capability layers.
  • Record cancellation requested and cancellation acknowledged as separate states.
  • Return a durable receipt with:
    • operation ID;
    • capability and privacy-minimized target;
    • start time and deadline;
    • completion, failure, timeout or cancellation time;
    • final state;
    • whether underlying termination was acknowledged.
  • Show indeterminate when the product cannot establish a terminal state.
  • Let the current or a replacement conversation inspect outstanding and recent operation receipts.
  • Warn or block when a retry would overlap an indeterminate operation.
  • Keep receipt metadata privacy-minimized and exclude credentials, cookies, tokens and unnecessary tool parameters.
  • Distinguish tool-runtime failure from site rendering, browser-control and assistant-response failures.

Acceptance criteria

  • Every ordinary read-only tool call returns a result, a structured failure or a structured timeout within its declared execution bound.
  • Pressing stop produces a durable cancellation-request record immediately.
  • The operation becomes cancelled only after underlying termination is acknowledged.
  • If termination cannot be confirmed within a documented interval, the durable state becomes indeterminate and the UI explains what remains unknown.
  • A replacement conversation can retrieve the operation ID and latest state without relying on summarized memory.
  • A retry or capability fallback is blocked or warned while the previous operation remains indeterminate.
  • Successful underlying completion cannot leave the enclosing orchestration wait pending indefinitely.
  • Missing completion events cannot silently wedge later calls in the same session.
  • Automated tests cover:
    • cancellation before dispatch;
    • cancellation during browser, connector, skill and MCP execution;
    • underlying completion with a lost outer completion signal;
    • timeout without cancellation acknowledgement;
    • controller reset and response-stream loss;
    • a second read after the first operation becomes indeterminate;
    • reconnect and replacement-conversation recovery.
  • Receipts reveal no credentials, session material or unnecessary private content.

Related reports

These reports indicate an adjacent family of timeout, cancellation and lost-completion problems. The present report remains distinct in product surface, observed capabilities and available evidence.

Interim workaround

A private operating runbook now requires:

  1. choose the lightest direct read;
  2. state a deadline before execution;
  3. make one bounded attempt;
  4. stop the recovery pass on the first stall;
  5. do not retry, switch capabilities or fall back to Cloud Browser in the same pass;
  6. classify an unacknowledged manual stop as indeterminate;
  7. start a later recovery pass only after a new explicit instruction;
  8. route any possible mutation ambiguity through durable action-receipt reconciliation.

This is a best-effort safeguard. It can bound how long the conversation waits, but it cannot prove that an underlying operation was cancelled.

Privacy

No credentials, cookies, authentication codes, private GitHub content, account identifiers, raw logs, conversation transcript or screenshots are included.

Attachments

None.

Activity

  1. added
    bug
    tool-calls
    on Aug 30, 2026
  2. kouteichan commented on Sep 20, 2026

    @kouteichan

    Additional observation: repeated apparent reactivation after Stop during a side-effecting GitHub workflow

    I observed a closely related cancellation-state failure on 2026-09-20 in the ChatGPT Android app while a connected GitHub workflow was in progress.

    The affected turn was not read-only: it had been instructed to perform a multi-step GitHub write workflow. The workflow stalled while preparing binary Git objects / Base64 data, before any confirmed branch-ref update.

    Observed sequence:

    1. The turn became stuck in a long-running "Thinking" / execution state.
    2. I explicitly asked it to stop.
    3. The thread appeared stopped or remained stuck.
    4. Roughly one hour later, the prior execution appeared active again at the conversation/execution-state level.
    5. I issued another stop request.
    6. This pattern repeated approximately four times.
    7. The thread did not recover to normal conversational operation.

    Important limitation: I did not confirm repeated external GitHub mutations. Read-only repository inspection showed no visible partial migration and no confirmed branch update from the stalled operation. Therefore this should not be interpreted as proof that the GitHub tool action itself executed four times.

    A more precise observation is:

    An explicit Stop request did not reliably transition the prior side-effecting turn into an observable terminal cancelled state, and the prior execution later appeared active again.

    A newly created replacement thread also later entered a similar stuck state, so the symptom may not be limited to one corrupted conversation, although the internal cause is unknown.

    For side-effecting tools, the safety-relevant invariant seems to be:

    Explicit cancellation ⇒ a prior side-effecting execution must not later resume without new user authorization.

    This adds a mutation-path observation to the read-only cancellation/receipt problem described in this issue, while keeping the external side-effect status explicitly unconfirmed / indeterminate.

  3. kouteichan commented on Sep 20, 2026

    @kouteichan

    Additional historical evidence: failure occurs across different tool boundaries

    I found screenshots from earlier affected ChatGPT Android project threads showing the same stuck-turn pattern at several different stages, not only during the most recent long migration workflow.

    Observed examples include:

    • A production-migration turn that progressed through source fingerprint verification, GitHub branch inspection, and binary/Base64 preparation, then remained stuck before any visible branch-ref mutation.
    • A separate turn where a GitHub PR squash merge had already completed successfully, after which the enclosing ChatGPT turn again remained stuck while continuing with follow-up repository work.
    • Another thread that became stuck during a combination of local-file inspection, GitHub read operations, and personal-context retrieval, without a confirmed repository write being the immediate cause.
    • The newest reproduction was reduced to a single create_blob operation, and the turn still failed to return to a terminal state. Subsequent read-only inspection strongly indicated that the expected blob object existed, while no branch-ref/tree/commit migration became visible.

    This weakens several narrower hypotheses:

    • not only long multi-step workflows
    • not only binary processing
    • not only GitHub write operations
    • not obviously limited to one corrupted conversation thread

    The common visible pattern appears closer to:

    tool work progresses or completes → enclosing ChatGPT turn does not reliably reach a terminal state

    I am not inferring the internal root cause from these screenshots. They only show that the failure surface appears broader than one specific GitHub operation or one specific long workflow.

    I have retained the screenshots with visible timestamps and can provide them if useful for correlation.

  4. kouteichan commented on Sep 29, 2026

    @kouteichan

    Follow-up: externally confirmed completion while ChatGPT-visible state remained active

    This is a follow-up to my earlier observations in this thread. I am not claiming an identical root cause.

    During a long multi-artifact GitHub workflow on 2026-09-29 to 2026-09-30 JST:

    • the workflow appeared stalled for several minutes during multi-artifact processing that included Base64 encoding and GitHub Blob creation,
    • then resumed without user retry or restart,
    • continued through Blob creation, tree / commit / ref update,
    • and GitHub Actions completed successfully.

    External state:

    commit:
    c749d4556ef649600d75813a02fade71cabd0be1
    
    GitHub Actions:
    start   2026-09-30 00:44:23 JST
    success 2026-09-30 00:44:52 JST
    

    However, the ChatGPT Android UI continued to present the turn as active:

    ~00:50 JST  still visibly waiting / polling for CI
    ~07:08 JST  blue Stop control still visible
    

    So the externally confirmed completion preceded the still-active ChatGPT UI state by approximately 6h23m.

    Stop / reopen sequence

    At approximately 07:18 JST:

    active UI
    → user presses Stop
    → UI displays "思考を停止しました"
    → thread closed
    → same thread reopened
    → blue Stop control appears again
    

    Important limitation:

    This does not establish that backend execution actually continued for 6+ hours or restarted after reopen. It only establishes that the visible active execution state reappeared after an explicit Stop acknowledgement.

    Relation to the earlier report

    The earlier working pattern was approximately:

    tool work progresses or completes
    → enclosing ChatGPT turn does not reliably reach a terminal state
    

    This follow-up adds:

    externally timestamped SUCCESS
    → ChatGPT-visible execution remains active for hours
    

    and also:

    apparent stall
    → spontaneous resume
    

    plus a more concrete:

    Stop acknowledgement
    → close/reopen
    → active-state reappearance
    

    A separate development workflow also showed a similar long-running visible state, but without the same external-success timestamp correlation, so I am treating that only as supporting evidence.

    Current classification:

    related symptom family
    possible recurrence
    root-cause identity not confirmed
    
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

    bugtool-calls

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions