From b32997440573e8c76c3288b985b75203613bd14a Mon Sep 17 00:00:00 2001 From: Michael Daniels Date: Thu, 22 Oct 2026 19:37:09 -0400 Subject: [PATCH] scripts/retire-config: 1yr cutoffs -> 6mo --- README.md | 4 ++-- scripts/README.md | 2 +- scripts/retire-config.ts | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 10a2e46..ba92115 100644 --- a/README.md +++ b/README.md @@ -109,14 +109,14 @@ which should be merged by the Nixpkgs commit delegators to reconcile the mismatc ### Semi-automatic retirement Every day, [a GitHub Action workflow](./.github/workflows/retire.yml) runs -to check if any Nixpkgs committers have not used their commit access within the last year, +to check if any Nixpkgs committers have not used their commit access within the last six months, in which case an automated PR is created to remove them from the member list. The PR will ping the user and inform them that it will by default be merged and implemented in one month. If the PR is still open one month later, an automated comment will be posted with the next steps for the Nixpkgs commit delegators. -If the PR is closed, retirement is delayed by another year. +If the PR is closed, retirement is delayed by another six months. ### Setup diff --git a/scripts/README.md b/scripts/README.md index 7221457..1072163 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -91,7 +91,7 @@ This script has external effects and as such needs a bit more care when testing. ### Setup (important!) -To avoid other users getting pings, ensure that the `members-test` directory contains only simulated new users and your own user (simulated to have been added over a year ago), then commit and push it for testing: +To avoid other users getting pings, ensure that the `members-test` directory contains only simulated new users and your own user (simulated to have been added over six months ago), then commit and push it for testing: ```bash me=$(gh api /user --jq .login) diff --git a/scripts/retire-config.ts b/scripts/retire-config.ts index a8e1cb2..4e4050b 100644 --- a/scripts/retire-config.ts +++ b/scripts/retire-config.ts @@ -5,19 +5,19 @@ export default { noticeCutoffSpec: 'yesterday 1 month ago', // Skip users whose retirement PR was closed more recently than this. - closeCutoffSpec: '1 year ago', + closeCutoffSpec: '6 months ago', // Require repeated inactivity observations over this period before opening a PR. confirmCutoffSpec: '7 days ago', // Skip people who received their commit bit more recently than this. - newCutoffSpec: '1 year ago', + newCutoffSpec: '6 months ago', // People are active if they merged a PR more recently than this. - activityCutoffSpec: '1 year ago', + activityCutoffSpec: '6 months ago', // Trust cached merges newer than this without querying GitHub again. // The gap until the activity cutoff gives about a month of daily queries // agreeing before a retirement PR can be opened (see issue #100). - queryCutoffSpec: '11 months ago', + queryCutoffSpec: '5 months ago', };