You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a CodeRabbit config tailored to the repo - #13
Adds .coderabbit.yaml, picking the parts of CodeRabbit's best-practices guide that fit this repo.
What it does
Path filters: skips Graphviz.xcframework/, both *.artifactbundle/ and staging/. The binaries aren't reviewable (and make upgrade PRs huge); their integrity is already checked by scripts/check-artifacts.sh.
Path instructions: Foundation-free / Embedded-Swift rule and pointer lifetime for Sources/SwiftGraphviz; NULL handling and WASI limits for the C bridge; .serialized root suite for tests; BSD/GNU portability for scripts; token hygiene and checksum-verified downloads for workflows; consistent Graphviz pins and digests for build scripts / artifacts.sha256; the three binary-target paths in Package.swift.
Noise trimmed: profile chill, no poem, fortune or sequence diagrams.
Pre-merge checks (all advisory): docstring gate off, title/description warnings, and two custom checks: Bundled Graphviz consistency (targets the monthly upgrade PRs) and Public API break disclosure.
request_changes_workflow: false (single maintainer), learnings scoped to this repo. CLAUDE.md is read as guidelines automatically.
.coderabbit.yaml steers a review agent, so it's added to CODEOWNERS and to the coverage list in scripts/hygiene.test.sh.
Checked: the file validates against CodeRabbit's schema.v2.json with 0 errors; all scripts/*.test.sh pass locally. Custom checks need a Team/Advanced plan; on a lower plan they are expected to be ignored.
Updated repository review and ownership settings, including guidance for different project areas. Review settings now specify English-language, advisory reviews and exclude selected bundled and staging content.
Tests
Adjusted repository hygiene checks to cover the updated review configuration. No changes to app functionality or public APIs were reported.
Skip the prebuilt Graphviz binaries and staging/ in reviews, add per-path review
instructions (Foundation-free Swift layer, C bridge NULL handling and WASI limits,
serialized Swift Testing suites, portable scripts, workflow token hygiene, consistent
Graphviz pins and checksums), drop summary extras, turn the docstring gate off and add
two advisory checks: bundled Graphviz consistency and public API break disclosure.
.coderabbit.yaml steers a review agent, so it joins CODEOWNERS and the hygiene check.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QehuQ55Dedo7Xa3rY9xRgA
No actionable comments were generated in the recent review.
Walkthrough
The PR adds CodeRabbit review settings and path-specific guidance for SwiftGraphviz. It also assigns .coderabbit.yaml in CODEOWNERS and updates the hygiene test to check coverage of that file.
Changes: Review configuration and ownership
Layer / File(s)
Summary
Review settings and scope .coderabbit.yaml
Sets review language, profile, workflow options, and summary and diagram settings. Excludes selected bundled artifacts and staging/** from review. Sets local-scope knowledge-base learning.
Path guidance and warning checks .coderabbit.yaml
Adds path-specific guidance for Swift, the C bridge, tests, scripts, workflows, Graphviz build inputs, and Package.swift. Disables docstring checks, sets title and description checks to warning, and adds warning checks for bundled Graphviz consistency and disclosure of public API changes.
Configuration ownership and coverage .github/CODEOWNERS, scripts/hygiene.test.sh
Adds a CODEOWNERS rule for .coderabbit.yaml. Updates the hygiene test to check that file and retains the .github/ coverage check.
Vithanco/SwiftGraphviz#8: Adds the serialized GraphvizTests root suite, which the new review guidance references.
Vithanco/SwiftGraphviz#10: Adds the Graphviz upgrade workflow, which the new review guidance covers.
Vithanco/SwiftGraphviz#12: Rebuilds Graphviz bundles and changes their digests, which the new consistency check addresses.
Suggested reviewers:claude
Merge Risk: Minimal · up to 9dc9c
The review configuration and ownership coverage appear ready to merge after normal checks.
Pre-merge checks: 6
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title clearly describes the main change: a repository-specific CodeRabbit configuration.
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Bundled Graphviz Consistency
Not applicable. The PR changes .coderabbit.yaml, .github/CODEOWNERS, and scripts/hygiene.test.sh. It does not change the specified Graphviz artifacts or artifacts.sha256.
Public Api Break Disclosure
The PR does not change any files in Sources/SwiftGraphviz. It introduces no public API break covered by this check.
Finishing Touches
Generate docstrings
Commit to this branch
Create a new PR
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Reviewing files that changed from the base of the PR and between eedb84e and 9dc9c04.
Files selected for processing: 3
.coderabbit.yaml
.github/CODEOWNERS
scripts/hygiene.test.sh
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.
The reason will be displayed to describe this comment to others. Learn more.
Additional comments: 1
.coderabbit.yaml: 1
8-8: Trivial · Maintainability & Code Quality · Low value
Unverified finding
Verification ran but could not confirm this finding. It is shown for review, not as a verified issue.
Replace the legacy request_changes_workflow key with auto_approvals.enabled.
The schema marks reviews.request_changes_workflow as deprecated and undocumented. It is a legacy alias for reviews.auto_approvals.enabled. The key still validates, but the schema does not guarantee it will keep working. The default for the new key is already false, so the setting only documents intent.
♻️ Proposed change
- request_changes_workflow: false # single maintainer; checks stay advisory+ auto_approvals:+ enabled: false # single maintainer; checks stay advisory
Reviewing files that changed from the base of the PR and between eedb84e and 05c92ea.
Files selected for processing: 3
.coderabbit.yaml
.github/CODEOWNERS
scripts/hygiene.test.sh
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
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
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.
Requested by Klaus · project thread
Adds
.coderabbit.yaml, picking the parts of CodeRabbit's best-practices guide that fit this repo.What it does
Graphviz.xcframework/, both*.artifactbundle/andstaging/. The binaries aren't reviewable (and make upgrade PRs huge); their integrity is already checked byscripts/check-artifacts.sh.Sources/SwiftGraphviz; NULL handling and WASI limits for the C bridge;.serializedroot suite for tests; BSD/GNU portability for scripts; token hygiene and checksum-verified downloads for workflows; consistent Graphviz pins and digests for build scripts /artifacts.sha256; the three binary-target paths inPackage.swift.chill, no poem, fortune or sequence diagrams.request_changes_workflow: false(single maintainer), learnings scoped to this repo. CLAUDE.md is read as guidelines automatically..coderabbit.yamlsteers a review agent, so it's added to CODEOWNERS and to the coverage list inscripts/hygiene.test.sh.Checked: the file validates against CodeRabbit's
schema.v2.jsonwith 0 errors; allscripts/*.test.shpass locally. Custom checks need a Team/Advanced plan; on a lower plan they are expected to be ignored.Generated by Claude Code
Summary by CodeRabbit