Repository navigation
ci: wire cora review tuning inputs and raise the job budget to 40m - #1801
Merged
Merged
Conversation
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-code · BYOK · MIT |
Collaborator
Author
|
Triage: the cora finding (numeric settings read from bare |
The wiring edit dropped the final newline of the workflow file, which fails prettier in repos that lint workflows. Content is otherwise unchanged.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
timeout-minutesto 40 in.github/workflows/cora-review.yml.review-timeout-secondsandmax-attemptsto the action, resolved as org variable, then org secret, then a literal default (900 / 2).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_loadpasses on the resulting workflow file.developis one file:timeout-minuteschanged, three lines added, file ends with a single newline.No issues found.