Skip to content

Conversation

1ucian0
Copy link
Contributor

@1ucian0 1ucian0 commented Aug 29, 2025

Tip

Basically, a port of github/issue-metrics#325 with almost exactly the same explanation in this PR

Pull Request

fixes #258

Proposed Changes

This pull request changes the get_days_since_last_release function in the stale_repos.py file. The change introduces error handling to deal with potential TypeError exceptions that might occur when processing a release. If such an error occurs, a message is printed to inform the user that the release might contain a ghost user, and None is returned.

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
  • If publishing new data to the public (scorecards, security scan results, code quality results, live dashboards, etc.), please request review from @jeffrey-luszcz

Reviewer

  • Label as either fix, documentation, enhancement, infrastructure, maintenance or breaking

@1ucian0 1ucian0 requested a review from a team as a code owner August 29, 2025 23:36
@github-actions github-actions bot added the fix label Aug 29, 2025
Copy link
Member

@zkoppert zkoppert left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!!

@zkoppert zkoppert enabled auto-merge August 30, 2025 03:48
@jmeridth jmeridth disabled auto-merge August 30, 2025 10:47
@jmeridth jmeridth merged commit c6e5fbe into github:main Aug 30, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash whilst generating report
3 participants