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

Fix review status #1473

Merged
merged 7 commits into from
Aug 7, 2023
Merged

Fix review status #1473

merged 7 commits into from
Aug 7, 2023

Conversation

EmilyBourne
Copy link
Member

@EmilyBourne EmilyBourne commented Aug 2, 2023

By default the GitHub API only returns the first 30 reviews. This PR changes that so it collects 100 reviews per page and keeps collecting pages until there are none left. With all the reviews the bot can make a correct decision on whether a review should be re-requested and what is the review state of a PR.
Additionally ci_tools/bot_clean_up.py is modified to avoid duplicating code.

This PR was tested in my fork,

@EmilyBourne EmilyBourne added urgent Affects all PRs and should be merged as soon as possible Bot labels Aug 2, 2023
@pyccel-bot
Copy link

pyccel-bot bot commented Aug 2, 2023

Hello again! Thank you for this new pull request 🤩.

Here is your checklist. Please tick items off when you have completed them or determined that they are not necessary for this pull request:

  • Write a clear PR description
  • Add tests to check your code works as expected
  • Update documentation if necessary
  • Update Changelog
  • Ensure any relevant issues are linked
  • Ensure new tests are passing

@EmilyBourne EmilyBourne marked this pull request as ready for review August 2, 2023 08:38
@EmilyBourne EmilyBourne marked this pull request as draft August 2, 2023 08:38
@pyccel-bot
Copy link

pyccel-bot bot commented Aug 2, 2023

It seems like you have forgotten to complete your checklist for this pull request. Please check the list here, fix the missing items and let me know when everything is ticked and fixed with /bot mark as ready.

@EmilyBourne EmilyBourne marked this pull request as ready for review August 2, 2023 09:22
Copy link

@pyccel-bot pyccel-bot bot left a comment

Choose a reason for hiding this comment

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

Good job ! Your PR is using all the code it added/changed.

@pyccel-bot
Copy link

pyccel-bot bot commented Aug 2, 2023

Hey @pyccel/pyccel-dev ! @EmilyBourne has just created this great new pull request! Check it out and let me know what you think!

Copy link
Member

@sboof911 sboof911 left a comment

Choose a reason for hiding this comment

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

Looks perfect

@pyccel-bot pyccel-bot bot added Ready_for_review Received at least one approval. Requires review from senior developer and removed needs_initial_review labels Aug 2, 2023
@pyccel-bot
Copy link

pyccel-bot bot commented Aug 2, 2023

Hey @yguclu, @EmilyBourne, this PR is looking pretty good. @EmilyBourne and @sboof911 think it is ready to merge. Could you add your expertise to confirm that this follows all the coding conventions and fits in Pyccel's future plans? Thanks 😄

@EmilyBourne
Copy link
Member Author

/bot run pr_tests

@pyccel-bot pyccel-bot bot added Ready_for_review Received at least one approval. Requires review from senior developer and removed Ready_for_review Received at least one approval. Requires review from senior developer labels Aug 7, 2023
@pyccel-bot
Copy link

pyccel-bot bot commented Aug 7, 2023

Hey @yguclu, @EmilyBourne, this PR is looking pretty good. @EmilyBourne and @sboof911 think it is ready to merge. Could you add your expertise to confirm that this follows all the coding conventions and fits in Pyccel's future plans? Thanks 😄

@pyccel-bot pyccel-bot bot added Ready_to_merge Approved by senior developer. Ready for final approval and merge and removed Ready_for_review Received at least one approval. Requires review from senior developer labels Aug 7, 2023
@yguclu yguclu merged commit 9001652 into devel Aug 7, 2023
10 checks passed
@yguclu yguclu deleted the bot_fix_get_all_reviews branch August 7, 2023 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bot Ready_to_merge Approved by senior developer. Ready for final approval and merge urgent Affects all PRs and should be merged as soon as possible
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants