René's URL Explorer Experiment


Title: feat(cli): flag the narrower embedded token when publish enables API access by jamesbhobbs · Pull Request #492 · deepnote/deepnote · GitHub

Open Graph Title: feat(cli): flag the narrower embedded token when publish enables API access by jamesbhobbs · Pull Request #492 · deepnote/deepnote

X Title: feat(cli): flag the narrower embedded token when publish enables API access by jamesbhobbs · Pull Request #492 · deepnote/deepnote

Description: A published app never runs with the personal token used in local preview. The Deepnote shell hands it a viewer-scoped token that expires after 15 minutes and covers one run loop: read the configured notebook's inputs and block metadata (no source), start a detached run, poll that run for its outputs as snapshotBlocks. Every other endpoint answers 403. Nothing in the CLI said so. Change deepnote publish and deepnote static-site access print a short shared note whenever API access ends up enabled (-q suppresses it for publish). publish --help gets an accurate "Embedded API access" paragraph pointing at the docs page. apps.md stays the single description of the token boundary; it gains the 403 message, the ignored snapshotDelivery, the expiry, and the refresh guidance. cli-publish.md and the public docs page defer to it. Testing The note assertions live in the existing API-access table test plus a stored-settings case with no flag; static-site access gets a positive case. Full publish.test.ts and static-site-access.test.ts pass; lint and typecheck clean. Summary by CodeRabbit New Features Added startup and per-block timeout options for runs, with documented defaults and local-only behavior. Publish and static-site access commands now display consistent embedded API-access guidance after successful setup. Documentation Clarified embedded API token scope, 15-minute expiration, refresh behavior, supported operations, and 403 responses for unsupported endpoints. Documented the API access handshake, embedded-mode detection, error handling, and unavailable snapshot delivery. Clarified publish exit codes and project settings updates.

Open Graph Description: A published app never runs with the personal token used in local preview. The Deepnote shell hands it a viewer-scoped token that expires after 15 minutes and covers one run loop: read the configure...

X Description: A published app never runs with the personal token used in local preview. The Deepnote shell hands it a viewer-scoped token that expires after 15 minutes and covers one run loop: read the configure...

Opengraph URL: https://github.com/deepnote/deepnote/pull/492

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files/:range(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:f8058181-02fb-e5d8-3922-77ce50180b68
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8306:35A861:480542:6377D2:6AEDB791
html-safe-noncecf122971df90578704b3b413f1164d8d27eec6645d8b9b56f38195cefeff43bd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzA2OjM1QTg2MTo0ODA1NDI6NjM3N0QyOjZBRURCNzkxIiwidmlzaXRvcl9pZCI6Ijc3OTY5OTM1NDQwMTMzMzAzMjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac6b0b7922c539421b9f25d297a32b478ff5598df1ade2936d2550fe7bbfe97502
hovercard-subject-tagpull_request:4369831748
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/deepnote/deepnote/pull/492/files/cf9ec7068c1902d4ac3dec6c29fc6eca88596c27
twitter:imagehttps://avatars.githubusercontent.com/u/15235276?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/15235276?s=400&v=4
og:image:altA published app never runs with the personal token used in local preview. The Deepnote shell hands it a viewer-scoped token that expires after 15 minutes and covers one run loop: read the configure...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None1eb5f7cedbc707472687eab1a30e6c4619c00791815622ceaba9694eb161930f
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/deepnote/deepnote git https://github.com/deepnote/deepnote.git
octolytics-dimension-user_id45339858
octolytics-dimension-user_logindeepnote
octolytics-dimension-repository_id1066509034
octolytics-dimension-repository_nwodeepnote/deepnote
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1066509034
octolytics-dimension-repository_network_root_nwodeepnote/deepnote
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef31f9c89203c022acdb651c34ae048cf41764208
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/deepnote/deepnote/pull/492/files/cf9ec7068c1902d4ac3dec6c29fc6eca88596c27#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeepnote%2Fdeepnote%2Fpull%2F492%2Ffiles%2Fcf9ec7068c1902d4ac3dec6c29fc6eca88596c27
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeepnote%2Fdeepnote%2Fpull%2F492%2Ffiles%2Fcf9ec7068c1902d4ac3dec6c29fc6eca88596c27
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=deepnote%2Fdeepnote
Reloadhttps://github.com/deepnote/deepnote/pull/492/files/cf9ec7068c1902d4ac3dec6c29fc6eca88596c27
Reloadhttps://github.com/deepnote/deepnote/pull/492/files/cf9ec7068c1902d4ac3dec6c29fc6eca88596c27
Reloadhttps://github.com/deepnote/deepnote/pull/492/files/cf9ec7068c1902d4ac3dec6c29fc6eca88596c27
deepnotehttps://github.com/deepnote
deepnotehttps://github.com/deepnote/deepnote
Codehttps://github.com/deepnote/deepnote
Issues14 (14)https://github.com/deepnote/deepnote/issues
Pull requests24 (24)https://github.com/deepnote/deepnote/pulls
Discussionshttps://github.com/deepnote/deepnote/discussions
Actionshttps://github.com/deepnote/deepnote/actions
Security and qualityhttps://github.com/deepnote/deepnote/security
Insightshttps://github.com/deepnote/deepnote/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fdeepnote%2Fdeepnote%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fdeepnote%2Fdeepnote%2Fissues%2Fnew%2Fchoose
jamesbhobbshttps://github.com/jamesbhobbs
mainhttps://github.com/deepnote/deepnote/tree/main
docs/publish-embedded-token-surfacehttps://github.com/deepnote/deepnote/tree/docs/publish-embedded-token-surface
Conversation 12 https://github.com/deepnote/deepnote/pull/492
Commits 9 https://github.com/deepnote/deepnote/pull/492/commits
Checks 21 https://github.com/deepnote/deepnote/pull/492/checks
Files changed https://github.com/deepnote/deepnote/pull/492/files
Please reload this pagehttps://github.com/deepnote/deepnote/pull/492/files/cf9ec7068c1902d4ac3dec6c29fc6eca88596c27
feat(cli): flag the narrower embedded token when publish enables API access https://github.com/deepnote/deepnote/pull/492/files/cf9ec7068c1902d4ac3dec6c29fc6eca88596c27#top
Show all changes 9 commits https://github.com/deepnote/deepnote/pull/492/files
d9a4b40 feat(cli): flag the narrower embedded token when publish enables API … jamesbhobbs Aug 26, 2026 https://github.com/deepnote/deepnote/pull/492/commits/d9a4b4022d5ded020bc7c60394b14b199dee16b9
cf9ec70 chore(repo): merge main into docs/publish-embedded-token-surface jamesbhobbs Sep 9, 2026 https://github.com/deepnote/deepnote/pull/492/commits/cf9ec7068c1902d4ac3dec6c29fc6eca88596c27
af83036 fix(cli): state the embedded token surface accurately and share the n… voyti Sep 10, 2026 https://github.com/deepnote/deepnote/pull/492/commits/af83036eb28a57566549275a184142d6a2b1b996
99f50d0 docs(cli): describe viewer token refresh and name the isEmbedded guard voyti Sep 14, 2026 https://github.com/deepnote/deepnote/pull/492/commits/99f50d08b47f9d712881bbeaa3100e04dd4e32c1
18bf933 test(cli): assert the complete embedded token note in both commands voyti Sep 14, 2026 https://github.com/deepnote/deepnote/pull/492/commits/18bf933ead9019943aee357ae6de8e0a7943ee23
9914565 docs(cli): name the settings update in the publish exit-code description voyti Sep 14, 2026 https://github.com/deepnote/deepnote/pull/492/commits/9914565cd5e3314e4c231ae2389f44bf10bf0257
92bd9f1 Merge branch 'main' into docs/publish-embedded-token-surface voyti Sep 14, 2026 https://github.com/deepnote/deepnote/pull/492/commits/92bd9f1eaf12967758f421f4d63879968be4dea8
5eca7b8 Merge branch 'main' into docs/publish-embedded-token-surface voyti Sep 15, 2026 https://github.com/deepnote/deepnote/pull/492/commits/5eca7b8036d28f754bfc40a7f8c5524ec01b9e48
e62eb1b Merge branch 'main' into docs/publish-embedded-token-surface jamesbhobbs Sep 16, 2026 https://github.com/deepnote/deepnote/pull/492/commits/e62eb1b0daa7387274962fd12c1a96bca658fcfc
Clear filters https://github.com/deepnote/deepnote/pull/492/files/cf9ec7068c1902d4ac3dec6c29fc6eca88596c27
Please reload this pagehttps://github.com/deepnote/deepnote/pull/492/files/cf9ec7068c1902d4ac3dec6c29fc6eca88596c27
Please reload this pagehttps://github.com/deepnote/deepnote/pull/492/files/cf9ec7068c1902d4ac3dec6c29fc6eca88596c27
cli.ts https://github.com/deepnote/deepnote/pull/492/files/cf9ec7068c1902d4ac3dec6c29fc6eca88596c27#diff-7a02f7d6513a60a87cae3086768db219f1908f2594dc77cd1a13a0107cbb24e3
publish.test.ts https://github.com/deepnote/deepnote/pull/492/files/cf9ec7068c1902d4ac3dec6c29fc6eca88596c27#diff-3ce6d065350d4f39389d8d8576f4143cc427f1f7c5ab1bccc148976a4ffd44f9
publish.ts https://github.com/deepnote/deepnote/pull/492/files/cf9ec7068c1902d4ac3dec6c29fc6eca88596c27#diff-4f2e16ef182a35dca0fc6c04db7cd2a0a9fef31fb0f477648b7f81f9307267e2
cli-publish.md https://github.com/deepnote/deepnote/pull/492/files/cf9ec7068c1902d4ac3dec6c29fc6eca88596c27#diff-d97713b281c10cbe88143a49f2527b2ce4ebc0e12353c4eda152bd1de014f130
https://github.com/deepnote/deepnote/blob/main/.github/CODEOWNERS#L2
packages/cli/src/cli.tshttps://github.com/deepnote/deepnote/pull/492/files/cf9ec7068c1902d4ac3dec6c29fc6eca88596c27#diff-7a02f7d6513a60a87cae3086768db219f1908f2594dc77cd1a13a0107cbb24e3
View file https://github.com/deepnote/deepnote/blob/cf9ec7068c1902d4ac3dec6c29fc6eca88596c27/packages/cli/src/cli.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/deepnote/deepnote/pull/492/files/{{ revealButtonHref }}
https://github.com/deepnote/deepnote/pull/492/files/cf9ec7068c1902d4ac3dec6c29fc6eca88596c27#diff-7a02f7d6513a60a87cae3086768db219f1908f2594dc77cd1a13a0107cbb24e3
https://github.com/deepnote/deepnote/pull/492/files/cf9ec7068c1902d4ac3dec6c29fc6eca88596c27#diff-7a02f7d6513a60a87cae3086768db219f1908f2594dc77cd1a13a0107cbb24e3
https://github.com/deepnote/deepnote/blob/main/.github/CODEOWNERS#L2
packages/cli/src/commands/publish.test.tshttps://github.com/deepnote/deepnote/pull/492/files/cf9ec7068c1902d4ac3dec6c29fc6eca88596c27#diff-3ce6d065350d4f39389d8d8576f4143cc427f1f7c5ab1bccc148976a4ffd44f9
View file https://github.com/deepnote/deepnote/blob/cf9ec7068c1902d4ac3dec6c29fc6eca88596c27/packages/cli/src/commands/publish.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/deepnote/deepnote/pull/492/files/{{ revealButtonHref }}
https://github.com/deepnote/deepnote/pull/492/files/cf9ec7068c1902d4ac3dec6c29fc6eca88596c27#diff-3ce6d065350d4f39389d8d8576f4143cc427f1f7c5ab1bccc148976a4ffd44f9
https://github.com/deepnote/deepnote/pull/492/files/cf9ec7068c1902d4ac3dec6c29fc6eca88596c27#diff-3ce6d065350d4f39389d8d8576f4143cc427f1f7c5ab1bccc148976a4ffd44f9
https://github.com/deepnote/deepnote/blob/main/.github/CODEOWNERS#L2
packages/cli/src/commands/publish.tshttps://github.com/deepnote/deepnote/pull/492/files/cf9ec7068c1902d4ac3dec6c29fc6eca88596c27#diff-4f2e16ef182a35dca0fc6c04db7cd2a0a9fef31fb0f477648b7f81f9307267e2
View file https://github.com/deepnote/deepnote/blob/cf9ec7068c1902d4ac3dec6c29fc6eca88596c27/packages/cli/src/commands/publish.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/deepnote/deepnote/pull/492/files/{{ revealButtonHref }}
https://github.com/deepnote/deepnote/pull/492/files/cf9ec7068c1902d4ac3dec6c29fc6eca88596c27#diff-4f2e16ef182a35dca0fc6c04db7cd2a0a9fef31fb0f477648b7f81f9307267e2
https://github.com/deepnote/deepnote/pull/492/files/cf9ec7068c1902d4ac3dec6c29fc6eca88596c27#diff-4f2e16ef182a35dca0fc6c04db7cd2a0a9fef31fb0f477648b7f81f9307267e2
https://github.com/deepnote/deepnote/blob/main/.github/CODEOWNERS#L2
skills/deepnote/references/cli-publish.mdhttps://github.com/deepnote/deepnote/pull/492/files/cf9ec7068c1902d4ac3dec6c29fc6eca88596c27#diff-d97713b281c10cbe88143a49f2527b2ce4ebc0e12353c4eda152bd1de014f130
View file https://github.com/deepnote/deepnote/blob/cf9ec7068c1902d4ac3dec6c29fc6eca88596c27/skills/deepnote/references/cli-publish.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/deepnote/deepnote/pull/492/files/{{ revealButtonHref }}
https://github.com/deepnote/deepnote/pull/492/files/cf9ec7068c1902d4ac3dec6c29fc6eca88596c27#diff-d97713b281c10cbe88143a49f2527b2ce4ebc0e12353c4eda152bd1de014f130
https://github.com/deepnote/deepnote/pull/492/files/cf9ec7068c1902d4ac3dec6c29fc6eca88596c27#diff-d97713b281c10cbe88143a49f2527b2ce4ebc0e12353c4eda152bd1de014f130
Please reload this pagehttps://github.com/deepnote/deepnote/pull/492/files/cf9ec7068c1902d4ac3dec6c29fc6eca88596c27
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.