Repo-set filter args on recall_action_required and recall_refresh #59
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally filed by @coilysiren on 2026-05-05T07:58:59Z - https://github.com/coilysiren/repo-recall/issues/53
Use case
A consumer driving a multi-repo build loop wants to ask "is the queue empty for the repos this step touches?" as a per-step gate. Today
ActionRequiredArgs {}andRefreshArgs {}are both empty, so:recall_refreshrescans every repo on disk. There's no way to say "only rescan these three repos before I check the gate."Both work around the same gap: no way to scope a call to a known repo set.
What's needed
Add an optional repo filter argument to both tools:
Filter on the action-required side is a one-line
.filter()on the existing iteration. Filter on the refresh side is more involved (the currentrun_refreshis a single all-repos pass) and may not be worth shipping in the same change.Priority
Lower than #52 (ordering contract). Consumer can filter client-side until repo count crosses some threshold. Filing now so the design intent is captured before someone adds an unrelated arg to either struct.
Acceptance
recall_action_requiredaccepts an optionalrepo_idsfilter and applies it server-side. Empty/missing = current behavior.recall_refreshaccepts an optionalrepo_idsfilter and rescans only those repos.Cross-refs