The reconciler's mergeability/checks read kept its correct degrade but threw the reason away: 2>/dev/null dropped gh's stderr, leaving a permanent denial and a network hiccup byte-identical in the log (#95 had to infer a cause from a control case, and the inference did not survive incubator#48/#49). Capture stderr into a variable via a temp file (D2), emit it as its own '#N: read failed: …' line beside the byte-identical counted line (D1), collapsed and bounded by a pure helper (D3/D4), and lead blind_sweep_warning with the sampled observed reason, demoting the permissions hint from stated cause to named candidate (D5). Part of #101 groundwork; tests and changelog follow. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| action.yml | ||
| labels-reconcile.sh | ||