mirror of
https://github.com/Comfy-Org/github-workflows.git
synced 2026-11-05 00:17:37 +00:00
[PR #438] ci(coderabbit-config): refresh the vendored CodeRabbit schema #436
Labels
No labels
cursor-review-catalog-drift
groom
groom
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/github-workflows#436
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/github-workflows/pull/438
Author: @cloud-code-bot[bot]
Created: 10/19/2026
Status: 🔄 Open
Base:
main← Head:ci/refresh-coderabbit-schema📝 Commits (2)
4ea2b54ci(coderabbit-config): refresh the vendored CodeRabbit schema0f058defix(coderabbit-config): keep a rejecting error the pre-rank islice would drop📊 Changes
4 files changed (+238 additions, -56 deletions)
View changed files
📝
.github/coderabbit-config/README.md(+6 -5)📝
.github/coderabbit-config/check_coderabbit_config.py(+55 -9)📝
.github/coderabbit-config/schema.v2.json(+109 -30)📝
.github/coderabbit-config/tests/test_check_coderabbit_config.py(+68 -12)📄 Description
ELI5
This updates our copy of CodeRabbit's settings rulebook to the latest version, which adds new auto-approval settings. The new rules opened a loophole: a config stuffed with many repeated entries could hide a real, file-breaking mistake, so the check would pass a config CodeRabbit refuses to load. This PR also closes that loophole.
Upstream's CodeRabbit config schema has drifted from the copy vendored here, which is what
coderabbit-config-validate.ymlgrades every enrolled repo against.Added properties (12):
reviews.auto_approvalsreviews.auto_approvals.allow_author_approvalreviews.auto_approvals.enabledreviews.auto_approvals.max_merge_riskreviews.auto_approvals.max_security_riskreviews.auto_approvals.overridesreviews.auto_approvals.overrides[].enabledreviews.auto_approvals.overrides[].max_merge_riskreviews.auto_approvals.overrides[].max_security_riskreviews.auto_approvals.overrides[].pathsreviews.auto_approvals.overrides[].teamsreviews.review_infoBefore merging, check the tightened-cap section above if there is one: a lowered
maxLengthretroactively invalidates configs nobody has touched, and merging this makes their next PR red. Landing the cleanup alongside is usually the right order.Merging this touches
.github/coderabbit-config/**, which triggersbump-coderabbit-config-callers.ymland rolls the SHA-pinned caller fleet forward.Opened by the
refresh-coderabbit-schemaworkflow.Provenance
Verified:
unittestsuite for.github/coderabbit-config(pinned requirements,--require-hashes): 101 tests pass at the current head.overrideswith unknown keys plus an over-longpath_instructionsentry now exit 1; before the fix this exited 0.check_workflow_pins.py,check_agents_md.py --root .andcheck-org-repo-literals.shall exit 0.Deviations:
check_coderabbit_config.py(the rejecting-only second pass), its tests, and README counts.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.