Skip AArch64 ABI tests when LLVM provisioning fails
Resolution — completed
PR #701 merged the original prerequisite guard. The current explicit Actions graph, retained by PR #1071, has an llvm_setup prerequisite and the following condition on the native AAPCS64 contract step in .github/workflows/ci.yml:
if: ${{ !cancelled() && steps.llvm_setup.outcome == 'success' }}
A failed setup or cancelled run cannot start the dependent test. Because cancelled() is a status-check function, an unrelated earlier failure does not add an implicit success() restriction; see GitHub's status-check documentation. The setup failure remains a failed step/job. This is source/condition verification of the merged implementation, not a newly dispatched CI fault-injection run.
The old Python orchestration and rust.yml source below are historical. No new dependent-test implementation is outstanding for this issue.
Historical implementation scope and evidence
Problem
The Linux ARM64 AAPCS64 regression step runs even when its LLVM installation prerequisite fails. This produces a second, misleading compiler/toolchain failure and consumes runner time without exercising the intended ABI regression.
This is independently fixable from the download transport problem in #703: any failed LLVM setup, including a package-install or version-check failure, must prevent the dependent ABI step from running.
Observed evidence
PR #701's Linux ARM64 job, at b71aaf20:
Install LLVM 21exits with code 4 while downloading the installer.Run AArch64 AAPCS64 contract testsstill runs because its condition isalways().- Cargo fails with
No suitable version of LLVM was found ... LLVM_SYS_211_PREFIX, instead of executing the ABI test.
Starting point: the Linux ARM64 job in rust.yml.
Scope and verification
Give the LLVM setup step an explicit identity and make the dependent test require successful setup while respecting cancellation. Preserve the useful behavior of running ABI checks after unrelated failures when their prerequisites remain available. Keep the setup failure itself visible as a failed job.
Validate the condition in a temporary/manual workflow with a harmless dependent command: failed setup must skip that command; successful setup must permit it; an unrelated preceding failure must not suppress an otherwise runnable ABI check. This condition check does not need a compiler rebuild or a new cross-platform matrix. Retain a successful native ARM64 ABI execution as positive integration evidence.
Completion criteria
- [ ] Setup failure skips the dependent ABI step and retains the original setup failure.
- [ ] Successful LLVM setup permits the ABI test; unrelated failures do not hide useful ABI coverage.
- [ ] Cancellation does not start new compiler work.
- [ ] Failed-prerequisite and successful-prerequisite outcomes have explicit evidence.
Current contribution status
A candidate fix is already included in PR #701, commit c7877ffc. This issue records its independent scope and verification needs; coordinate with that PR before starting another implementation. Review and prerequisite-condition validation are useful contributions. The condition change is small, but the implementation is already proposed, so this is not advertised as an unclaimed good first issue.