mirror of
https://github.com/actualbudget/actual.git
synced 2026-05-22 04:01:17 -05:00
The Merge VRT Patches job collects shard patches with the glob `/tmp/shard-patches/*/vrt-shard.patch`, which assumes every downloaded artifact lands in its own `path/<artifact-name>/` subdirectory. But actions/download-artifact only does that when 2+ artifacts match the pattern; when exactly one matches it unpacks the artifact directly into `path`. So whenever a `/update-vrt` run touches snapshots in a single shard (the common case) the patch ends up at `/tmp/shard-patches/vrt-shard.patch`, the glob matches nothing, and the job reports "No shard patches to merge" despite a patch having been generated (e.g. run 25679233565). Replace the glob with a recursive `find` so the patches are located under either layout. `merge-multiple: true` is not an option here because every shard artifact contains a file literally named `vrt-shard.patch` and they would overwrite each other. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>