Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

logging: downgrade warning to debug for session cache serialization (#5423)

Dylan Madisetti126405711e12
diff --git a/marimo/_server/session/serialize.py b/marimo/_server/session/serialize.py
index ef2579dd80..e4b5c915cf 100644
--- a/marimo/_server/session/serialize.py
+++ b/marimo/_server/session/serialize.py
@@ -82,7 +82,8 @@ def serialize_session_view(
if view.cell_ids is not None:
cell_ids = view.cell_ids.cell_ids
else:
- LOGGER.warning(
+ # TODO: This is a problem for exporting to HTML, but not for caching the session view for replays. Something seems off.
+ LOGGER.debug(
"When serializing session view, the notebook-order of cells was "
"not known. This may cause issues when attempting to "
"reconstruct the notebook state from the serialized session "