deploy: select skopeo's ^out output in the wait step #227

Merged
dominik.polakovics merged 2 commits from lab/20260723-2144 into main 2026-07-25 10:03:11 +02:00

#224's stderr surfacing named the gate's real failure: nix build --no-link --print-out-paths nixpkgs#skopeo prints one path per output, and skopeo has two (man + out), so the skopeo="$(…)/bin/skopeo" assignment captured a two-line string and every exec failed with 'No such file or directory' — on every retry, for the gate's entire lifetime since #221, indistinguishable (pre-#224) from the tags not resolving.

Fix: build 'nixpkgs#skopeo^out' so exactly one path is printed. Verified locally with nix 2.34: the dry-run emits the single out path and no -man line.

With the agent-tools tags already published and anonymously pullable, the deploy run this merge triggers should pass the gate instantly and finally bump the pin to a rev containing the ADR-0055 logout fix.

Closes #226

#224's stderr surfacing named the gate's real failure: `nix build --no-link --print-out-paths nixpkgs#skopeo` prints one path per output, and skopeo has two (`man` + `out`), so the `skopeo="$(…)/bin/skopeo"` assignment captured a two-line string and every exec failed with 'No such file or directory' — on every retry, for the gate's entire lifetime since #221, indistinguishable (pre-#224) from the tags not resolving. Fix: build `'nixpkgs#skopeo^out'` so exactly one path is printed. Verified locally with nix 2.34: the dry-run emits the single `out` path and no `-man` line. With the agent-tools tags already published and anonymously pullable, the deploy run this merge triggers should pass the gate instantly and finally bump the pin to a rev containing the ADR-0055 logout fix. Closes #226
fix(ci): select skopeo's ^out output in the deploy wait step (issue #226)
All checks were successful
ci / native (pull_request) Successful in 7m59s
60876bfd5f
nixpkgs#skopeo has two outputs (man + out) and --print-out-paths
prints one path per line, so the $skopeo assignment captured both
lines and every exec failed with 'No such file or directory' — the
gate's silent failure mode since #221, surfaced by #224's stderr
capture. ^out pins the assignment to the single binary-bearing path;
verified locally that the dry-run prints exactly one line.

Closes #226

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
dominik.polakovics scheduled this pull request to auto merge when all checks succeed 2026-07-25 09:44:24 +02:00
dominik.polakovics scheduled this pull request to auto merge when all checks succeed 2026-07-25 09:53:25 +02:00
Merge branch 'main' into lab/20260723-2144
All checks were successful
ci / native (pull_request) Successful in 9m24s
ddb1053a6f
dominik.polakovics deleted branch lab/20260723-2144 2026-07-25 10:03:12 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Cloonar/coding-lab!227
No description provided.