Skip to content

Fix: Invite and Assignment Pre-Process Quota #2535

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

haroldrubio
Copy link
Member

This PR checks for substring matching instead of strict equality for the current Invite_Assignment and Assignment edge in the quota.

This is to fix a bug where reviewers decline with a reason and the edge.label field contains Decline: reason. This edge is then incorrectly counted towards the quota to limit the number of active invitations for review + assignment edges.

@haroldrubio haroldrubio added the arr Issues related to the ARR workflow label Mar 16, 2025
@haroldrubio haroldrubio self-assigned this Mar 16, 2025
@melisabok melisabok requested a review from Copilot April 4, 2025 16:59
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (2)

openreview/venue/process/invite_assignment_pre_process.js:60

  • [nitpick] The comment is misleading; since the code returns '!includesFilteredLabel', the comment should note that the edge is included only if it does NOT contain any of the filtered labels.
      // Include edge only if it contains any of the filteredLabels and is not the current edge

openreview/venue/process/assignment_pre_process.js:39

  • [nitpick] The comment does not accurately reflect the filtering logic; it should state that an edge is included only if it does NOT contain any of the filtered labels and is not the current edge.
      // Include edge only if it contains any of the filteredLabels and is not the current edge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arr Issues related to the ARR workflow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants