Roadmap 0.13, Fixes

FX.775 BimCraft: autosave says it could not keep a recovery copy once the terrain holds about 158,000 points

  • Fix
  • Built · in the lab
  • BimCraft

Found 2026-12-03 by the FX.719 terrain lane in /lab/bimcraft: with the new Ground detail set to 200k (about 158,000 points kept), the model's autosave shows "Autosave could not keep a recovery copy". The saved IFC itself is fine (save and reopen work). Likely the recovery copy's size or a storage quota in the browser (the IFC with 200k terrain points is about 37 MB, measured in Node). Next: find where the autosave journal writes and why it refuses, then keep a recovery copy at that size (or say plainly why not and what to do). Log docs/0.13-fx/site-bim-terrain.md.

lead 0.13 2026-12-02: Fixed in the lab 2026-12-03. The recovery copy was never refused for size or quota (a 200k terrain copy is about 31 MB and was written by the retry about 30 s later): the message came from a race. Replacing a big terrain reloads the model for several seconds with no model id, the 2-second autosave timer fired in that window, the journal fell back to saving the whole IFC and that threw "No IFC model is open with id null" (IfcEditor.save, ifc-edit.js). Fix: new-building-ui.js autosaveJournal waits for the model to be open again before it reads it (polls every 250 ms, up to 120 s); the shared app-autosave.js and the terrain code are unchanged. Tests: autosave-terrain-journal-test.mjs 10/0 (lead re-ran); browser-autosave-terrain-fx775.mjs 3 runs in /lab/bimcraft with a 158,112-point terrain: no message, copy listed at 31.1 MB, after a reload Recover restores the terrain (316,224 points in the IFC). Not changed, noted: the shared autosave's splitting would store a copy of more than 64 MB of edits whole. Untested: a desktop browser with less memory, a reload longer than 120 s.

Add a comment

Community comments

No comments yet

Add detail as we go: how you would use it, files or steps that show the problem, what other programs do. The team reads every comment.

Sign in or create a free account to add a comment.