Loading…
Reference in a new issue
No description provided.
Delete branch "fix/4.6.2-rc3"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #1282. Closes #1283.
For 4.6.2-rc3, on the owner's say (2026-10-30: "get issues opened up for what I found, fix them, and get rc3 cut").
#1282: large maps load from a pyramid
map_tiles.lowest_zoom/cut_lower_levels/write_lower_levels: after zoom 0, the worker cuts the picture at half size, a quarter and so on (LANCZOS, each level made from the one above) until it fits in one tile. An 8192 × 6144 map goes down to z = -5.levels.json({"min_zoom": -n}) is written last, atomically, to say the levels are complete.files_service.map_lowest_zoomreads it, returning 0 when it's missing or unreadable and clamping to -16..0. The map response carriestiles_min_zoom. The tile route refuses z outside -16..0 or a negative x/y before touching the disk.MapCanvassetsminNativeZoomtotiles_min_zoom, so a fitted view reads that level's few tiles, and draws the 1024 px thumbnail underneath, removed on error. In the canvas test, a 3200 × 2400 map fitted to 800 × 600 reads fewer than 20 tiles at z = -2 instead of the 130 native ones.backfill_map_thumbsalso cuts the levels of any ready map withoutlevels.json(it returns alevelscount). It's already on the daily schedule, and the deploy runs it once.#1283: from the owner's rc2 review
[open]), and choosing a stop's place on the map opens every group holding its stops.Checked
docker-test: map tiles, maps API and edit API, pictures and files, the EXIF/bomb guard, export files and maps, and one-job-per-import map tasks: 855 passed, after one tile-count expectation was updated. ruff format and check pass.src/pages/wiki,src/wikiandsrc/pages/prep: 654 passed, with new tests for the pyramid level read and the thumbnail, nothing listed before typing, Show/Hide, and a place opening its session. eslint reports 0 errors.changelog.py checkpasses.Not checked
🤖 Generated with Claude Code