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

Handle Pending Review Case #236

Merged
merged 3 commits into from
Apr 14, 2024
Merged

Conversation

lawang24
Copy link
Contributor

Proposed Changes

Check that comment_created_at is valid datetime.

comment_created_at might not exist if reviews were still pending when PR was merged. This would cause a TypeError in future comparisons: Issue #173.

Readiness Checklist

Author/Contributor

  • If documentation is needed for this change, has that been included in this pull request
  • run make lint and fix any issues that you have introduced
  • run make test and ensure you have test coverage for the lines you are introducing

Reviewer

  • Label as either bug, documentation, enhancement, infrastructure, or breaking

submitted_at is NoneType when reviews are pending
this was causing time comparison of comment to break
Copy link
Member

@jmeridth jmeridth left a comment

Choose a reason for hiding this comment

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

LGTM.

Thank you for your contribution.

@jmeridth jmeridth merged commit 4f29f34 into github:main Apr 14, 2024
6 checks passed
@jmeridth jmeridth added the bug Something isn't working label Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants