fix(ci): gate the Built-stamp repair on its own variable #151
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/repair-pipeline-gate-var"
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?
Problem
repair-built-stamp.yamlgated ontarget_arch:That is the same variable
build-all-versions.yamlandbuild-all-versions-install-deps.yamlgate on. A manual run passingtarget_arch=arm64to reach the repair therefore matched all three, so triggering a dry-run repair also queued a full arm64 rebuild.I hit this triggering the alpine 3.22 dry run (pipeline 10706), which I killed.
crow pipeline psrenders empty states on this version, so I could not confirm from the CLI whether the rebuild workflows started before the kill or only sat queued behind the running cron jobs; no output was attributable to them.Change
Gate on
repair_built_stampinstead. Every other pipeline here already gates on a variable named after itself (process_cran_updates,weekly_audit_missing,weekly_rebuild_missing), andtarget_archwas the odd one out being shared by two.The header now records the collision and the exact invocation, so the next pipeline added here does not repeat it.
Verification
crow lintpasses;prekclean.Grep of every trigger condition in
.crow/confirmsrepair_built_stampis unique and that no other pipeline gates onOS,OS_VERSION,R_VERSIONordry_runalone:Note for whoever runs it
crow pipeline createagainst this instance returned HTTP 504 while still creating the pipeline. Retrying on that error duplicates the run: I created four before noticing. Verify withpipeline lsrather than trusting the exit status.