turbo
f504da2e - chore: Glue lock artifact literals onto #14771's alternates field

Commit
36 days ago
chore: Glue lock artifact literals onto #14771's alternates field #14771 adds `lock::Artifact::alternates` (pinned copies a delegated installer may fetch instead; only Rust's `tar-xz`). Its body notes that the Go, uv, Bun, Python and additional-tool stacks need `alternates: BTreeMap::new()` in their `lock::Artifact` literals when they meet it. This adds exactly that to the seven integrated literals: - Bun `bun_provision::artifact` (#14658) - Go `go_resolution` and its tests, `go_provision` tests (#14644) - uv `Target::lock_artifact` and `python_resolution` (#14649/#14691) - Additional tools `lock::additional::project` (#14581) No validation changes: those adapters still ignore `alternates`. #14771 rejects alternates in the Node, registry and pnpm-preservation checks; whether the other adapters' lock checks should reject them too is a follow-up for their owners. Owners: #14771 with #14658, #14644, #14649/#14691, #14581.
Author
Parents
Loading