Skip to content

feat(export): bundle session caches into html-wasm --execute output#9897

Draft
dmadisetti wants to merge 1 commit into
dm/lazy-store-mergefrom
dm/wasm-cache-export
Draft

feat(export): bundle session caches into html-wasm --execute output#9897
dmadisetti wants to merge 1 commit into
dm/lazy-store-mergefrom
dm/wasm-cache-export

Conversation

@dmadisetti

@dmadisetti dmadisetti commented Jun 15, 2026

Copy link
Copy Markdown
Member

This pull request was authored by a coding agent.

Blocked / draft: depends on the lazy-store backend (_ACTIVE_LAZY_LOADERS, WasmExportableStore, LazyLoader.flush_all), which is not yet on main. Rebase onto the lazy-store PR once it lands; CI will stay red until then.

@vercel

vercel Bot commented Jun 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
marimo-docs Ready Ready Preview, Comment Jun 24, 2026 11:23pm

Request Review

@dmadisetti dmadisetti force-pushed the dm/wasm-cache-export branch from 9d26af1 to 6d6f2df Compare June 24, 2026 22:57
@dmadisetti dmadisetti changed the base branch from main to dm/lazy-store-merge June 24, 2026 22:57
@dmadisetti dmadisetti added the enhancement New feature or request label Jun 24, 2026
@dmadisetti dmadisetti force-pushed the dm/lazy-store-merge branch from 6cb26c5 to 45fbfde Compare June 24, 2026 23:20
When `marimo export html-wasm --execute` runs, the executed session's
LazyLoader writes an export manifest at kernel teardown listing the cache
keys it produced. The export step copies exactly those files into
`<out_dir>/public/cache/`, where the WASM store's HTTP fallback fetches
them — so a cached notebook ships its caches and skips recomputation in
the browser.

Stacked on the LazyStore dual-mode backend (#9898), which provides
`LazyLoader.flush_all()`, the `_ACTIVE_LAZY_LOADERS` registry, and
`WasmExportableStore.export_manifest()`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant