Skip to content

feat: upgrade marimo#179

Merged
jpopesculian merged 1 commit intomainfrom
jpop/upgrade-marimo
Mar 23, 2026
Merged

feat: upgrade marimo#179
jpopesculian merged 1 commit intomainfrom
jpop/upgrade-marimo

Conversation

@jpopesculian
Copy link
Copy Markdown
Contributor

@jpopesculian jpopesculian commented Mar 20, 2026

requires aqora-io/kubimo#15 and the version in the docker image to be updated after merging and releasing

Summary by CodeRabbit

  • UI Updates

    • Hidden the "Back to gallery" link.
  • Improvements

    • Auto-download now includes Markdown and Jupyter notebooks in addition to HTML.
    • Cached session serving enabled for apps.
  • Chores

    • Updated default runtime image and bumped default Marimo version.
    • Added development tooling (ruff, nbconvert) to the template dev dependencies.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 20, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b259d44c-d0b6-4329-a983-d13e1186cf7c

📥 Commits

Reviewing files that changed from the base of the PR and between 8d50bb3 and 9cbb892.

📒 Files selected for processing (5)
  • docker/Dockerfile.kubimo
  • docker/kubimo/marimo/marimo.css
  • docker/kubimo/marimo/marimo.toml
  • template/assets/dataset_marimo/pyproject.toml.hbs
  • template/src/dataset_marimo.rs
✅ Files skipped from review due to trivial changes (5)
  • template/src/dataset_marimo.rs
  • docker/kubimo/marimo/marimo.css
  • template/assets/dataset_marimo/pyproject.toml.hbs
  • docker/Dockerfile.kubimo
  • docker/kubimo/marimo/marimo.toml

📝 Walkthrough

Walkthrough

Five small edits across Marimo: a CSS rule hides the "Back to gallery" anchor; runtime TOML adds markdown and ipynb to auto-downloads and enables serving cached sessions; dev template adds ruff and nbconvert; Dockerfile base image tag bumped; default Marimo version constant updated.

Changes

Cohort / File(s) Summary
Marimo UI Styling
docker/kubimo/marimo/marimo.css
Adds a rule hiding the anchor with aria-label="Back to gallery" (display: none).
Runtime Configuration
docker/kubimo/marimo/marimo.toml
Adds markdown and ipynb to [runtime].default_auto_download; sets [runtime].serve_cached_sessions_in_apps = true.
Development Template
template/assets/dataset_marimo/pyproject.toml.hbs
Adds ruff and nbconvert to the [dependency-groups].dev list.
Docker Build Image
docker/Dockerfile.kubimo
Bumps ARG KUBIMO_MARIMO_IMAGE default tag from 0.1.110.1.12 (used by FROM stages).
Template Default Version
template/src/dataset_marimo.rs
Updates DEFAULT_MARIMO_VERSION constant from "0.19.2""0.21.1".

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Poem

🐰 I hid a link behind a curl of CSS,
Added notebooks to the download express,
Cached sessions now wait in cozy nooks,
Ruff polishes code and nbconvert cooks,
Bumped the image—Marimo hops and rests ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'feat: upgrade marimo' directly and accurately summarizes the main change—upgrading the marimo version across multiple configuration files and the Docker image.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch jpop/upgrade-marimo

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
template/assets/dataset_marimo/pyproject.toml.hbs (1)

12-12: Consider pinning versions for dev dependencies.

Adding ruff and nbconvert to dev tooling is appropriate—ruff provides modern linting/formatting, and nbconvert supports the new ipynb functionality. However, unpinned dev dependencies may lead to inconsistent development environments across team members or over time.

📌 Optional: Add minimum version constraints
-dev = ["ty", "watchdog", "ruff", "nbconvert"]
+dev = ["ty", "watchdog", "ruff>=0.1.0", "nbconvert>=7.0.0"]

Note: Adjust version numbers based on your minimum requirements.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@template/assets/dataset_marimo/pyproject.toml.hbs` at line 12, The dev
dependency list (dev = ["ty", "watchdog", "ruff", "nbconvert"]) should include
pinned or minimum version constraints to ensure reproducible dev environments;
update the template line that defines the dev array to replace each package
entry with a versioned specifier (e.g., "ruff>=x.y.z" or "nbconvert==x.y.z")
according to your minimum supported versions, and ensure the template generator
preserves those constraints when rendering.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docker/kubimo/marimo/marimo.toml`:
- Around line 30-35: The config includes an unknown option
serve_cached_sessions_in_apps; verify whether the Marimo runtime version
actually supports this key or remove it: check Marimo docs or code for
serve_cached_sessions_in_apps and if unsupported, delete that entry from
marimo.toml (leaving default_auto_download, on_cell_change, auto_instantiate,
default_sql_output, dotenv intact) or replace it with the correct supported
setting.

---

Nitpick comments:
In `@template/assets/dataset_marimo/pyproject.toml.hbs`:
- Line 12: The dev dependency list (dev = ["ty", "watchdog", "ruff",
"nbconvert"]) should include pinned or minimum version constraints to ensure
reproducible dev environments; update the template line that defines the dev
array to replace each package entry with a versioned specifier (e.g.,
"ruff>=x.y.z" or "nbconvert==x.y.z") according to your minimum supported
versions, and ensure the template generator preserves those constraints when
rendering.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 37dbd830-2eef-4858-984b-cf8cb9d77a77

📥 Commits

Reviewing files that changed from the base of the PR and between a7547c8 and 8d50bb3.

📒 Files selected for processing (3)
  • docker/kubimo/marimo/marimo.css
  • docker/kubimo/marimo/marimo.toml
  • template/assets/dataset_marimo/pyproject.toml.hbs

Comment on lines +30 to +35
default_auto_download = ["html", "markdown", "ipynb"]
on_cell_change = "autorun"
auto_instantiate = false
default_sql_output = "auto"
dotenv = [".env"]
serve_cached_sessions_in_apps = true
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🌐 Web query:

What configuration options are available in marimo runtime settings, specifically default_auto_download and serve_cached_sessions_in_apps?

💡 Result:

Marimo runtime settings are configured via the UI settings menu, .marimo.toml user config file, pyproject.toml overrides under [tool.marimo.runtime], or script metadata. Known runtime options include on_cell_change (autorun/lazy), auto_reload, auto_instantiate, pythonpath (list of dirs), dotenv (list of .env files), and default_sql_output. default_auto_download is an app-specific configuration option (moved from UI to per-notebook app config in Sep 2024 via PR #2309), likely controlling automatic HTML/IPYNB exports/downloads. It appears in user configs as default_auto_download = [] (possibly list of formats like ["html"]). No sources explicitly document or confirm serve_cached_sessions_in_apps as a runtime setting; it may not exist or be undocumented/internal.

Citations:


Verify or remove the serve_cached_sessions_in_apps configuration option.

The serve_cached_sessions_in_apps option cannot be confirmed in marimo's official runtime configuration documentation and may not be a valid setting. Verify this option exists in the target marimo version or remove it. The other options (default_auto_download, on_cell_change, auto_instantiate, default_sql_output, dotenv) are documented and valid.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docker/kubimo/marimo/marimo.toml` around lines 30 - 35, The config includes
an unknown option serve_cached_sessions_in_apps; verify whether the Marimo
runtime version actually supports this key or remove it: check Marimo docs or
code for serve_cached_sessions_in_apps and if unsupported, delete that entry
from marimo.toml (leaving default_auto_download, on_cell_change,
auto_instantiate, default_sql_output, dotenv intact) or replace it with the
correct supported setting.

@jpopesculian jpopesculian merged commit 419f208 into main Mar 23, 2026
17 checks passed
@jpopesculian jpopesculian deleted the jpop/upgrade-marimo branch March 23, 2026 10:08
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.

1 participant