From 4edf28743537c7e33f54d5e341596093f0d866bf Mon Sep 17 00:00:00 2001 From: "Anaz S. Aji" <12648688+ajianaz@users.noreply.github.com> Date: Tue, 24 Nov 2026 19:41:56 +0700 Subject: [PATCH 1/3] ci: wire cora review org secrets and raise the job budget to 40m --- .github/workflows/cora-review.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cora-review.yml b/.github/workflows/cora-review.yml index 62736f6..b3f6732 100644 --- a/.github/workflows/cora-review.yml +++ b/.github/workflows/cora-review.yml @@ -19,7 +19,7 @@ jobs: cora-review: name: Cora Review runs-on: ubuntu-latest - timeout-minutes: 30 + timeout-minutes: 40 env: # Anthropic workload identity federation (organization secrets or variables). # When all four are set, the job exchanges its GitHub OIDC token for a @@ -126,6 +126,8 @@ jobs: cora-base-url: ${{ env.ACCESS_TOKEN && 'https://api.anthropic.com/v1' || secrets.CORA_BASE_URL }} cora-model: ${{ env.ACCESS_TOKEN && (secrets.ANTHROPIC_MODEL || vars.ANTHROPIC_MODEL || 'claude-opus-5-5') || secrets.CORA_MODEL }} + review-timeout-seconds: ${{ secrets.CORA_REVIEW_TIMEOUT_SECONDS }} + max-attempts: ${{ secrets.CORA_MAX_ATTEMPTS }} # The review action only prints how many findings blocked the job; the # findings themselves go to Code Scanning. Print them here, also when the # action failed, so the log, the annotations and the job summary show what From f82a84a20b53404280c3b76b17fdc396b70c1eb9 Mon Sep 17 00:00:00 2001 From: "Anaz S. Aji" <12648688+ajianaz@users.noreply.github.com> Date: Tue, 24 Nov 2026 22:47:53 +0700 Subject: [PATCH 2/3] ci: prefer org vars over org secrets for cora review tuning --- .github/workflows/cora-review.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cora-review.yml b/.github/workflows/cora-review.yml index b3f6732..853b936 100644 --- a/.github/workflows/cora-review.yml +++ b/.github/workflows/cora-review.yml @@ -126,8 +126,8 @@ jobs: cora-base-url: ${{ env.ACCESS_TOKEN && 'https://api.anthropic.com/v1' || secrets.CORA_BASE_URL }} cora-model: ${{ env.ACCESS_TOKEN && (secrets.ANTHROPIC_MODEL || vars.ANTHROPIC_MODEL || 'claude-opus-5-5') || secrets.CORA_MODEL }} - review-timeout-seconds: ${{ secrets.CORA_REVIEW_TIMEOUT_SECONDS }} - max-attempts: ${{ secrets.CORA_MAX_ATTEMPTS }} + review-timeout-seconds: ${{ vars.CORA_REVIEW_TIMEOUT_SECONDS || secrets.CORA_REVIEW_TIMEOUT_SECONDS }} + max-attempts: ${{ vars.CORA_MAX_ATTEMPTS || secrets.CORA_MAX_ATTEMPTS }} # The review action only prints how many findings blocked the job; the # findings themselves go to Code Scanning. Print them here, also when the # action failed, so the log, the annotations and the job summary show what From 1957982b589b22720c7eeeee887e07ea225b64b5 Mon Sep 17 00:00:00 2001 From: "Anaz S. Aji" <12648688+ajianaz@users.noreply.github.com> Date: Tue, 24 Nov 2026 22:59:41 +0700 Subject: [PATCH 3/3] ci: add literal defaults to the cora review fallback chain --- .github/workflows/cora-review.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cora-review.yml b/.github/workflows/cora-review.yml index 853b936..42cd989 100644 --- a/.github/workflows/cora-review.yml +++ b/.github/workflows/cora-review.yml @@ -126,8 +126,8 @@ jobs: cora-base-url: ${{ env.ACCESS_TOKEN && 'https://api.anthropic.com/v1' || secrets.CORA_BASE_URL }} cora-model: ${{ env.ACCESS_TOKEN && (secrets.ANTHROPIC_MODEL || vars.ANTHROPIC_MODEL || 'claude-opus-5-5') || secrets.CORA_MODEL }} - review-timeout-seconds: ${{ vars.CORA_REVIEW_TIMEOUT_SECONDS || secrets.CORA_REVIEW_TIMEOUT_SECONDS }} - max-attempts: ${{ vars.CORA_MAX_ATTEMPTS || secrets.CORA_MAX_ATTEMPTS }} + review-timeout-seconds: ${{ vars.CORA_REVIEW_TIMEOUT_SECONDS || secrets.CORA_REVIEW_TIMEOUT_SECONDS || '900' }} + max-attempts: ${{ vars.CORA_MAX_ATTEMPTS || secrets.CORA_MAX_ATTEMPTS || '2' }} # The review action only prints how many findings blocked the job; the # findings themselves go to Code Scanning. Print them here, also when the # action failed, so the log, the annotations and the job summary show what