Skip to content

ci: wire cora review tuning inputs and raise the job budget to 40m - #1801

Merged
ajianaz merged 4 commits into
developfrom
ci/cora-timeout-40
Nov 24, 2026
Merged

ajianaz merged 4 commits into
developfrom
ci/cora-timeout-40

Conversation

@ajianaz

@ajianaz ajianaz commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

What

  • Raise the Cora Review job timeout-minutes to 40 in .github/workflows/cora-review.yml.
  • Pass review-timeout-seconds and max-attempts to the action, resolved as org variable, then org secret, then a literal default (900 / 2).
  • Restore the trailing newline of the workflow file (dropped by an earlier revision of this branch).

Why

The two attempts a review is allowed (900s each) plus job setup exceed the previous job cap, so a long review was cancelled by the job timeout before any verdict was posted. Raising the cap lets a slow review finish and post its verdict.

Reading the tuning values from org variables first keeps them adjustable in one place without editing every repository; the org secret stays as a fallback, and the literal default keeps the job valid when neither is set.

The missing final newline broke the text-file convention shared by the fleet's workflow files.

Testing

  • yaml.safe_load passes on the resulting workflow file.
  • Diff against develop is one file: timeout-minutes changed, three lines added, file ends with a single newline.
  • CI on this PR: the Cora Review job runs with the wired inputs and the action reports No issues found.

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

🔍 Cora AI Code Review

✅ No issues found. Code looks good!


Review powered by cora-code · BYOK · MIT

@ajianaz

ajianaz commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator Author

Triage: the cora finding (numeric settings read from bare secrets.*) is valid and is addressed on this PR's head - the wiring now reads vars.CORA_REVIEW_TIMEOUT_SECONDS || secrets.CORA_REVIEW_TIMEOUT_SECONDS (and the max-attempts twin), with the action-side default normalization still guarding empty values. Org variables CORA_REVIEW_TIMEOUT_SECONDS=900 / CORA_MAX_ATTEMPTS=2 are set for the selected repository set; the same-named org secrets remain as fallback.

ajianaz and others added 2 commits November 24, 2026 22:59
The wiring edit dropped the final newline of the workflow file, which fails prettier in repos that lint workflows. Content is otherwise unchanged.
@ajianaz ajianaz changed the title ci: cora review wiring - org secrets + 40m job budget ci: wire cora review tuning inputs and raise the job budget to 40m Nov 24, 2026
@ajianaz
ajianaz merged commit 734f3f1 into develop Nov 24, 2026
21 checks passed
@ajianaz
ajianaz deleted the ci/cora-timeout-40 branch November 24, 2026 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant