mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-21 15:36:50 -05:00
The job intermittently failed with "==> (not found) Artifact: build-stats" due to a race condition: action-wait-for-check waited by commit SHA while action-download-artifact searched by PR number, picking a newer still-running workflow run whose artifacts hadn't been uploaded yet. Fixes: - Use commit SHA instead of PR number for PR artifact downloads to match the exact workflow run that was waited on - Add if_no_artifact_found: warn to all download steps (defense in depth) - Upgrade CLI download steps from v11 to v18 to support this parameter - Add timeoutSeconds/intervalSeconds to all wait-for-check steps - Expand failure detection to cover base branch builds and add warning step for incomplete builds - Make bundle-stats-comment.mjs gracefully skip missing stats files instead of throwing - Add if: !cancelled() to generate/post steps so they run after warnings https://claude.ai/code/session_015TDkitgqM2TsgFSCuGaFuF