Public: anyone can read this; nobody can change it.

azure-gate: fix the 20-min clone hang (authenticated URL + GIT_TERMINAL_PROMPT=0) #145

Merged opened this view on origin

Check · Review · Land done · Live — Landed; nothing deploys from this branch, so this is the end of its path.

Merged

Ben hit a 20-minute hang on the Clone step of azure-gate. Cause: the clone used a bare https://git.open-platform.sh/... URL.

Notes

shipped merged

opened this view on origin

Ben hit a ~20-minute hang on the Clone step of azure-gate.

Cause: the clone used a bare https://git.open-platform.sh/... URL. This Forgejo instance prompts for credentials on that URL, and the vxrail host runner has no TTY, so git blocks on the prompt indefinitely instead of erroring.

Fix: clone the way the proven coldstart.yml does (line 150) — an authenticated URL https://x-access-token:${{ github.token }}@git.open-platform.sh/….git — and set GIT_TERMINAL_PROMPT=0 so any future auth problem fails fast rather than hanging. Applied to both clone sites (the gate job and the nightly janitor).

Two-line change; no logic touched. Comparing against Ben's fix — whichever is cleaner wins.

🤖 Generated with Claude Code

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs