GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docs(skill): document the hosted app client and how apps read notebook results by voyti · Pull Request #553 · deepnote/deepnote

Conversation

@voyti

@voyti voyti commented Oct 6, 2026 •
edited by coderabbitai Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

The viewer API section of apps.md told app authors to write the token handshake themselves. Deepnote hosts a browser client that does it, and no public doc mentioned the client or how an app gets notebook results into the page.

  • apps.md, Add viewer API access: leads with https://deepnote.com/static/app-client/v1.js and window.Deepnote.connect(). The handshake description stays for apps that call the API directly, which should now also send detachedRunStorageMode: "readonly".
  • apps.md, Return notebook results to an app (new):
    • a JSON output with a schema, built with to_json, because to_dict sends "nan" and fails on missing timestamps
    • the output size limits
    • how dataframe outputs page their rows and encode their values
  • blocks-code-and-sql.md: what deepnote_table_state.pageSize does.
  • Cloud app example: runs start with read-only project storage, as the guidance asks.

pnpm run lintAndFormat, pnpm typecheck, pnpm test (184 files, 3,368 tests), and cspell on the changed docs pass. The encoding statements were checked by running the toolkit's dataframe formatter and a real IPython kernel. The agent plugin counterpart is deepnote/agent-plugins#22.

Summary by CodeRabbit

  • New Features
    • Runs started from the example cloud app now use read-only storage.
  • Documentation
    • Expanded app viewer guidance for connecting, managing viewer tokens, starting runs, checking status, and selecting JSON results.
    • Added details on JSON output limits, dataframe paging and value representations, and read-only storage for runs.
    • Documented the table output pageSize setting, including its default and constraints.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@voyti
docs(skill): document the hosted app client and how apps read noteboo…
cce3213
…k results

The viewer API section told app authors to hand-roll the token handshake and
said nothing about the client Deepnote hosts at /static/app-client/v1.js, which
handles the token, polling, and read-only runs. apps.md now leads with that
client and adds how an app gets notebook results: a JSON output with a schema,
or a dataframe output, which holds one page of rows with the total in
row_count and encodes values as described.

The cloud app example now starts its runs with read-only project storage, as
the guidance asks of clients that call the API directly.
@linear-code

linear-code Bot commented Oct 6, 2026

Copy link
Copy Markdown

BLU-6433

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@voyti voyti mentioned this pull request Oct 6, 2026
docs(skills): add deepnote-dynamic-apps and document dataframe pagination deepnote/agent-plugins#22
Closed
@coderabbitai

coderabbitai Bot commented Oct 6, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 0768b440-b43d-447a-b890-6787a1fe28b4
📥 Commits

Reviewing files that changed from the base of the PR and between dc889f4 and cce3213.

📒 Files selected for processing (3)
  • examples/local-runner/cloud-app/index.html
  • skills/deepnote/references/apps.md
  • skills/deepnote/references/blocks-code-and-sql.md

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.


📝 Walkthrough

Walkthrough

The local runner now sets detachedRunStorageMode to readonly when starting a run. The app guidance adds a browser viewer flow, token handling details, and guidance for notebook JSON results and dataframe representations. The deepnote_table_state description now specifies how pageSize controls stored output rows.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~12 minutes

Change: Other

Suggested reviewers: jamesbhobbs

Merge Risk: ⚪ Minimal · up to cce32

No specific breakage is established in the viewer example or notebook-output guidance, so there is no identified merge-blocking risk.

🚥 Pre-merge checks | ✅ 6
✅ Passed checks (6 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: documenting the hosted app client and how apps read notebook results.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Updates Docs ✅ Passed The PR updates the OSS app documentation with the hosted client, direct API storage-mode guidance, notebook result formats, and dataframe paging details. It also updates the cloud app example and bloc…
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Some tools did not complete. Review the errors below.

🔧 LanguageTool

LanguageTool checks were skipped: reviews.tools.languagetool.enabled_only requires at least one selection in enabled_rules or enabled_categories. Select rules/categories, set enabled_only to false to use the default rules, or set enabled to false to disable LanguageTool.


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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@codecov

codecov Bot commented Oct 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.00%. Comparing base (dc889f4) to head (cce3213).

Additional details and impacted files
@@           Coverage Diff            @@
##             main     #553    +/-   ##
========================================
  Coverage   90.00%   90.00%            
========================================
  Files         211      211            
  Lines       12451    12451            
  Branches     3588     3482   -106     
========================================
  Hits        11206    11206            
  Misses       1242     1242            
  Partials        3        3            

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

coderabbitai[bot]
coderabbitai Bot approved these changes Oct 6, 2026
View reviewed changes
This was referenced Nov 4, 2026
docs(api): guides for runs, sessions, machines and workspace management #612
Closed
docs: run notebooks from Streamlit apps and websites #613
Closed

This branch has not been deployed

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

Reviewers

@coderabbitai coderabbitai[bot] coderabbitai[bot] approved these changes

At least 2 approving reviews are required to merge this pull request.

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@voyti
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.