Repository navigation
feat(schema): add review.incremental opt-in setting (default false) - #195
Conversation
Signed-off-by: Ym <173550318+MaxonT@users.noreply.github.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
Codra Review
✅ Nothing to flag. Reviewed 3 files (42 changed lines) and found no issues worth raising.
Reviewed commit: 156d9f6451
ℹ️ About Codra in GitHub
Your team has set up Codra to review pull requests in this repo. Reviews are triggered when you:
- Open a pull request for review
- Mark a draft as ready
Every review posts a summary here. A clean pass also gets a 👍 on the pull request itself.
|
I've signed the CLA at https://codra.run/cla as MaxonT, and the signing page confirmed it. The |
|
Checked, thanks for contributing! |
|
Appreciate the review. I'd like to keep helping here, including with maintenance, and I'd be happy to be added as a collaborator if that suits you. |
Description
Adds
review.incrementalto the repository review config schema as a boolean that defaults tofalse, and documents it in the configuration guide (default config example plus the field reference). Unset orfalseleaves behavior as it is today, since nothing reads the flag yet.Fixes #179
Thanks for splitting the incremental-review work into small sub-issues with a clear "Done When" list; it made the scope easy to follow.
Not included: the dashboard toggle. The issue says to add it only if repo settings are editable there, and I did not find any
review.*field exposed inapps/dashboard, so I left the UI alone.Type of change
How Has This Been Tested?
test/repo-config-incremental.spec.tscovers the default (unset, emptyreview,defaultRepoConfig), an explicittruesurvivingnormalizeRepoConfig, and rejection of a non-boolean value. It passes with the change and all 3 cases fail when the schema line is removed.npm run typecheckand eslint on the touched paths: clean.npm run test:unit: 403 passed, 1 failed. The failure istest/review/subrequest-completion.spec.tswithECONNREFUSED 127.0.0.1:5432, because I had no Postgres running; it does not touch this change. I did not runnpm test(needs a database) or the integration suite.Checklist: