Repository navigation
Description
What issue are you seeing?
A published Codex Cloud environment is not being applied to new Cloud tasks.
Environment:
- Name: ricordia
- Repository: andreabaldessaritrento-droid/ricordia
- ChatGPT Plus
- Chrome on Windows
Published environment configuration:
- install script installs Node.js 22.22.0
- install script installs Firebase CLI 15.26.0
- prepared toolchain paths:
/workspace/toolchains/node22
/workspace/toolchains/firebase - startup skill adds those toolchains to PATH
- restricted Internet access
- package managers allowed
- additional allowed domain:
storage.googleapis.com
Expected:
A new Cloud task explicitly using the published ricordia environment should start from the published prepared filesystem and apply the saved network allowlist.
Actual:
A brand-new Cloud task explicitly using ricordia starts with the default runtime instead:
- Node: v24.15.0
- Node path: /root/.nvm/versions/node/v24.15.0/bin/node
- Java: 25.0.2
- Firebase CLI: not found
- /workspace/toolchains/node22: does not exist
- /workspace/toolchains/firebase: does not exist
The saved network allowlist is also not applied:
curl -I --max-time 20 https://storage.googleapis.com/
returns:
curl: (56) CONNECT tunnel failed, response 403
HTTP/1.1 403 Forbidden
server: envoy
The issue still reproduces after Republish and creating another brand-new Cloud task explicitly using the ricordia environment.
Affected task:
https://chatgpt.com/remote/task_e_6ac1f9b1d71c832980edfc408c8b3608
Environment page:
https://chatgpt.com/local/01a105c9-c768-7114-adfe-5c211c573045?hostId=local
New reproduction task creation timestamp:
2026-10-04T07:18:02+00:00
(2026-10-04 09:18:02 CEST)
No repository files were modified. No commit, PR, merge, deploy, migration, or production access occurred.
What steps can reproduce the bug?
- Create a Codex Cloud environment named
ricordia. - Configure an install script that installs Node.js 22.22.0 and Firebase CLI 15.26.0 under
/workspace/toolchains. - Configure a startup skill that adds those toolchains to PATH.
- Enable restricted Internet access.
- Allow package managers.
- Add
storage.googleapis.comunder Additional allowed domains. - Publish the environment.
- Start a brand-new Cloud task.
- Explicitly select the published
ricordiaenvironment. - In the task, run:
- echo $PATH
- which node
- node --version
- which firebase
- firebase --version
- java -version
- test -d /workspace/toolchains/node22
- test -d /workspace/toolchains/firebase
- curl -I --max-time 20 https://storage.googleapis.com/
- Observe that the default runtime is used, the prepared toolchains are missing, and the allowed domain is still blocked with HTTP 403.
- Republish the environment without changes and repeat with another brand-new Cloud task.
- Observe the same result.
What is the expected behavior?
A brand-new Codex Cloud task explicitly using the published ricordia environment should start from that environment's published prepared filesystem and saved startup/network configuration.
Specifically:
/workspace/toolchains/node22should exist;/workspace/toolchains/firebaseshould exist;- the startup configuration should make Node 22.22.0 and Firebase CLI 15.26.0 available in PATH;
- the task should use the prepared environment state rather than the default Codex runtime;
storage.googleapis.com, which is listed under Additional allowed domains, should be reachable through the restricted network policy.
Republishing the environment and then creating a new Cloud task should apply the updated published state.
Additional information
OpenAI support confirmed that there is no additional activation/rebuild step beyond Publish/Republish and that new Cloud tasks should use the published environment state.
I also submitted in-product feedback from the failing task using / → Feedback → Bug with the session included, but the UI did not display a feedback/session ID afterward.
The issue reproduces after:
- explicit selection of Work in: Cloud;
- explicit selection of environment
ricordia; - Republish without changes;
- creation of a brand-new task after republishing.
The repository remained completely clean throughout all checks.
Affected task ID:
task_e_6ac1f9b1d71c832980edfc408c8b3608
Reproduction task timestamp:
2026-10-04T07:18:02+00:00
Activity
andreabaldessaritrento-droid commentedon Oct 4, 2026
Additional diagnostic evidence from a fresh Codex Cloud task using the same
ricordiaenvironment:The failure appears to occur at the Codex Cloud environment proxy layer before GitHub is reached.
Proxy-related environment variables present in the task:
No Git-level proxy configuration is present.
Repository remote is correct:
Both of these fail before receiving any HTTP response:
Result:
A
git pushto the correct GitHub remote fails identically:This strongly suggests the task is being forced through the platform-managed environment proxy, but that proxy is unavailable from the task itself. Because the connection fails at
proxy:8080, these checks cannot yet evaluate GitHub DNS, reachability, or authentication.No repository files or environment configuration were modified during this diagnostic.
NaturalMatchaKing commentedon Oct 5, 2026
Additional independent observation of the same proxy connection error on 2026-10-05 UTC, with a repository-refresh blocker.
Context
mainbefore launch.Timeline and observed state
HEAD, called A here. The expected recent merge B and associated commit C were absent from the local object database. Object/ancestry checks could not resolve those commits and returned exit code 128. That is a missing-object result, not a valid negative ancestry result.origin/mainwas older still, so it was not evidence of the current GitHub branch tip.git ls-remote origin mainandgit fetch origin mainhad failed with the same error:Network settings and permissions were not changed for this attempt. No further unchanged retry was made.
Impact and limits
The task could inspect its older checkout but could neither verify the current remote ref through Git nor fetch the missing commits. That blocked work requiring the recently merged content.
The observed older checkout and the failed refresh are separate facts. We have not established that the proxy error caused the initial checkout state, nor diagnosed a cache bug, an allowlist failure, GitHub authentication, or an approval-mode issue.
The current Cloud environments documentation says new tasks start from the published prepared filesystem and repository refresh happens in the background. It does not specify a freshness deadline or guarantee that the latest remote commit is present at task admission. Accordingly, this is not a claim that the initial snapshot alone violates documented behavior.
Could maintainers investigate the unavailable proxy and clarify how a task can determine whether background repository refresh has completed or failed? Surfacing the selected ref, resolved revision, and refresh status would help distinguish an expected published snapshot from a task unable to reach newer commits.
Update: configuration-session contrast, 2026-10-05 00:45 UTC
In the configuration/edit session for the same saved cloud environment, a normal Git fetch succeeded with exit code 0. The local
mainwas updated, both expected commits B and C passed ancestry checks, and the working tree was clean. No network configuration, permission settings, or software installations were changed for this check.This gives a concrete contrast: the earlier regular task failed to connect to the proxy on port 8080, while the later configuration/edit session could fetch successfully. The cause of that difference remains unknown. This does not establish that the original task recovered or that connectivity is fixed for all new tasks.
After the checkout update, two repository skills passed manual synthetic checks in the configuration session. Automatic skill discovery still returned an empty catalog there. Verification in a new task after publishing remains pending, so the manual results are not evidence that automatic discovery is fixed.