NixOS / NixOS/nixpkgs-committers

Unreliable /commits endpoint

Open
#100 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
26
Forks
31
PR merge metrics
No merged PRs in 30d

Description

The /commits endpoint we're using right now sometimes doesn't return any entries, causing accidental retirement PRs to be opened (#97, #98, #99).

https://github.com/NixOS/nixpkgs-committers/blob/6076321224e21db4d4a375592d129f052b344f1d/scripts/retire.sh#L112-L116

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with scripts/retire.sh at lines 112-116 and inspect how the /commits response is handled when it contains no entries. Reproduce or trace the empty-response case, then define a check that prevents accidental retirement PRs like #97, #98, and #99 before validating the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.