Repository navigation
feat(settings): allow GitHub Actions log host in Claude sandbox network policy - #304
Conversation
…rk policy Add results-receiver.actions.githubusercontent.com to sandbox.network.allowedDomains so gh run view --log-failed can fetch run logs from inside the sandbox. Refs #303 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@codex review |
|
Review summary: no blocking findings.
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 341e9c00a1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@codex review |
|
Review summary: I found no P0–P2 issues.
I didn't run the test suite. The PR reports one failure that also occurs on 🤖 Generated with Claude Code |
|
Codex Review: Didn't find any major issues. 👍 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
🤖 I have created a release *beep* *boop* --- ## [0.8.0](v0.7.0...v0.8.0) (2026-12-02) ### ⚠ BREAKING CHANGES * **adr:** drop the ADR front matter and adr-check ([#301](#301)) ### Features * **adr:** drop the ADR front matter and adr-check ([#301](#301)) ([971cccf](971cccf)) * **adr:** keep only current decisions in ADRs ([#294](#294)) ([f27eb15](f27eb15)) * **delegation:** herdr-core のレーンを --no-parent ではなく --no-notify で起動する ([#297](#297)) ([34d251b](34d251b)) * **settings:** allow GitHub Actions log host in Claude sandbox network policy ([#304](#304)) ([e832155](e832155)) ### Performance Improvements * **delegation:** speed up lane CI waits and polling intervals ([#300](#300)) ([f68c8a2](f68c8a2)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: furedea-release[bot] <353651101+furedea-release[bot]@users.noreply.github.com>
概要
Claude サンドボックスの
sandbox.network.allowedDomainsにresults-receiver.actions.githubusercontent.comを完全一致で追加し,gh run view <run-id> --log-failedが CI 失敗ログをサンドボックス内から取得できるようにする.ワイルドカードは使わず,書き込み保護やガードには触れない.Closes #303
計画: #303 (comment)
変更
agents/claude/settings.json:results-receiver.actions.githubusercontent.comをアルファベット順で追加tests/claude/test_settings.py: ホストが許可され,ワイルドカードが含まれないことを検証するテストを追加実通信先の確認
gh run view <run-id> --log-failedはhttps://results-receiver.actions.githubusercontent.com/rest/runs/<id>/logs?...へ接続し,サンドボックスに拒否されることをこの環境で再現した.gh api repos/.../actions/jobs/<job-id>/logs(ジョブ単位)はproductionresultssa<N>.blob.core.windows.netへリダイレクトされる.これは--log-failedの経路ではないため追加していない.results-receiverの先に追加のリダイレクト先があるかは,サンドボックス内で接続できず未確認.gh run view --log-failedは~/.cache/ghにログのキャッシュを書くが,サンドボックスの書き込み許可に含まれずoperation not permittedで失敗する(GH_CACHE_DIRを書き込み可能な場所に向けると回避できる).ネットワーク許可だけでは--log-failedは完結しない可能性があり,スコープ外のため別 Issue 候補として残す.検証
pytest(全体): 6586 passed,1 failed.失敗はtests/hooks/test_model_rules_process.py::test_only_the_op_process_receives_the_token_and_only_allowlisted_variablesで,変更を退避したorigin/main相当の状態でも同じく失敗する(既存の失敗)ruff check・ruff format --check・ty check: 通過dprint check: 変更ファイルは通過(リポジトリ全体では本変更と無関係の 43 ファイルが未整形)計画からの逸脱: なし
🤖 Generated with Claude Code
レビュー対応
productionresultssa<N>.blob.core.windows.netも許可すべき): feat(settings): allow GitHub Actions log host in Claude sandbox network policy #303 のスコープ(完全一致の単一ホスト,ワイルドカードなし)外のため対応しない.N が可変でワイルドカードか列挙が必要になるため,別 Issue で脅威評価とともに判断する.スレッドに理由を返信して解決済み.in判定が URL 検証と誤検知されたため,既存の{...} <= domains形式の部分集合判定に変更した.