Skip to content

fix: notebook cell_ids for MarimoConvert.to_notebook_v1()#8309

Open
jpopesculian wants to merge 1 commit intomarimo-team:mainfrom
aqora-io:fix-marimo-convert-cell-ids
Open

fix: notebook cell_ids for MarimoConvert.to_notebook_v1()#8309
jpopesculian wants to merge 1 commit intomarimo-team:mainfrom
aqora-io:fix-marimo-convert-cell-ids

Conversation

@jpopesculian
Copy link
Contributor

In response to #8272

The problem was that notebooks created with NotebookConvert.to_notebook_v1 were not adding cell ids so the mismatch caused the notebooks to clear the cells. Solution is to use the CellIdGenerator. I've added some tests to make sure the ids generated match the kernel

@vercel
Copy link

vercel bot commented Feb 13, 2026

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

Project Deployment Actions Updated (UTC)
marimo-docs Ready Ready Preview, Comment Feb 13, 2026 9:12pm

Request Review

@dmadisetti
Copy link
Collaborator

Thanks for revisiting. Would you mind merging this with #8272 ? I think they both require each other.

however, I'm a little skeptical on ordering. I think your initial fix was fine if it was only confined to app mode. The issue was improper session blowing away the notebook content in edit mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants