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

Rework the open PRs data to measure at a specific point in time #54

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

ghickman
Copy link
Contributor

We now count all open PRs first thing each Monday morning (and still only include those which have been open for 7+ days at the point of counting).

Because we're now calculating "is this PR open" against a datetime I've exposed the *_at values from the API to compare against the point-in-time, keeping the date-based values since they're used in pr_throughput and a bit of open_prs still.

Does the opened < dt < closed construct make sense to others? I've used it for a while but I'm never sure how obvious it is when someone else is reading.

🚨NO BUCKETING WAS INVOLVED 🚨

Copy link
Contributor

@benbc benbc left a comment

Choose a reason for hiding this comment

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

This looks roughly like what I was expecting. I suggest again that you merged without a detailed review and I'll review everything later.

@ghickman ghickman merged commit 7832310 into main Nov 28, 2023
7 checks passed
@ghickman ghickman deleted the switch-open-prs-to-pit-count branch November 28, 2023 15:05
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