Skip to content

Conversation

@cb-jarunmadhesh
Copy link
Contributor

No description provided.

cb-jarunmadhesh and others added 12 commits March 7, 2025 16:19
Signed-off-by: Jarun Madhesh <124247136+cb-jarunmadhesh@users.noreply.github.com>
…mit hook for Gitleaks

Signed-off-by: Jarun Madhesh <124247136+cb-jarunmadhesh@users.noreply.github.com>
EE-496 (chore): Added secret scan and pre commit hook for whitelisting the repo with security team
…n PR open

Signed-off-by: Jarun Madhesh <124247136+cb-jarunmadhesh@users.noreply.github.com>
Signed-off-by: Jarun Madhesh <124247136+cb-jarunmadhesh@users.noreply.github.com>
…d cb-jarunmadhesh; invoke resolveAllComments in isMergeable function

Signed-off-by: Jarun Madhesh <124247136+cb-jarunmadhesh@users.noreply.github.com>
Signed-off-by: Jarun Madhesh <124247136+cb-jarunmadhesh@users.noreply.github.com>
Signed-off-by: Jarun Madhesh <124247136+cb-jarunmadhesh@users.noreply.github.com>
Signed-off-by: Jarun Madhesh <124247136+cb-jarunmadhesh@users.noreply.github.com>
Signed-off-by: Jarun Madhesh <124247136+cb-jarunmadhesh@users.noreply.github.com>
Signed-off-by: Jarun Madhesh <124247136+cb-jarunmadhesh@users.noreply.github.com>
Fix reverse merge failing due to cursor bot review comments
@cb-jarunmadhesh cb-jarunmadhesh merged commit c4389df into primary-branch Aug 26, 2025
1 check passed
const maxRetries = 5
let i = 0
while (i++ < maxRetries) {
await resolveAllComments(context, prNumber);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Unnecessary API Calls in Merge Check Loop

Calling resolveAllComments inside the isMergeable retry loop causes it to repeatedly fetch and delete bot comments. This leads to unnecessary API calls (up to 5 times per check) and potential rate limiting, while also adding a side effect to a function meant for checking mergeability.

Fix in Cursor Fix in Web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants