Codex Desktop: DNS fails with automatic approval review despite workspace-write network access enabled
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- macos, rust
- Ambito
- devtools, networking
Direzione di ricerca
Start by tracing how Codex Desktop applies automatic approval review and workspace-write network access to default agent commands; the issue names no source files or tests, so locate the sandbox and resolver configuration entry points first. Compare the effective configuration in both approval modes and reproduce the reported DNS failure against the interactive terminal control. Done means the cause is identified and network behavior matches the configured permission, or any override is clearly surfaced with its source.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Environment
- Codex Desktop on macOS 27.2.1 (26B131), arm64. Settings showed Workspace tools version
26.1123.11515. - Sandbox mode:
workspace-write. The Allow network access toggle was on, and user configuration contained:
[sandbox_workspace_write]
network_access = true
What happened
With automatic approval review selected, repeated read-only GitHub requests from the agent's default command tool failed before reaching GitHub. The interactive terminal in the same worktree could run the GitHub command successfully.
curl: (6) Could not resolve host: api.github.com
gh debug: no such host
error connecting to api.github.com
After the user changed the approval-review setting from automatic review to using config.toml, the agent's next gh pr view completed successfully from the same worktree using the same default command tool. The user reported that this was the only setting they changed. The failed requests were ordinary sandboxed invocations and had not requested escalation.
Steps to reproduce
- In Codex Desktop, select
workspace-writewithnetwork_access = trueand select automatic approval review. - Ask the agent to run
curl -sS --max-time 8 https://api.github.com/andgh pr view PR_NUMBER --repo OWNER/REPOwith a repository and PR the account can read. - Run the GitHub command in the interactive terminal for the same workspace as a control.
- Switch the approval-review setting to use
config.tomland ask the agent to repeat the same repository read.
Expected behavior
Read-only network commands use the configured workspace-write network permission in either approval-review mode. If selecting automatic review changes the effective sandbox network access, the app identifies the override and its source.
Diagnostic question
Does selecting automatic approval review change the effective sandbox or resolver configuration for default agent commands? The mode change correlated with restored access in this session. The resolver failure was confirmed, and the mechanism behind it is unverified.
- Lingua principale
- Rust
- Stelle
- 136k
- Fork
- 21.6k
- Merge medio
- 1m
- PR unite (30g)
- 997
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di openai/codex
-
app bug rate-limits
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Windows PowerShell 5.1: non-ASCII text piped into a native command arrives as `?`Forse già presa @akhil9tiet l’ha presa oggi. Apertabug CLI tool-calls windows-os
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
openai/codex#64139 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
bug CLI connectivity
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
core-plugins: remote bundle install keeps the temp directory before a fallible rename and leaves it behind on failureForse già presa @akhil9tiet l’ha presa 1 giorno fa. Apertabug CLI skills
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
openai/codex#63907 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
bug CLI
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
openai/codex#63906 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di openai/codex
Issue simili
-
My Caps shows "Shared" on private Caps that were never sharedForse già presa @AksharP5 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
CapSoftware/Cap#4569 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Document Web UIAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
parquet: reject truncated BYTE_STREAM_SPLIT numeric pages instead of silently fabricating valuesApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno