Skip to content

Inventory: include any repo with issues+PRs enabled instead of a fork allow-list - #101

Open
silug wants to merge 2 commits into
mainfrom
pr-inventory-simplify
Open

Inventory: include any repo with issues+PRs enabled instead of a fork allow-list#101
silug wants to merge 2 commits into
mainfrom
pr-inventory-simplify

Conversation

@silug

@silug silug commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Now that issues and pull requests are disabled on every fork that exists only as a mirror, the dynamic inventory no longer needs the include_forks allow-list: a repo is included iff issues AND pull requests are enabled (plus the existing name globs / topic / archived / empty filters). puppetsync's whole output is a PR, so a repo that can't receive one is definitionally out of scope.

Verified against the live org (260 repos → 80 selected): the generated inventory matches the last real fleet run's snapshot except for two corrections, both in the new rule's favor:

  • pupmod-simp-haveged — a maintained fork (issues+PRs on) that the old allow-list silently dropped; it missed the recent fleet sessions and never received the new baseline. Since it is also likely to be archived soon, it is now held out via an explicit exclude glob alongside pupmod-voxpupuli-selinux (archival will make the entry redundant).
  • pupmod-simp-rngd — created yesterday; discovered automatically, as intended.

Task specs rewritten for the new rule (either flag off ⇒ skipped; missing flags ⇒ included, so older API shapes can't empty the inventory; retired-key warning). 231 rspec + 28 BoltSpec examples green.

🤖 Generated with Claude Code

silug and others added 2 commits August 28, 2026 15:55
…allow-list

The org now disables issues and pull requests on every fork that exists
only as a mirror, so those two flags are the signal separating
maintained repos (forks included) from mirrors — puppetsync's whole
output is a PR, so a repo that can't receive one is definitionally out.
The exclude_forks/include_forks allow-list is retired (passing the old
keys warns and is ignored); the puppetsync-ignore topic and exclude
globs remain as escape hatches, and pupmod-voxpupuli-selinux stays out
via an explicit exclude until #83 is fixed.

Verified against the live org: the generated inventory matches the last
real run's snapshot except for two corrections — pupmod-simp-haveged (a
maintained fork the old allow-list silently dropped, so it missed the
recent fleet sessions) and pupmod-simp-rngd (a brand-new module,
discovered automatically).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
It never received the new baseline (the old fork rule silently dropped
it) and is likely to be archived soon — at which point exclude_archived
makes this entry redundant.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.

1 participant