marimo icon indicating copy to clipboard operation
marimo copied to clipboard

watch mode auto-running or formatting

Open Light2Dark opened this issue 1 month ago • 0 comments

Describe the bug

Quite strange but it feels like marimo is auto-running, formatting on watch mode. Quite unpleasant, seems like a very recent bug. I did not press any keyboard shortcuts / commands to trigger the actions below.

https://github.com/user-attachments/assets/efc0399b-c379-4de3-9420-c5da1a5de1d0

Will you submit a PR?

  • [ ] Yes

Environment

{
  "marimo": "0.17.6",
  "editable": true,
  "location": "/Users/shahmir/Development/marimo/marimo",
  "OS": "Darwin",
  "OS Version": "24.6.0",
  "Processor": "arm",
  "Python Version": "3.13.5",
  "Locale": "en_US",
  "Binaries": {
    "Browser": "142.0.7444.60",
    "Node": "v22.13.0"
  },
  "Dependencies": {
    "click": "8.3.0",
    "docutils": "0.22.2",
    "itsdangerous": "2.2.0",
    "jedi": "0.19.2",
    "markdown": "3.9",
    "narwhals": "2.10.1",
    "packaging": "25.0",
    "psutil": "7.1.3",
    "pygments": "2.19.2",
    "pymdown-extensions": "10.16.1",
    "pyyaml": "6.0.3",
    "starlette": "0.50.0",
    "tomlkit": "0.13.3",
    "typing-extensions": "4.15.0",
    "uvicorn": "0.38.0",
    "websockets": "14.2"
  },
  "Optional Dependencies": {
    "altair": "5.5.0",
    "anywidget": "0.9.18",
    "duckdb": "1.2.2",
    "ibis-framework": "11.0.0",
    "loro": "1.8.2",
    "mcp": "1.20.0",
    "nbformat": "5.10.4",
    "openai": "1.75.0",
    "pandas": "2.3.3",
    "polars": "1.35.1",
    "pyarrow": "22.0.0",
    "pytest": "8.3.5",
    "python-lsp-server": "1.13.1",
    "ruff": "0.14.3",
    "sqlglot": "27.29.0",
    "vegafusion": "2.0.3"
  },
  "Experimental Flags": {
    "rtc_v2": false,
    "experimental_data_table": true,
    "sql_engines": false,
    "mcp_docs": true,
    "cache_panel": true,
    "rdg_data_editor": true,
    "secrets": true,
    "multi_column": true,
    "glide_data_editor": true,
    "spreadsheet_editor": true,
    "performant_table_charts": true,
    "chat_modes": true,
    "lsp": true,
    "tracing": true,
    "chat_sidebar": true,
    "sql_linter": false,
    "sql_engine": true,
    "inline_ai_tooltip": true,
    "data_table_plugin": true,
    "sql_mode": true,
    "table_charts": true,
    "external_agents": true
  }
}

Code to reproduce

import marimo

__generated_with = "0.17.6"
app = marimo.App(width="medium")


@app.cell
def _():
    import marimo as mo
    return


@app.function
def some_func():
    x = 2

Light2Dark avatar Nov 04 '25 18:11 Light2Dark