Skip to content

ci(cora): scope generated and prose files, document the PR size guideline - #710

Merged
ajianaz merged 1 commit into
developfrom
ci/cora-scope
Nov 14, 2026
Merged

ajianaz merged 1 commit into
developfrom
ci/cora-scope

Conversation

@ajianaz

@ajianaz ajianaz commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

What

The in-repo part of #705: list generated and prose files in .cora.yaml and document a PR size guideline.

Why

Cora Review runs 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.files gains CHANGELOG.md and docs/** (*.lock, Cargo.lock, target/ were already there). Test fixtures are not listed: they carry the redaction and security cases.
  • Finding, stated plainly: I checked cora 0.20.0 (binary, plus the cora-code config docs and source). ignore.files scopes the symbol index and the context chain, not the diff the reviewer reads; cora review --no-llm still reported a finding in an ignore.files-listed path, and cora-review-action@v1 has no path-exclude input. So this entry does not shrink what Cora reads, and the comment in .cora.yaml says so. No config key was invented (cora config validate parses 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 (excluding CHANGELOG.md, docs/, Cargo.lock), otherwise split; records the observed review times.
  • Not done here (stays open on ci(cora): Cora Review fails or takes 12+ minutes on larger PRs ("could not complete", empty result) #705): chunking the diff and failing the job on "could not complete" upstream in cora-code, and an exclude-paths option for the diff.

Testing

  • cora config validate on the new .cora.yaml (same result as on develop: only the API key line, set by env in CI).
  • Config and docs only, no Rust change.

Refs #705

@github-actions

Copy link
Copy Markdown

🔍 Cora AI Code Review

✅ No issues found. Code looks good!


Review powered by cora-code · BYOK · MIT

@ajianaz
ajianaz merged commit 5631560 into develop Nov 14, 2026
19 checks passed
@ajianaz
ajianaz deleted the ci/cora-scope branch November 20, 2026 08:34
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.

2 participants