mirror of
https://github.com/Comfy-Org/comfy-typescript-sdk.git
synced 2026-11-04 23:47:27 +00:00
[PR #34] [MERGED] fix: make .coderabbit.yaml valid so the repo config is actually used #44
Labels
No labels
audit:ai-readiness
audit:community
audit:github
audit:health-scoring
audit:policy
audit:release
audit:supply-chain
bug
cursor-review-pin
effort:medium
effort:small
effort:trivial
priority:nice-to-have
priority:recommended
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/comfy-typescript-sdk#44
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/comfy-typescript-sdk/pull/34
Author: @wei-hai
Created: 7/30/2026
Status: ✅ Merged
Merged: 7/30/2026
Merged by: @wei-hai
Base:
main← Head:fix/coderabbit-config-schema📝 Commits (1)
3b22ac3fix: make .coderabbit.yaml valid so the repo config is actually used📊 Changes
1 file changed (+13 additions, -7 deletions)
View changed files
📝
.coderabbit.yaml(+13 -7)📄 Description
Sibling of the
comfy-python-sdkPR — same root cause, same fix.The bug
tone_instructionsis capped at 250 characters by the CodeRabbit schema. This file held 509, so the entire config failed validation — and CodeRabbit silently fell back to org-level UI settings rather than erroring. Evidence: recent reviews on this repo reportSo none of the reviewer guidance in this file has ever taken effect.
I verified this rather than taking the bot's word for it — fetched
https://coderabbit.ai/integrations/schema.v2.jsonand validated the file withjsonschema:That single field was the only error in the file.
The fix
The schema describes
tone_instructionsas a persona field — "Set the tone of reviews and chat. Example: 'You must talk like Mr. T.'" — not a place for substantive review rules. So rather than deleting guidance to squeeze under the cap, the repo-wide rules move to apath: "**"entry, which has 20000 characters of room.No guidance is lost:
tone_instructionsclause**path_instruction**path_instructionsrc/**(unchanged)anyor unsafe assertionssrc/**(unchanged)src/**(unchanged)The last three were already duplicated verbatim in
path_instructions, so moving only the two genuinely cross-cutting rules keeps the diff minimal.tone_instructionsnow carries actual tone direction, which is what the field is for.How to confirm it worked
The next CodeRabbit review on this repo should stop saying
Configuration used: Organization UI. This PR is itself the first test.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.