From d76d47b63bf7b1f5347eb20360503c7174d986db Mon Sep 17 00:00:00 2001 From: igerber Date: Fri, 28 Aug 2026 06:21:13 -0400 Subject: [PATCH] ci: pin openai/codex-action back to v1.11 (v1.12 hangs after turn completes) Reverts the v1.12 bump from #791. Since v1.12, heavy review runs on Linux never return after the codex turn completes: the action passes the runner's stdout/stderr descriptors to the whole codex process tree, and a surviving descendant keeps them open, so the step idles until timeout-minutes kills the job with the verdict already written (openai/codex-action#150). The CLI-side mitigation (codex 0.150.x) did not resolve it for this repo's drop-sudo runs; the action-side fix (openai/codex-action#151) is unmerged. Both attempts of the PR #796 review died this way (attempt 1 killed at the 60-minute timeout, attempt 2 stuck identically after the analysis finished). Also adds a dependabot ignore for openai/codex-action 1.12 so the broken version is not re-proposed; drop the ignore once the fixed release ships. --- .github/dependabot.yml | 5 +++++ .github/workflows/ai_pr_review.yml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b5e49600b..7d45ea770 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -44,3 +44,8 @@ updates: update-types: - "minor" - "patch" + ignore: + # v1.12 hangs after the codex turn completes (openai/codex-action#150); + # drop this once the action-side fix (openai/codex-action#151) is released. + - dependency-name: "openai/codex-action" + versions: ["1.12"] diff --git a/.github/workflows/ai_pr_review.yml b/.github/workflows/ai_pr_review.yml index b83388853..84e0b041e 100644 --- a/.github/workflows/ai_pr_review.yml +++ b/.github/workflows/ai_pr_review.yml @@ -515,7 +515,7 @@ jobs: - name: Run Codex id: run_codex if: steps.pr.outputs.is_fork == 'false' - uses: openai/codex-action@86365089eb2b84e0a8fb0717b304f8bdcb13b20e # v1 + uses: openai/codex-action@52fe01ec70a42f454c9d2ebd47598f9fd6893d56 # v1.11 — pinned: v1.12 hangs after turn completes (openai/codex-action#150); re-bump once #151 ships with: openai-api-key: ${{ secrets.OPENAI_API_KEY }} prompt-file: .github/codex/prompts/pr_review_compiled.md