Modern Apps git

← Modern-Apps.git

findfamily: invalidate malformed tile caches on rebuild (#821)

Commit
1f79f6187f87b6ab7f98f23014be210f853be971
Author
vayun-mathur <[email protected]>
When
2026-10-16 04:16 UTC (1 month ago)
Parents
aa92213

Diff

scripts/maps/mamaps_build/src/main_part1.rs
diff --git a/scripts/maps/mamaps_build/src/main_part1.rs b/scripts/maps/mamaps_build/src/main_part1.rsindex 1aa8543278..935809a754 100644--- a/scripts/maps/mamaps_build/src/main_part1.rs+++ b/scripts/maps/mamaps_build/src/main_part1.rs@@ -335,11 +335,9 @@ fn derive_build_id(             h = h.wrapping_mul(0x100_0000_01b3);         }     };-    // Revision 16: the v8 landtype merge. The four wash layers become one `landtype`-    // capped at z14, every other layer id shifts, and three kinds are appended — so a warm-    // cache from a v7 build must miss. (Revision 15 was the region filter, 14 the v7-only-    // purge.)-    eat(b"mamaps_build/16");+    // Revision 17 fixes the missing lane byte in mixed landtype Road records (#821).+    // The corrected rebuild must invalidate cached ranges from the malformed archive.+    eat(b"mamaps_build/17");     eat(region.as_bytes());     eat(input.to_string_lossy().as_bytes());     if let Ok(meta) = std::fs::metadata(input) {