mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 10:59:59 +00:00
The wait job picks the newest privileged run on the head commit of the PR. Two fork PRs that share a head repository, branch and commit but target different bases each start such a run, and the commit alone cannot tell them apart. A failed run of the other PR would then end the wait of this one while its images are still being built. The run name of the workflow carries the PR number, so the match now requires it next to the head commit. A run without that name matches nothing, and the wait does what it does whenever no run is found: it keeps polling for the images until they exist or the wait times out. Raised by the CodeRabbit review of this PR. Refs #784 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Wait Scripts
This directory contains generic wait and polling scripts used by workflow automation.
- ⏳ Wait for asynchronous resources to become available
- 🔎 Poll external systems until expected artifacts are ready
- 📦 Wait for CI and mirror images to become available in registries
- 🧭 Centralize readiness checks outside build and release scripts
The scope of this folder is waiting and availability checks. Build, release, and resource-specific lifecycle operations should stay in their dedicated directories.