fix(installer): avoid pipefail marker race
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/pr/greenfield-install Pipeline was successful

This commit is contained in:
2026-08-06 12:13:42 -05:00
parent 58ada98d2b
commit 913f00770f
6 changed files with 82 additions and 4 deletions
@@ -56,7 +56,11 @@ case "$mode" in
|| { echo "[fixture-suite] invalid $singular marker name: $name" >&2; exit 2; }
[[ -d "$run_dir" ]] \
|| { echo "[fixture-suite] $dimension state was not initialized: $run_id" >&2; exit 1; }
expected_names | grep -Fxq -- "$name" \
if ! expected_snapshot="$(expected_names)"; then
echo "[fixture-suite] failed to read expected $dimension" >&2
exit 1
fi
grep -Fxq -- "$name" <<<"$expected_snapshot" \
|| { echo "[fixture-suite] $singular is not in the expected set: $name" >&2; exit 1; }
: > "$run_dir/$name.ran"
;;