-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat: improve coderabbit workflow #5294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| ### What reviewer looks at during PR review | ||
| The following are ideal points maintainers look for during review. Reviewing these points yourself beforehand can help streamline the review process and reduce time to merge. | ||
|
|
||
| 1. **PR Title**: Use a concise title that follows our [Conventional Commits](https://github.com/asyncapi/website/blob/master/CONTRIBUTING.md#conventional-commits) guidelines and clearly summarizes the change using [imperative mood](https://cbea.ms/git-commit/#imperative) (it means `spoken or written as if giving a command or instruction`, like "add new helper for listing operations") | ||
|
|
||
| 1. **PR Description**: Clearly explain the issue being solved, summarize the changes made, and mention the related issue. | ||
| > **Note** - Ensure the PR Description includes `Resolves #<issue-number>` or `Fixes #<issue-number>` this will automatically close the linked issue when the PR is merged and helps automate the maintainers workflow. | ||
|
|
||
|
Comment on lines
+1
to
+8
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In this checklist, please add the most important point: attaching testing evidence from the temporary deployment link. This should be mandatory. Even if your code is just a refactoring and does not add any new features, you should still provide testing evidence for the parts of the code you modified to ensure there are no regressions. Hence, please add this point.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. what do we mean and consider as a
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. resolved through 328d232 |
||
| 1. **Comments and JSDoc**: Write clear and consistent JSDoc comments for functions, including parameter types, return values, and error conditions, so others can easily understand and use the code. | ||
|
|
||
| 1. **DRY Code**: Ensure the code follows the **Don't Repeat Yourself** principle. Look out for duplicate logic that can be reused. | ||
|
|
||
| 1. **Test Coverage**: Ensure the new code is well-tested with meaningful test cases that pass consistently and cover all relevant edge cases. | ||
|
|
||
| 1. **Commit History**: Contributors should avoid force-pushing as much as possible. It makes it harder to track incremental changes and review the latest updates. | ||
|
|
||
| 1. **Reduce Scope When Needed**: If an issue or PR feels too large or complex, consider splitting it and creating follow-up issues. Smaller, focused PRs are easier to review and merge. | ||
|
|
||
| 1. **Bot Comments:** As reviewers, check that contributors have appropriately addressed comments or suggestions made by automated bots. If there are bot comments the reviewer disagrees with, react to them or mark them as resolved, so the review history remains clear and accurate. | ||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: asyncapi/website
Length of output: 90
🏁 Script executed:
Repository: asyncapi/website
Length of output: 960
🏁 Script executed:
Repository: asyncapi/website
Length of output: 76
🏁 Script executed:
Repository: asyncapi/website
Length of output: 76
🌐 Web query:
GitHub bot usernames naming conventions dependabot asyncapi-bot exact format💡 Result:
GitHub bot usernames follow a convention of ending with -bot or [bot]. Dependabot uses dependabot-bot (commit signing account for the Dependabot app, github.com/dependabot-bot). asyncapi-bot is the top contributor to AsyncAPI repositories like asyncapi/chatbot (github.com/asyncapi/chatbot contributors). No strict official format is documented in GitHub docs; common practice is descriptive name + "-bot" for identification as a bot account. GitHub usernames allow alphanumeric characters and hyphens, no underscores generally (except internal uses). Branch names for Dependabot PRs follow "dependabot/{packageManager}/{targetBranch}/{dependencyName}-{version}", configurable via dependabot.yml (e.g., separator: space or hyphen).
Citations:
🏁 Script executed:
Repository: asyncapi/website
Length of output: 337
🏁 Script executed:
Repository: asyncapi/website
Length of output: 2328
🏁 Script executed:
Repository: asyncapi/website
Length of output: 1280
🌐 Web query:
asyncapi-bot-eve GitHub AsyncAPI project bot username💡 Result:
The GitHub username for the asyncapi-bot-eve, which is an official bot for the AsyncAPI project named after their mascot Eve, is asyncapi-bot-eve. It handles automation tasks like managing global GitHub Actions workflows across AsyncAPI repositories, as part of the
@asyncapi/botsteam. Repositories need to add@asyncapi-bot-eveto their CODEOWNERS file for automatic PR approvals from the bot.Citations:
Add
asyncapi-bot-eveto theignore_usernameslist.Line 13 is missing
asyncapi-bot-eve, which is the official AsyncAPI bot listed in CODEOWNERS and governance documentation as actively used for GitHub Actions automation. The configuration should be:This ensures auto-review is skipped for both dependabot and the AsyncAPI bot accounts. The current configuration will still trigger auto-reviews for PRs from
asyncapi-bot-eve.🤖 Prompt for AI Agents
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be implemented?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Length of output: 44
@animeshk923Based on checking the last 50 PRs inasyncapi/website, the only bot accounts that actually open PRs are:asyncapi-botdependabot[bot]asyncapi-bot-eveasyncapi-bot-eveoperates as a reviewer/approver (via CODEOWNERS), not as a PR author, so adding it toignore_usernameswould have no practical effect for this repository.You can safely skip this suggestion. The current configuration already covers the bots that actually open PRs here.
🧠 Learnings used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@animeshk923 not needed. asyncapi-bot-eve does not creats pr