-
Notifications
You must be signed in to change notification settings - Fork 1
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
bug fix: PR not getting detected - no entry in database #54
Conversation
Important Auto Review SkippedAuto reviews are disabled on base/target branches other than the default branch. Please add the base/target branch pattern to the list of additional branches to be reviewed in the settings. Please check the settings in the CodeRabbit UI or the To trigger a single review, invoke the TipsChat with CodeRabbit Bot (
|
Kudos, SonarCloud Quality Gate passed! |
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.
Why did you remove the process_install_callback function?
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.
It was not being used. Tapish said that you have found an alternate way of doing what it does.
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.
Nahi, although abhi for this PR, this might not be used since we have only bitbucket specific thing here but once we add github code as well then this will be the modularised function.
* fix keys in webhook data parsing * bug fix: flow in webhook callback didn't run process_review on pr update, and didn't run update-pr-in-db on creation * 1. bug fix: pubsub webhook message control flow corrected. 2. removed duplicated function (save and update pr_info functions were doing the same thing) * bug fix: PR not getting detected - no entry in database (#54) * bug fix: removed IVec of value while inserting pr_info * bug fix: database key changed for PR-info to resolve key collision. --------- Co-authored-by: Avikalp Kumar Gupta <avikalpgupta@gmail.com> Co-authored-by: Avikalp Kumar Gupta <avikalpg@users.noreply.github.com> Co-authored-by: Muskan Paliwal <muskan10112002@gmail.com>
SOLUTION: There was a key collision in the sled database between the
pr_info
objects and thereview
objects.Please check the action items covered in the PR -