Repository navigation
chore: Create .coderabbit.yaml - #3172
Conversation
WalkthroughAdds a new Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Comment |
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
There was a problem hiding this comment.
Actionable comments posted: 4
🤖 Fix all issues with AI agents
In @.coderabbit.yaml:
- Around line 21-33: The YAML contains an invalid `instructions` key under the
`reviews` section; remove that key and instead add a `path_instructions` entry
(an array of objects with `path` and `instructions` fields) to provide
path-specific guidance, or move the guidance into your code guidelines and
reference it via `knowledge_base.code_guidelines`; update the `reviews` block to
use `path_instructions` (or point `knowledge_base.code_guidelines`) so the
configuration matches the schema.
- Around line 14-19: Replace the invalid top-level key "ignore" with the
schema-valid "path_filters" and convert each pattern to an exclusion by
prefixing it with "!" (e.g., change "**/*.snap" etc. under ignore to
"!**/*.snap" etc. under path_filters) so the YAML uses path_filters with
exclusion patterns instead of the unsupported ignore key.
- Line 8: Remove the invalid key "comment_style" from .coderabbit.yaml: locate
the "comment_style: inline" entry and delete that line (the CodeRabbit schema
does not define comment_style under reviews), then re-validate the YAML against
the CodeRabbit schema to ensure no other unsupported keys remain.
- Around line 11-12: Remove the invalid keys from the reviews config: delete the
auto_approve and max_comments entries since they are not part of the CodeRabbit
schema and will be ignored/trigger validation errors; update .coderabbit.yaml to
only include supported review fields and validate the file against the
CodeRabbit schema after removing these two keys.
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.coderabbit.yaml
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: FastStore
🔇 Additional comments (2)
.coderabbit.yaml (2)
4-4: LGTM!The
language: ensetting is valid per the schema.
6-7: LGTM!The
reviews.profile: chillsetting is valid per the schema.
Co-authored-by: Leandro Rodrigues <[email protected]>
Co-authored-by: Leandro Rodrigues <[email protected]>
There was a problem hiding this comment.
Actionable comments posted: 3
🤖 Fix all issues with AI agents
In @.coderabbit.yaml:
- Around line 50-90: The YAML places path_instructions at the root but the
schema requires it under reviews; edit .coderabbit.yaml so the existing
path_instructions block is moved (or indented) to be a child of the reviews key
(i.e., add a reviews: mapping and nest path_instructions under it with proper
YAML indentation), validate the resulting YAML structure to ensure
path_instructions remains unchanged except for its new nesting and adjust any
referencing code that expects reviews.path_instructions.
- Around line 13-18: Remove the invalid include key from the auto_review block
(auto_review supports only enabled, auto_incremental_review,
ignore_title_keywords, labels, drafts, base_branches, and ignore_usernames) and
instead add a reviews section with a path_filters entry to scope paths;
specifically, delete the include: "**" under auto_review and create or update
reviews with a path_filters: ["**"] (or the desired glob) so the config
validates and preserves the original intent.
- Around line 36-47: Add a top-level key named path_filters before the existing
list so the YAML list is associated with a property; update the block that
currently contains the orphaned list items (the sequence starting with
"packages/**") by inserting the key path_filters: directly above it and
optionally remove redundant patterns like "src/**", "apps/**", "!dist/**",
"!.next/**", and "!node_modules/**" as suggested to avoid overlap with the
existing "**/..." exclude rules.
♻️ Duplicate comments (1)
.coderabbit.yaml (1)
28-28: Redundant configuration:auto_title_placeholderuses the default value.The default value for
auto_title_placeholderis already"@coderabbitai", so this line can be removed.
📜 Review details
Configuration used: defaults
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.coderabbit.yaml
🧰 Additional context used
🪛 YAMLlint (1.37.1)
.coderabbit.yaml
[error] 17-17: syntax error: expected , but found '?'
(syntax)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: FastStore
🔇 Additional comments (2)
.coderabbit.yaml (2)
1-11: LGTM!Basic configuration settings are valid and align with the CodeRabbit schema.
91-92: LGTM!Chat configuration is valid per the schema.
✏️ Tip: You can disable this entire section by setting review_details to false in your review settings.
## What's the purpose of this pull request? <!--- Considering the context, what is the problem we'll solve? Where in VTEX's big picture our issue fits in? Write a tweet about the context and the problem itself. ---> ## How it works? <!--- Tell us the role of the new feature, or component, in its context. Provide details about what you have implemented and screenshots if applicable. ---> ## How to test it? <!--- Describe the steps with bullet points. Is there any external link that can be used to better test it or an example? ---> ### Starters Deploy Preview <!--- Add a link to a deploy preview from `starter.store` with this branch being used. ---> <!--- Tip: You can get an installable version of this branch from the CodeSandbox generated when this PR is created. ---> ## References <!--- Spread the knowledge: is there any content you used to create this PR that is worth sharing? ---> <!--- Extra tip: adding references to related issues or mentioning people important to this PR may be good for the documentation and reviewing process ---> ## Checklist <em>You may erase this after checking them all 😉</em> **PR Title and Commit Messages** - [ ] PR title and commit messages follow the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) specification - Available prefixes: `feat`, `fix`, `chore`, `docs`, `style`, `refactor`, `ci` and `test` **PR Description** - [ ] Added a label according to the PR goal - `breaking change`, `bug`, `contributing`, `performance`, `documentation`.. **Dependencies** - [ ] Committed the `pnpm-lock.yaml` file when there were changes to the packages **Documentation** - [ ] PR description - [ ] For documentation changes, ping `@Mariana-Caetano` to review and update (Or submit a doc request) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Added repository-level configuration for automated code review: auto-review on the dev base, auto-reply in review chat, and a relaxed ("chill") review profile with high-level summaries enabled while request-changes workflow is disabled. * Included path-specific review guidance for components, pages, SDK, API, and TypeScript files, plus filters to exclude build/output/generated directories. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Leandro Rodrigues <[email protected]>
What's the purpose of this pull request?
How it works?
How to test it?
Starters Deploy Preview
References
Checklist
You may erase this after checking them all 😉
PR Title and Commit Messages
feat,fix,chore,docs,style,refactor,ciandtestPR Description
breaking change,bug,contributing,performance,documentation..Dependencies
pnpm-lock.yamlfile when there were changes to the packagesDocumentation
@Mariana-Caetanoto review and update (Or submit a doc request)Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.