deploy: surface skopeo's stderr in the agent-tools wait step #225
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Cloonar/coding-lab!225
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "lab/20260723-2144"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The 'Wait for the agent-tools refs' gate in deploy.yml discarded skopeo's output entirely (
>/dev/null 2>&1), so every failure — whatever its real cause — surfaced as the same 'still does not resolve' deadline error after 30 minutes.That gate has never passed since #221 introduced it: deploy runs 294 and 296 (both attempts) all died at exactly the deadline, including a re-run whose entire retry window was after the agent-tools tags were published, the publish job's own anonymous scratch-pull verification passed, and an anonymous token→manifest→config-blob fetch returned 200 from the deploy target host. So skopeo fails in the runner environment for a reason unrelated to tag existence, and the discarded stderr is the only thing that would name it.
This change:
2>&1 >/dev/null— keeps stderr, drops the inspect JSON stdout) and prints it on every 30s retry line and in the deadline::error,skopeo --versiononce up front.The capture-ordering and
until err="$(…)"behavior underset -euo pipefailis verified locally (loop exits on success, stderr lands in the message on failure). The next merge to main then diagnoses the gate itself.Closes #224