mirror of
https://github.com/storytold/lightcraft.git
synced 2026-11-28 09:19:25 +01:00
Re-merged main after today's merges. Conflicts: crates/fetch/src/tests.rs crates/segment/src/fetch.rs Ported in this merge: FileSpec keeps this PR's pinned sizes and sha with main's `max: 4 << 20`; tests are a union. Also addresses CodeRabbit's three test findings: the mirror path goes through the defaults instead of being split on spaces or commas, temp dirs are removed at the end of each test, and the percent/space tests build their paths from temp_dir() so they hold on Windows. fetch and segment tests and clippy pass locally. Docs/locale conflicts are resolved by keeping both sides. Also folds in two fixes for main so the gate passes: crates/engine/src/import/job.rs gets rustfmt (the #1995 merge left it unformatted, so every gate failed at fmt), and the Windows-only folders test joins each path component.