Skip to content

[Codex Cloud] Environment Save/Publish Failures, Persistent Draft Lock, and Setup Chat Errors #53928

Closed

Description

@Babapei

What issue are you seeing?

I'm experiencing multiple persistent issues while configuring and publishing a Codex Cloud environment.

The environment is connected to a GitHub repository, and I'm attempting to enable internet access for external API calls.

Since October 9, 2026, the environment has repeatedly failed to save or publish. The errors vary between attempts, and the environment editing chat sometimes becomes unusable.

As of October 14, the environment also reports that its draft is locked. Clicking "Check Status" briefly initiates a status check but returns to the same locked-draft error after a few seconds.

These issues have persisted across multiple days and are preventing me from using the cloud environment as intended.

Observed Errors

1. Environment Save Failure

  • Couldn't save changes
  • Some changes couldn't be saved. Review the details and try again.
  • The service rejected this save without indicating any field. Your changes were not lost.

2. Environment Publishing Failure

  • Couldn't publish environment
  • Your settings were saved. Please try publishing again.

3. Environment State Synchronization Failure

  • Couldn't confirm saved draft.

4. Environment Editing Chat / Executor Failure

  • failed to query executor configuration capabilities
  • Something went wrong.

5. Persistent Draft Lock (October 14, 2026)

The environment displays:

Draft unavailable. This draft is locked. Publishing may still be in progress. Check its status before retrying.

Clicking "Check Status" does not resolve the issue. After a few seconds, the interface returns to the same locked-draft error.

The failures affect multiple parts of the environment management workflow, including saving, publishing, draft state verification, and the environment editing chat.

What steps can reproduce the bug?

  1. Open Codex Cloud environment settings.
  2. Select an existing environment connected to a GitHub repository.
  3. Enable internet access.
  4. Configure allowed domains (tested with unrestricted access and api.deepseek.com).
  5. Attempt to save or publish the environment.
  6. Observe save or publishing failures.
  7. Retry the operation or reopen the environment editor.
  8. In some cases, the environment editing chat becomes unusable.
  9. The environment may subsequently report that its draft is locked.
  10. Clicking "Check Status" returns to the same locked-draft error after a few seconds.

Note: The errors are intermittent and vary between attempts, but the environment has consistently failed to publish successfully.

What is the expected behavior?

  • Environment settings should save successfully.
  • The environment should publish successfully and become available for cloud tasks.
  • The environment editing chat should remain functional.
  • Failed publishing operations should not leave the draft persistently locked.
  • Error messages should provide actionable diagnostic information.

Additional information

Environment Information

Field Details
Platform Codex Cloud (Web)
Environment AgentLab-preview
Repository GitHub-connected repository
Internet access Enabled
Allowed domains Tested with unrestricted access and api.deepseek.com
First observed October 9, 2026
Last observed October 14, 2026
Frequency Repeated across multiple days
Current status Draft locked; environment cannot be published

Request ID

One of the errors included the following Request ID:

80b06d8e-1af5-471c-8b8c-0a67b9a5f6de

Impact

This issue prevents me from configuring and publishing my Codex Cloud environment.

As a result, I cannot reliably enable internet access for external API calls or proceed with cloud-based development tasks that require the configured environment.

Screenshots

I've attached five screenshots documenting the different errors:

  1. Publishing failure — Settings saved, but environment publishing fails.
  2. Save rejection — The service rejects the save without identifying an invalid field.
  3. Draft confirmation failure — Environment changes cannot be saved or verified.
  4. Executor/setup chat error — failed to query executor configuration capabilities and a Request ID.
  5. Persistent draft lock — The environment remains locked even after clicking "Check Status".

1. Environment publishing failure

Image

2. Environment save rejection

Image

3. Draft confirmation failure

Image

4. Executor / setup chat error

Image

5. Persistent draft lock (October 14, 2026)

Image

Questions

  1. Is this a known issue with Codex Cloud environment management?
  2. Could the repeated publishing failures leave an environment draft locked?
  3. Is there a way to reset or recover the environment's publishing state without deleting the environment?
  4. Are there any recommended workarounds while this issue is being investigated?

Activity

  1. added
    bug
    on Oct 14, 2026
  2. added
    codex-web
    on Oct 14, 2026
  3. Beowulfwar commented on Oct 20, 2026

    @Beowulfwar

    Additional occurrence on 20 October 2026 (web on Windows, Portuguese UI). I can no longer start editing my existing cloud environment. Two screenshots show these exact messages:

    1. On the environment list, with the Edit menu open: “Não foi possível iniciar a edição do ambiente” (translation: “Could not start editing the environment”).
    2. In the environment editor: “Não foi possível publicar” (“Could not publish”), followed by “Acesso negado” (“Access denied”) and “Não conseguimos acessar o status de publicação. Verifique sua conta e seu workspace.” (“We couldn't access the publication status. Check your account and workspace.”). The screen also shows “Requer atenção” (“Needs attention”), a disabled “Salvar rascunho” (“Save draft”) button, and “Verificar status” (“Check status”).

    The access-denied publication-status message may help distinguish this occurrence from a generic publishing failure. I have not established a root cause or confirmed that this occurrence has the draft-lock symptom described above.

    These are transcriptions of the screenshots; the images themselves are not attached.

  4. graj-oai commented on Oct 23, 2026

    @graj-oai

    @Babapei Thanks for the detailed report. We think the environment is stuck because it’s trying to use a branch (main) that doesn’t exist in your repository.

    Could you create a new Codex environment for the same repository and try publishing it? The new environment should pick up your current default branch, work. Please let us know if that gets you unblocked.

  5. Babapei commented on Oct 24, 2026

    @Babapei
    Author

    6. @Babapei Thanks for the detailed report. We think the environment is stuck because it’s trying to use a branch (main) that doesn’t exist in your repository.
    Could you create a new Codex environment for the same repository and try publishing it? The new environment should pick up your current default branch, work. Please let us know if that gets you unblocked.

    Thanks for looking into this!

    I had actually already worked around the issue by creating a new environment, configuring everything before the initial publication, and then publishing it successfully.

    The new environment works fine so far. However, I haven't tested whether editing its configuration after publication would trigger the same errors again.

    So the initial publishing issue is no longer blocking me, but I'm not sure whether the underlying problem with editing existing environments has been resolved.

  6. graj-oai commented on Oct 26, 2026

    @graj-oai

    Glad to hear you're unblocked, sorry for the trouble here!

    There was an earlier bug where the environment would get locked during publish, but wouldn't unlock on certain failures. This locking issue has been addressed, so you should be good to edit your environment.

  7. imrxd commented on Oct 27, 2026

    @imrxd

    Additional occurrence, still reproducible on Oct 26, 2026, after the reported publish-lock fix.

    • Codex Cloud web environment: private reusable environment tied to a personal private GitHub repo.
    • Draft saved ("Draft saved · Unpublished") but initial Publish failed: "Couldn't publish environment. Your settings were saved. Please try publishing again."
    • Attempting Settings → Codex Cloud → Environments → ... → Edit produces "Couldn't start editing environment".
    • Reproduced in Chrome on Android (including incognito) and Microsoft Edge on Windows.
    • GitHub and npm connectivity passed initial environment-onboarding checks.
    • Important distinction from the missing-branch diagnosis discussed here: the repository's main branch had already been initialized with a commit before this environment was created. We have not confirmed a missing-branch cause in this case.
    • The affected environment remains saved, but publication has not been confirmed. Its GitHub repository contents have been preserved.

    Would you recommend creating a second reusable cloud environment pointing to the same existing repository as the supported workaround, without deleting the broken environment, or is there a way to recover the current environment after the Oct 26 lock fix? Screenshots/error details are available if needed.

  8. a01092554687-oss commented on Oct 28, 2026

    @a01092554687-oss

    Additional reproduction, submitted by an assistant with the affected user's explicit authorization:

    On October 29, 2026 (KST / UTC+9), Codex Cloud environment settings repeatedly failed to save or publish in both the Windows desktop app and the web interface.

    Steps

    1. Open an existing environment connected to a private GitHub repository.
    2. Keep unrestricted public internet access off, enable package-manager domains, and add one valid Supabase project hostname.
    3. Save and publish.

    Observed

    • At approximately 01:33 and 01:57 KST, the Korean UI reported that the service rejected the save without identifying a problematic field. Edits remained in the editor. This corresponds to the save-rejection message in this issue.
    • At 01:59 KST, a separate environment editor still displayed “Publishing” with an elapsed time of 34:13, with settings controls disabled.
    • The repository was initially empty. An initial commit was subsequently added, and the actual main branch was verified through the GitHub API. Saving/publishing still failed afterward, so creating the missing initial branch did not resolve the continuing failure.
    • Reopening the editor and trying the web interface did not resolve it.

    These observations come from the affected user's screenshots and the repository API checks. Exact desktop/browser versions and a request ID were not captured. The internal cause is unconfirmed; this report does not establish that the draft is locked.

    Impact
    This blocks an academy LMS development project and defeats the benefit of unattended cloud development. The affected subscriber explicitly says they are considering cancelling because of repeated failures and the lack of actionable diagnostics.

    Please prioritize investigating the save rejection and prolonged publishing state. Failed operations need a clear reason and a supported recovery/cancellation path.

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

    bugcodex-web

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions