Skip to content

ChatGPT Work hosted executor disconnects during active work; artifact saving fails with 409 environment_offline #50623

Open

Description

@caullens

What issue are you seeing?

During a long-running ChatGPT Work research task, the hosted execution environment stopped accepting filesystem/process operations after previously successful CPU experiments. The conversation remained responsive, but the agent could neither start further work nor save a completed artifact to Library.

Observed on October 3, 2026. The user reports repeated interruptions in this conversation; the diagnostic sequence below is from the most recent interruption. The cause of the earlier interruptions is not established.

Observed errors

A file-edit operation failed with:

apply_patch verification failed: Failed to read file to update <workspace-file>: exec-server transport closed

Subsequent new exec_command requests for the trivial command pwd, including a retry with login: false, did not produce a command result before the agent stopped waiting. There is no evidence that the underlying command actually started.

An attempted upload of a generated PNG through Library then returned:

tool call error: failed to upload `<workspace-artifact.png>` for `file`: exec-server connection attempt failed: environment registry request failed (409 Conflict, environment_offline): Environment is not connected.

Only workspace paths have been redacted from these errors. The exact registry error is retained.

What steps can reproduce the bug?

This is an observed failure sequence, not a deterministic minimal reproduction. No precise trigger or fixed runtime limit has been isolated.

  1. Run an extended ChatGPT Work task in its hosted Linux/bash execution environment, using repeated CPU Python/PyTorch/scientific-computing jobs.
  2. Complete several jobs and generate local result files, model checkpoints, figures, and an interactive HTML artifact. In this occurrence, the final comparison jobs and their result inspection succeeded before the failure.
  3. Attempt another ordinary source-file edit. It fails with exec-server transport closed.
  4. Attempt to start a new trivial shell command, pwd. The request does not return a command result during the observed waits.
  5. Attempt to save a previously generated local artifact to Library. It eventually reports 409 Conflict, environment_offline.

Non-executor operations, including documentation retrieval, remained responsive. Changing the login-shell setting did not restore execution. No user cancellation or requested environment shutdown appears in the visible conversation.

What is the expected behavior?

An active Work task should either retain a usable execution environment, or receive an explicit interruption/lifecycle reason and a supported recovery path that preserves completed work.

If the executor is offline:

  • New shell/filesystem requests should fail promptly with actionable diagnostics.
  • The product should distinguish expiration/eviction, process failure, resource limits, and connection failure when that information is available.
  • Reconnection or replacement should preserve/recover the task workspace where supported.
  • Completed artifacts should have a reliable recovery/export path rather than requiring the same unreachable executor to save them.

Additional information

  • Surface: ChatGPT Work with hosted process/filesystem tools and Library.
  • Executor: Linux/bash scratch workspace; CPU workloads. Client OS/app build, Codex version, environment lifecycle limits, server request IDs, and backend termination reason are not available in the agent-visible diagnostics.
  • Impact: Further experiments, final packaging, and durable artifact saving were blocked. Files had previously been generated successfully, but their persistence after reconnection was not verified; this report does not claim confirmed deletion.
  • Root cause is unknown. Timeout/eviction, memory/resource limits, or an infrastructure/registry problem are hypotheses, not findings. No OOM, quota, or expiry message was observed.
  • Related report: Codex GitHub checkout/authentication failing across multiple private repositories despite successful GitHub connector access #47462 also mentions environment_offline, but focuses on private-repository provisioning/Git authentication. This occurrence does not depend on a GitHub checkout or Git credentials, so it is reported separately without assuming a shared cause.
  • This report was prepared by the assistant from the actual tool responses, at the user's explicit request. Private research contents and identifying workspace paths are omitted.

Please investigate the executor/registry lifecycle and recovery behavior, and route this to the hosted Work team if the underlying service is outside this repository.

Activity

  1. added
    bug
    connectivity
    tool-calls
    on Oct 3, 2026
  2. rsandovalofc-star commented on Oct 16, 2026

    @rsandovalofc-star

    También afecta a mi sesión de ChatGPT Work. Feedback ID: 01a1433d-30c3-7094-9456-bfb85d9a40c5. Solicito una vía de recuperación que preserve el workspace y sus cambios sin confirmar.

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

    bugconnectivitytool-calls

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions