Skip to content

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
@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