You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(triager): make self-provision opt-in (default skip), reconcile case I
My prior commit defaulted self-provision ON, which fought a peer's just-landed
case I (a regression guard locking the clone-less-host SKIP behavior and its log
line) and left origin/main2 red. The fleet deliberately chose the skip-model
(clone-holder triages; others skip), so make provisioning OPT-IN:
GARDEN_TRIAGE_SELF_PROVISION defaults to 0 → a missing clone is a clean skip
with the peer's "a host that holds the clone triages this repo" log (case I
passes unmodified). Set it to 1 to have this host self-provision a watched
repo whose clone lives on no host (ocapn, agoric-3-proposals, cosgov) — the
provisioning + bounded-atomic-clone + escalate-on-unreachable path is
unchanged, just gated.
Reconcile triager-test.sh case H: H1/H3/H4 set SELF_PROVISION=1 to exercise the
opt-in provision / unreachable / underivable paths; H2 now asserts the DEFAULT
(unset) clean skip — no auto-clone, no handler, no escalation. All hermetic.
FOLLOW-UP for the maintainer: the three watched repos with no clone on any host
(kriscendobot-{ocapn,agoric-3-proposals,cosgov}) are now un-wedged (no more
crash-loop) but stay UN-TRIAGED under the default skip. To triage them, either
create/hold their bare clones under worktrees/, or arm the opt-in
(GARDEN_TRIAGE_SELF_PROVISION=1) on one host after confirming those forks exist.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
[ !-d"$REPOS/$NOSLUG.git" ] && ok "fixture: no bare clone at \$GARDEN_REPOS/$NOSLUG.git (clone-less host shape)"|| bad "fixture invalid: $NOSLUG.git unexpectedly present"
@@ -358,23 +361,29 @@ grep -q "provisioned missing bare clone $NOSLUG" "$H1OUT" && ok "logs the provis
358
361
[ "$(cut -f3 "$CALLS"| head -1)"="$PSHA" ] && ok "new_sha is the provisioned upstream HEAD"|| bad "new_sha = [$(cut -f3 "$CALLS"| head -1)] (want $PSHA)"
359
362
[ !-s"$ALERTS" ] && ok "no maintainer escalation on a successful provision"|| bad "unexpected escalation: $(cat "$ALERTS")"
0 commit comments