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
{{ message }}
Repository navigation
Streaming 5: bounded browser input and checkpoint API in native/WASM CI #209
area:viewerThe WASM browser viewerpriority:P1On the path of the current milestonetype:featureNew capability, including a spec section not yet implemented
Audit: .github/workflows/wasm.yml already builds web/bundler/nodejs. wasm/src/lib.rs:74 copies the entire uploaded buffer and the viewer uses file.arrayBuffer(). A build pass does not prove browser memory behavior.
Acceptance:
Browser/worker API consumes requested chunks, suspends and restores checkpoints with no full file.arrayBuffer path.
Native and wasm32 run the same chunk/checkpoint acceptance cases and match output.
Real browser entry-point memory and responsiveness evidence for large models, with captured/opened UI evidence for viewer changes.
Streaming CI is required alongside existing WASM build; unsupported model/version is explicit.
Depends on core, transport and checkpoints; relates to #177.
Status (main 2bab7b2). Native and wasm32 now run the same checkpoint acceptance (#301): a no_std wasm32 kernel built from the identical grammar files, driven under node, restores a checkpoint a native build made and finishes the walk, and the reverse, for the R2004 maps, sections, whole file and objects and for the R2007 walk and objects (tools/streaming/verify_wasm*.py, required Streaming E2E job). The no_std grammar also compiles for wasm32-unknown-unknown with no allocator in that job.
Not done, and unchanged since the audit: wasm/src/lib.rsDwgFile::open still copies the whole uploaded buffer (bytes.to_vec()), and docs/viewer/index.html still reads new Uint8Array(await file.arrayBuffer()). There is no browser or worker API that requests chunks, suspends and restores checkpoints, no real-browser memory or responsiveness evidence, and the kernel's runtime is node (V8), not a browser. Relates to #177.
area:viewerThe WASM browser viewerpriority:P1On the path of the current milestonetype:featureNew capability, including a spec section not yet implemented
Activity
DrunkOnJava commentedon Oct 27, 2026
Status (main 2bab7b2). Native and wasm32 now run the same checkpoint acceptance (#301): a
no_stdwasm32 kernel built from the identical grammar files, driven under node, restores a checkpoint a native build made and finishes the walk, and the reverse, for the R2004 maps, sections, whole file and objects and for the R2007 walk and objects (tools/streaming/verify_wasm*.py, required Streaming E2E job). Theno_stdgrammar also compiles forwasm32-unknown-unknownwith no allocator in that job.Not done, and unchanged since the audit:
wasm/src/lib.rsDwgFile::openstill copies the whole uploaded buffer (bytes.to_vec()), anddocs/viewer/index.htmlstill readsnew Uint8Array(await file.arrayBuffer()). There is no browser or worker API that requests chunks, suspends and restores checkpoints, no real-browser memory or responsiveness evidence, and the kernel's runtime is node (V8), not a browser. Relates to #177.