Inactivity cutoff for retirement from nixpkgs commit bit moving to 6mo

TL;DR: We (@mdaniels5757, @philiptaron, @mattsturgeon) plan to merge nixpkgs-committers#159 one week from now, on or after Thursday, October 30. After that, the retirement automation will flag committers who haven’t merged a PR in six months instead of one year.

What’s changing

RFC 55 set up retirement of inactive committers, and nixpkgs-committers automates it. Every cutoff that is currently one year becomes six months:

  • Activity: you count as active if you’ve merged a Nixpkgs PR in the last 6 months (previously 1 year).
  • New committers: anyone who got commit access in the last 6 months is skipped (previously 1 year).
  • Closed retirement PRs: if your retirement PR gets closed, the next one waits another 6 months (previously 1 year).

Everything else stays as it is:

  • Retirement still goes through an automated PR that pings you, and by default it’s merged and implemented one month later.
  • One merge in the window is still enough to count as active.
  • Retired committers can still re-nominate themselves with a PR.

I can’t promise what others will do, but I will be generous about re-granting access. I want your talent to multiply!

Why

The discussion is in nixpkgs-committers#109. In short:

  • Write access to Nixpkgs is a security liability. GHSA-67f2-674w-6g63 turned out to have no direct impact, but responding to it showed how much auditing work compromised committer credentials can create. Every account with commit access is something we may have to audit. That cost is worth paying for people who are using the access, and less so for people who aren’t.
  • RFC 55 expected this. The one-year threshold was deliberately conservative, and the RFC noted that “the threshold may need adjustment in the future.” The project has grown a lot in the 6½ years since.
  • It matches the release cycle. Six months is one NixOS release.
  • It matches the GitHub audit log. The audit log keeps six months of history. The security team supports this change and asked for it to be implemented.

To be clear, going inactive says nothing about anyone’s character. People get busy, change jobs, take breaks, or move on to other things. Lord knows I got less active over the past year due to circumstances.

Retirement only means the access is no longer in use. It is not a judgement. We want you and your full self.

What to expect after the merge

Committers whose last merge was between 6 and 12 months ago will start getting retirement PRs in the nixpkgs-committers repo. If you get one of these PRs and want to keep your access, you can reply on the PR. If your access is removed and you later want it back, open a re-nomination PR.

Not part of this change

#109 also floated other ideas that this PR does not include:

  • removing the one-month waiting period,
  • tightening which merges count (for example, excluding self-merges or merges the merge bot could have done),
  • requiring more than one merge per period.

This is the easy mode: 6 months.

Feedback

PR #159 is open for comments for the next week. Please give your feedback there.

27 Likes

This was implemented last week, and the first round of retirement PRs are here. Note that these are kept open for a month before being acted on, in which time the folks have a chance to re-engage if they’d like to do so.

I’m pinging folks here in case their GH notifications are a mess. There’s no obligation to respond or to become active again. Appreciate your contributions.

6 Likes

Question: How does this interact with folks that use ryanbot to have things merged?

(no concerns otherwise, keep up the good work, etc. etc.)

Assuming you mean nixpkgs-merge-bot (as r-ryantm can’t merge PRs itself), committers that only used the merge bot in the past half year would be automatically considered for retirement. Their workflow would likely not be affected by the removal, as they would continue to be able to use the merge bot without their commit bit. As Philip has stated above, maintainers that could have used the merge bot but used their own merge permissions instead, and haven’t used it for anything else than such cases in the past six month, are not considered for automatic commit bit retirement yet.

If you mean committers that have merged nothing but r-ryantm PRs, the same applies if they exclusively used the merge bot to merge such PRs.

2 Likes

Very good initiative. Thank you.

1 Like