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

Add check to daily new comments digest #9823

Merged
merged 1 commit into from
Aug 30, 2024
Merged

Add check to daily new comments digest #9823

merged 1 commit into from
Aug 30, 2024

Conversation

jimchamp
Copy link
Collaborator

@jimchamp jimchamp commented Aug 28, 2024

Updates the filter_issues function to skip issues when list fetched from the comments URL is empty.

Technical

Early in the issue filtering flow, we drop issues that have a comments count of 0. It appears that it is possible for an issue to have a positive comment count, but not have comments. This code change drops such issues when such cases are encountered.

Here are archived API responses for one such issue, and its comments.

Testing

The results of running these changes manually can be seen here. After running, the digest was published to our Slack channel.

Screenshot

Stakeholders

@jimchamp jimchamp changed the title Check for comments before accessing Add check to daily new comments digest Aug 29, 2024
@mekarpeles mekarpeles merged commit 341c890 into master Aug 30, 2024
8 checks passed
@mekarpeles mekarpeles deleted the fix-daily-digest branch August 30, 2024 17:13
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.

2 participants