Repository navigation
ci(cora): scope generated and prose files, document the PR size guideline - #710
Merged
Merged
Conversation
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-code · BYOK · MIT |
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
The in-repo part of #705: list generated and prose files in
.cora.yamland document a PR size guideline.Why
Cora Reviewruns 12 to 14 minutes on larger PRs (+492/-22, +1366/-26) and sometimes ends with "could not complete". Keeping PRs small is the only lever this repo has today.Changes
.cora.yaml:ignore.filesgainsCHANGELOG.mdanddocs/**(*.lock,Cargo.lock,target/were already there). Test fixtures are not listed: they carry the redaction and security cases.ignore.filesscopes the symbol index and the context chain, not the diff the reviewer reads;cora review --no-llmstill reported a finding in anignore.files-listed path, andcora-review-action@v1has no path-exclude input. So this entry does not shrink what Cora reads, and the comment in.cora.yamlsays so. No config key was invented (cora config validateparses it; its only error is the API key, which comes from env).CONTRIBUTING.md: a "PR size" bullet: under about 600 changed lines of code (excludingCHANGELOG.md,docs/,Cargo.lock), otherwise split; records the observed review times.Testing
cora config validateon the new.cora.yaml(same result as ondevelop: only the API key line, set by env in CI).Refs #705