Repository navigation
perf(delegation): speed up lane CI waits and polling intervals - #300
Conversation
Wait for CI with the single command gh pr checks <n> --watch, which the command guard allows without asking, instead of gh run list plus gh run watch. Allow writes to ~/.cache/gh in the Claude and Codex sandboxes so gh run view --log-failed needs no environment prefix, and poll a delegated lane every 120 seconds instead of 300. Closes #298 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Review summaryRead-only review of the sandbox, Codex config, doc and test changes. I did not run the test suite. Findings
No issues found
🤖 Generated with Claude Code |
gh pr checks --watch watches whatever the PR head reports at that moment, so confirm the head is the pushed commit and the all-green row is present and finished before trusting the result, and run the wait again otherwise. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@codex review |
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. |
|
Review summary: I found no issues worth blocking on, so I posted no inline comments.
I could not run the test suite in this read-only environment, so I'm relying on the PR's reported results. Those were 6710 passed and 2 failed. One failure was fixed by the Codex config change. The other is a macOS-only P3, optional: |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 28bb141e56
ℹ️ 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".
gh pr view --json prints a JSON object, so the head commit never matched the plain output of git rev-parse HEAD; add --jq .headRefOid. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@codex review |
|
Review summary: no blocking findings.
P3 (optional): 🤖 Generated with Claude Code |
|
Codex Review: Didn't find any major issues. Already looking forward to the next diff. 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>
Closes #298
計画: #298 (comment) (承認と決定: #298 (comment) )
変更内容
delivery.mdの「Wait for CI」を,ループ・コマンド置換・sleepを使わない単一コマンドgh pr checks <n> --watchに変更しました.チェック未登録で即終了した場合の再実行,all-greenの確認,失敗時のgh run view <run-id> --log-failed(run id はチェックのリンクから取得)との整合を保っています.--requiredを使わない規則も維持しています.delegation/references/t3.mdの待機間隔をsleep 300からsleep 120に変更しました.hc.mdは決定どおり触っていません.agents/claude/settings.jsonのsandbox.filesystem.allowWriteに~/.cache/ghを追加しました.~/.config/agent-harness/ghと~/.config/ghの保護(denyWrite,permissions.deny)は変更していません.agents/codex/config.tomlにも同じ~/.cache/ghを追加しました.tests/test_harness_protection.pyが Codex の書き込み許可を Claude のサンドボックスと一致させることを検証しているため,Claude 側だけの変更では既存テストが落ちます.tests/claude/test_settings.pyに~/.cache/ghの期待を追加し,tests/hooks/test_gh_effects.pyにgh pr checks <n> --watchが ask なしで許可されることのケースを追加しました.ガード契約自体は変更していません.確認
uv run pytest: 6710 件成功,2 件失敗.うちtest_harness_protection.pyの失敗は上記の Codex 設定の追加で解消済みです.残る 1 件test_model_rules_process.py::test_only_the_op_process_receives_the_token_and_only_allowlisted_variablesは,macOS のローカル環境でLC_CTYPEが環境変数に現れるためで,今回の変更とは無関係です(CI は Linux).ruff check,ruff format --check,ty check: 通過🤖 Generated with Claude Code