You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parent:#259 (techdesign) — see sdlc/#259/design.md (2026-07-04 reanalysis), lever L5. Likely the largest cold-import cost on templated bakes — confirm with #446.
Why
Every import currently, for every building, every run:
City-wide that is O(10⁵) GPU round-trips and synchronous HTTP requests, repeated identically on every re-import — and when the authoring server isn't running, the renders and encodes still happen before each upload fails.
What (cheapest first)
Add an importer toggle "Upload building authoring assets", default off; the iPad-authoring workflow turns it on.
When on, probe the server once per run (single request); if unreachable, skip renders and uploads for the whole run instead of failing per building — the render+encode must be skipped too, not just the PUT.
Low — the server and iOS app already treat missing thumbnails/backdrops as graceful fallbacks (per the #369/#407 code comments in SFMapImporterWindow.cs).
Done when
A bulk import with the toggle off performs zero building renders/uploads; with the toggle on and the server down, the run degrades with one warning instead of per-building stalls; #446 timings show the cost gone from the default path.
Parent: #259 (techdesign) — see
sdlc/#259/design.md(2026-07-04 reanalysis), lever L5. Likely the largest cold-import cost on templated bakes — confirm with #446.Why
Every import currently, for every building, every run:
ReadPixelsGPU sync stall + JPEG encode) and PUTs it tolocalhost:8000with a spin-wait (while (!op.isDone) {}, 5s timeout) — Buildings tab thumbnails show placeholder images instead of real 3D building renders #369City-wide that is O(10⁵) GPU round-trips and synchronous HTTP requests, repeated identically on every re-import — and when the authoring server isn't running, the renders and encodes still happen before each upload fails.
What (cheapest first)
Risk
Low — the server and iOS app already treat missing thumbnails/backdrops as graceful fallbacks (per the #369/#407 code comments in
SFMapImporterWindow.cs).Done when
A bulk import with the toggle off performs zero building renders/uploads; with the toggle on and the server down, the run degrades with one warning instead of per-building stalls; #446 timings show the cost gone from the default path.