Closed teodorus-nathaniel closed 1 week ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
autoinvoice | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 15, 2024 3:54pm |
The pull request introduces several changes across multiple files, primarily focusing on enhancing event handling for GitHub issue comments and pull requests. Key updates include a version bump in the package.json
, modifications to event specifications for issue comments, the addition of new functions for managing bug reports, and improvements in the handling of check run events. The changes also streamline the code by removing unused types and functions, thereby clarifying the control flow related to bug report processing.
File Path | Change Summary |
---|---|
integrations/autoinvoicing/package.json | Version updated from 0.0.10 to 0.0.11 . |
integrations/autoinvoicing/src/index.ts | Updated onIssueComment event specification filter to include ['created', 'edited', 'deleted'] . |
src/lib/@types/types.ts | Added new enum value BUG_INTRODUCED to EventType . |
src/lib/server/trigger-dev/fix-pr.ts | Introduced functions for managing bug reports linked to pull requests, including runPrFixCheckRun . |
src/lib/server/trigger-dev/jobs/check-run.ts | Enhanced handling of check run events to differentiate between submissions and bug reports. |
src/lib/server/trigger-dev/jobs/issues-comment.ts | Expanded createJob function to handle edited and deleted actions for issue comments. |
src/lib/server/trigger-dev/jobs/pull-requests-review.ts | Updated import for runPrFixCheckRun and adjusted its invocation timing. |
src/lib/server/trigger-dev/jobs/pull-requests.ts | Updated import for runPrFixCheckRun and added logic for handling synchronize action. |
src/lib/server/trigger-dev/utils.ts | Removed types and functions related to pull request event handling, updated parameter types. |
Objective | Addressed | Explanation |
---|---|---|
Ensure bug events are captured in the developer's spreadsheet (#321) | ✅ |
[!WARNING]
Rate limit exceeded
@teodorus-nathaniel has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 6 minutes and 32 seconds before requesting another review.
⌛ How to resolve this issue?
After the wait time has elapsed, a review can be triggered using the `@coderabbitai review` command as a PR comment. Alternatively, push new commits to this PR. We recommend that you space out your commits to avoid hitting the rate limit.🚦 How do rate limits work?
CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our [FAQ](https://docs.coderabbit.ai/faq) for further information.📥 Commits
Reviewing files that changed from the base of the PR and between 6e102e91c25e24a4ab5f543f9b83747b8d0cab7c and 16a59a7e19cc4f4cf7bc46b73996e1033d486ad2.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
@pr-time-tracker bug commit 28610aa && bug author @teodorus-nathaniel
@georgeciubotaru
We need to have a check that will inform the PR creator to submit bug info, that check run block the PR merging
For this, yes the check is already there and its already updated to neutral if its not relevant anymore
the bug info event can be emitted when is the most suitable moment
For this, its emitted after the pr is merged, as we discussed before in #321.
resolves #321
Note:
@holdex/autoinvoicing
needs to be republished, because subscription action filter, to subscribe toissue_comment
event withedited
anddeleted
actionSummary by CodeRabbit
Release Notes
New Features
Bug Fixes
Refactor
Chores