Files
vim-ale/_webi
AJ ONeal 0b9ea25fbe fix: resolve triplet/version/libc issues in builds-cacher
Three fixes to the installer resolution path:

1. Triplet enumeration order: put specific OS before ANYOS and specific
   arch before ANYARCH. This prevents .git source URLs (ANYOS/ANYARCH)
   from shadowing platform-specific binaries (jq, caddy).

2. WATERFALL libc→gnu+musl: glibc hosts ('libc' in UA) now try
   ['none', 'gnu', 'musl', 'libc'] instead of ['none', 'libc']. This
   lets packages with gnu-linked builds (bat, rg, node) and static musl
   builds (rg v15+) match for glibc hosts.

3. Version-first iteration: findMatchingPackages now iterates versions
   newest-first then tries each triplet, matching the Go resolver's
   approach. Prevents picking an ancient version from a low-priority
   triplet when a newer version exists in another triplet (e.g. rg
   v0.1.6 gnu vs v15.1.0 musl).

Tests updated: all 15 installer-resolve cases pass (was 9+6 known),
30/32 live-diff cases pass (2 known: node Linux amd64 where our code
is better than live, hugo macOS arm64 classifier limitation).
2026-03-11 16:24:33 -06:00
..
2026-03-08 19:38:49 -06:00
2026-03-08 19:38:49 -06:00