Skip to content

App link code is not updated when notebook is modified #10134

Description

@darrickyee

Describe the issue

I created the linked notebook by importing (uploading) a notebook file. In the molab workspace I also uploaded a .db file and .parquet file.

In molab, I edited cell 2 to use pl.read_parquet instead of the original pl.read_database_uri.

The linked notebook correctly reflects the change.

However, the "Copy App Url" provides the link https://molab.marimo.io/notebooks/nb_WQ8BbHoseCKcoLRV9No47b/app. When clicking "Show code," what appears is the original code with pl.read_database_uri in cell 2.

In short,
https://molab.marimo.io/notebooks/nb_WQ8BbHoseCKcoLRV9No47b <- code is correct (up-to-date)
https://molab.marimo.io/notebooks/nb_WQ8BbHoseCKcoLRV9No47b/app <- code is incorrect (doesn't reflect changes)

Notebook URL (optional)

https://molab.marimo.io/notebooks/nb_WQ8BbHoseCKcoLRV9No47b

marimo version (optional)

No response

Issue category

Sharing / embedding

Steps to reproduce

  1. Open the linked notebook (https://molab.marimo.io/notebooks/nb_WQ8BbHoseCKcoLRV9No47b). Note the contents of cell 2.
  2. Append "/app" to the notebook link to open the App Url.
  3. Click the three-dot menu on the upper right and select "Show code."
  4. The contents of cell 2 are not the same as the contents shown in step 1.

Expected behavior

Code from https://molab.marimo.io/notebooks/nb_WQ8BbHoseCKcoLRV9No47b expected to be the same as code in https://molab.marimo.io/notebooks/nb_WQ8BbHoseCKcoLRV9No47b/app.

Browser (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    molabIssues specific to molab

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions