hive-forge: flag stale-branches merge outcome as unknown when the PR fetch is truncated

This commit is contained in:
damocles 2026-08-28 15:37:07 +02:00 committed by mara
commit fa73cd1ddb
2 changed files with 26 additions and 4 deletions

View file

@ -33,7 +33,10 @@ dimension directly.
heads of open PRs) and reports each one's merge outcome (PR merged /
closed unmerged / no PR at all) — squash-merge ancestry can't tell
those apart, so don't delete a stale branch on the age alone; check
the verdict first.
the verdict first. On a repo with enough PRs to exceed the verb's own
page cap, an old branch's outcome may come back "unknown" instead of
a verdict — that's not the same claim as "no PR", treat it as
"can't tell, don't delete" too.
## Using them as a sweep