08-Sep-2026 — make OS Maps conversions light enough for the worker, cap how long a route may take, and #99
build 884 — commit 4f59a3f
What's new
Converting OS Maps routes worked on a developer machine but never in production. The worker's browser has no graphics hardware, so the OS Maps map was being rendered in software on two shared CPUs and every step of the job crawled, with single clicks taking minutes until the job timed out after forty. The browser now refuses the map tiles, images, fonts and analytics that the job never needs, which took a full login and export from a timeout to twenty seconds in testing. Each route is capped at eight minutes instead of twenty, and the routes page treats a long-running job as something to wait for rather than an error.
At a glance
- Map tiles, images, fonts and analytics are not loaded during an OS Maps conversion, so the login and export are fast
- A route that cannot be converted gives up after 8 minutes rather than 20, and the repeated pop-up dismissal pass is gone
- The routes page waits up to 45 minutes for a conversion, shows a warning rather than an error if it takes longer, stops waiting if you leave the page, and refreshes the list when the job completes
- A conversion that never reports back is marked as failed after 45 minutes rather than staying "queued" for ever