Skip to content
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

Venue request: avoid same stage to run twice and post a comment when the stage is complete #2131

Merged
merged 11 commits into from
May 7, 2024

Conversation

melisabok
Copy link
Member

Avoid API error Could not remove job ... and post a comment then the job is complete to give more information to the PCs.

@melisabok melisabok changed the title Venue request: avoid same stage to run at twice and post a comment when the stage is complete Venue request: avoid same stage to run twice and post a comment when the stage is complete May 3, 2024
@@ -624,6 +624,23 @@ def process(client, note, invitation):
client.post_invitation(submission_revision_invitation)

print('Conference: ', conference.get_id())
comment_note = openreview.Note(
Copy link
Member Author

Choose a reason for hiding this comment

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

@racheljsmart this code must be in the process function of your venue request invitations.

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe the comment could read "The {invitation_type.replace("_", " ")} process has been completed." ?

Currently "The process for the {invitation_type.replace("_", " ")} process has been completed." is a little redundant.

@melisabok melisabok merged commit b33f5f8 into master May 7, 2024
1 check was pending
@melisabok melisabok deleted the fix/run-one-stage-at-a-time branch May 7, 2024 20:14
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.

None yet

4 participants