Codex Desktop: DNS fails with automatic approval review despite workspace-write network access enabled
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- macos, rust
- 領域
- devtools, networking
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Rust
- スター
- 136k
- フォーク
- 21.6k
- 平均マージ
- 1分
- マージ済み PR(30日)
- 997
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
openai/codex のほかの issue
-
app bug rate-limits
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
Windows PowerShell 5.1: non-ASCII text piped into a native command arrives as `?`対応中かも @akhil9tiet が今日担当しました。 オープンbug CLI tool-calls windows-os
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
openai/codex#64139 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
bug CLI connectivity
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
core-plugins: remote bundle install keeps the temp directory before a fallible rename and leaves it behind on failure対応中かも @akhil9tiet が 1 日前に担当しました。 オープンbug CLI skills
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
openai/codex#63907 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
bug CLI
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
openai/codex#63906 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
My Caps shows "Shared" on private Caps that were never shared対応中かも @AksharP5 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
CapSoftware/Cap#4569 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
Document Web UIオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
parquet: reject truncated BYTE_STREAM_SPLIT numeric pages instead of silently fabricating valuesオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信