Files
fleet/scripts/packages
CatoandClaude Opus 5.5 0ce7fac79e fix(repos): the existence probe captures gh's stderr, where the 404 is (#380)
* fix(repos): the existence probe captures gh's stderr, where the 404 is

repoExists ran `gh api repos/bitbaum/<name>` with stderr inherited, so
error.stderr was empty and the 404 that means "missing" never reached
the check: every missing repo read as "could not determine whether it
exists" and the run failed closed. Package repos never hit it because
every declared one already existed; App repos hit it on its first run
(bitbaum/signin, run 41126518242: "gh: Not Found (HTTP 404)" in the log,
then the error).

The probe now asks for stderr to be piped, and a test pins that.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmtfd1xjdH3XtnyNjXr

* fix(repos): App repos re-runs when the shared probe it imports changes

create-app-repos.mjs imports repoExists and toCreate from
scripts/packages/create-package-repos.mjs, so a fix there (this PR's)
must re-run App repos too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmtfd1xjdH3XtnyNjXr

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-30 21:56:18 +01:00
..