René's URL Explorer Experiment


Title: fix(cloud-sync): keep the live copy of files over 100 MiB on publish by tkislan · Pull Request #581 · deepnote/deepnote · GitHub

Open Graph Title: fix(cloud-sync): keep the live copy of files over 100 MiB on publish by tkislan · Pull Request #581 · deepnote/deepnote

X Title: fix(cloud-sync): keep the live copy of files over 100 MiB on publish by tkislan · Pull Request #581 · deepnote/deepnote

Description: Summary publishApp deleted a file's live copy before uploadProjectFile rejected a replacement over 100 MiB (MAX_BUFFERED_PROJECT_FILE_BYTES), so publishing an oversized file left it missing from the app. Preflight: before any request, publishApp stats every file it will publish, up to eight at a time, and throws PublishError('invalid-input') if any is over the limit, so nothing is deleted or uploaded. The message names the oversized files, sorted; past five it lists the first four and , and N more. deepnote publish exits with code 2. A file that cannot be stat'ed throws PublishError('unreadable-directory'). Second check: the upload loop checks the size again after reading a file and before deleting its live copy, because the file can grow after the preflight. That file fails on its own, and the other files are still published. mapWithConcurrency: a private copy of the helper in @deepnote/local-runner, so no dependency is added. Docs: docs/deepnote-cli-publish.md, skills/deepnote/references/cli-publish.md and packages/cli/README.md list the refusal and its exit code. Tests: publish-app.test.ts covers the refusal and its five-file cap, a file of exactly the limit, a file that grows after the preflight, and a file that cannot be stat'ed. Closes #580 🤖 Generated with Claude Code https://claude.ai/code/session_01EWZjLhk1Gb8dwbgBdT6AZ3 Summary by CodeRabbit Bug Fixes Publishing now rejects directories containing files larger than 100 MiB before uploads or other remote changes. If a file grows beyond the limit during publishing, its existing remote copy is preserved. Files exactly at the 100 MiB limit can still be uploaded. Files that cannot be inspected are reported as unreadable before publishing proceeds. Documentation Updated publishing guides to explain the file-size limit and the related command exit code.

Open Graph Description: Summary publishApp deleted a file's live copy before uploadProjectFile rejected a replacement over 100 MiB (MAX_BUFFERED_PROJECT_FILE_BYTES), so publishing an oversized file left it missing fro...

X Description: Summary publishApp deleted a file's live copy before uploadProjectFile rejected a replacement over 100 MiB (MAX_BUFFERED_PROJECT_FILE_BYTES), so publishing an oversized file left it missing...

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

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/commits/:range(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:a9fac505-0fc0-972a-c3a1-87bd68f6286f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDFB6:242DDA:9BF586:D52C15:6AEDCE57
html-safe-nonced0e453db57883edd3215d21b79d3d2a7f9bf1e3af8c76c70cdd57e1ab72a8b69
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERkI2OjI0MkREQTo5QkY1ODY6RDUyQzE1OjZBRURDRTU3IiwidmlzaXRvcl9pZCI6IjEzNTAyMzM2MjI1MzQwMTY1OTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb76cc6bf0e68590750e82765b232ebd50b5800a4c7b10fd1e8c065ccbf0a8b67
hovercard-subject-tagpull_request:4840682220
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/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/deepnote/deepnote/pull/581/commits/5aa9b81502420c3f065dc128f85db0d435684283
twitter:imagehttps://avatars.githubusercontent.com/u/5370798?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/5370798?s=400&v=4
og:image:altSummary publishApp deleted a file's live copy before uploadProjectFile rejected a replacement over 100 MiB (MAX_BUFFERED_PROJECT_FILE_BYTES), so publishing an oversized file left it missing fro...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonef60373873bb1ef795e8511ea1f2a76997e9c649d72b02942aedf2def3423a0ce
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release0f55cfa61438c7dc93d1024a1e5e5182b36830e2
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/deepnote/deepnote/pull/581/commits/5aa9b81502420c3f065dc128f85db0d435684283#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeepnote%2Fdeepnote%2Fpull%2F581%2Fcommits%2F5aa9b81502420c3f065dc128f85db0d435684283
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%2F581%2Fcommits%2F5aa9b81502420c3f065dc128f85db0d435684283
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%2Fcommits&source=header-repo&source_repo=deepnote%2Fdeepnote
Reloadhttps://github.com/deepnote/deepnote/pull/581/commits/5aa9b81502420c3f065dc128f85db0d435684283
Reloadhttps://github.com/deepnote/deepnote/pull/581/commits/5aa9b81502420c3f065dc128f85db0d435684283
Reloadhttps://github.com/deepnote/deepnote/pull/581/commits/5aa9b81502420c3f065dc128f85db0d435684283
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
tkislanhttps://github.com/tkislan
mainhttps://github.com/deepnote/deepnote/tree/main
tomaskislan/blu-6512-deepnote-publish-deletes-the-live-copy-of-a-file-over-100https://github.com/deepnote/deepnote/tree/tomaskislan/blu-6512-deepnote-publish-deletes-the-live-copy-of-a-file-over-100
Conversation 16 https://github.com/deepnote/deepnote/pull/581
Commits 10 https://github.com/deepnote/deepnote/pull/581/commits
Checks 21 https://github.com/deepnote/deepnote/pull/581/checks
Files changed https://github.com/deepnote/deepnote/pull/581/files
Please reload this pagehttps://github.com/deepnote/deepnote/pull/581/commits/5aa9b81502420c3f065dc128f85db0d435684283
fix(cloud-sync): keep the live copy of files over 100 MiB on publish https://github.com/deepnote/deepnote/pull/581/commits/5aa9b81502420c3f065dc128f85db0d435684283#top
Show all changes 10 commits https://github.com/deepnote/deepnote/pull/581/files
901512e fix(cloud-sync): keep the live copy of files over 100 MiB on publish tkislan Oct 13, 2026 https://github.com/deepnote/deepnote/pull/581/commits/901512efa08aaeddf15b020b50f13dddd2970386
f71fdc1 refactor(cloud-sync): stat publish files concurrently and cap the ove… tkislan Oct 13, 2026 https://github.com/deepnote/deepnote/pull/581/commits/f71fdc1faac2571b7a3a58de3c5149b1600d6eb2
75c5f65 refactor(cloud-sync): use p-map for the publish size preflight tkislan Oct 14, 2026 https://github.com/deepnote/deepnote/pull/581/commits/75c5f6518704d87724b4ebfc8ee42cbc2782116e
46c6776 refactor(cloud-sync): use a local mapWithConcurrency instead of p-map tkislan Oct 14, 2026 https://github.com/deepnote/deepnote/pull/581/commits/46c67760332c24cc8527f6841cb8070661d15fef
058e767 Reformat file tkislan Oct 14, 2026 https://github.com/deepnote/deepnote/pull/581/commits/058e76788ecd519cd9859481e3248afc83f93062
377bd01 test(cloud-sync): drop redundant publish size-limit tests tkislan Oct 14, 2026 https://github.com/deepnote/deepnote/pull/581/commits/377bd018558dda966f948160e9dcf5793fc56933
d52bf5a style(cloud-sync): restore Biome import order in publish-app tkislan Oct 14, 2026 https://github.com/deepnote/deepnote/pull/581/commits/d52bf5a192c5b03fcd41bc75e9d95468a4cfbc75
5aa9b81 refactor(cloud-sync): return the path with each size in the publish p… tkislan Oct 14, 2026 https://github.com/deepnote/deepnote/pull/581/commits/5aa9b81502420c3f065dc128f85db0d435684283
224b642 refactor(cloud-sync): put the preflight stat on its own line tkislan Oct 14, 2026 https://github.com/deepnote/deepnote/pull/581/commits/224b64215194ba8bf16f5ac65eedb3b24b4de787
a0be520 fix(publish-app): reduce STAT_CONCURRENCY to align with UV_THREADPOOL… tkislan Oct 14, 2026 https://github.com/deepnote/deepnote/pull/581/commits/a0be5200f5cbd9349e49f3e5dcaa12482ddc7b38
Clear filters https://github.com/deepnote/deepnote/pull/581/commits/5aa9b81502420c3f065dc128f85db0d435684283
Please reload this pagehttps://github.com/deepnote/deepnote/pull/581/commits/5aa9b81502420c3f065dc128f85db0d435684283
Please reload this pagehttps://github.com/deepnote/deepnote/pull/581/commits/5aa9b81502420c3f065dc128f85db0d435684283
Prev https://github.com/deepnote/deepnote/pull/581/commits/d52bf5a192c5b03fcd41bc75e9d95468a4cfbc75
Next https://github.com/deepnote/deepnote/pull/581/commits/224b64215194ba8bf16f5ac65eedb3b24b4de787
https://claude.ai/code/session_01EWZjLhk1Gb8dwbgBdT6AZ3https://claude.ai/code/session_01EWZjLhk1Gb8dwbgBdT6AZ3
Please reload this pagehttps://github.com/deepnote/deepnote/pull/581/commits/5aa9b81502420c3f065dc128f85db0d435684283
https://github.com/tkislan
https://github.com/claude
tkislanhttps://github.com/deepnote/deepnote/commits?author=tkislan
claudehttps://github.com/deepnote/deepnote/commits?author=claude
https://github.com/deepnote/deepnote/blob/main/.github/CODEOWNERS#L2
packages/cloud-sync/src/publish-app.tshttps://github.com/deepnote/deepnote/pull/581/commits/5aa9b81502420c3f065dc128f85db0d435684283#diff-5b67c1c7f7a8c479983a47e31a37fba102c76b6b65fcb6df3d28db8fe6734c73
View file https://github.com/deepnote/deepnote/blob/5aa9b81502420c3f065dc128f85db0d435684283/packages/cloud-sync/src/publish-app.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/deepnote/deepnote/pull/581/commits/{{ revealButtonHref }}
https://github.com/deepnote/deepnote/pull/581/commits/5aa9b81502420c3f065dc128f85db0d435684283#diff-5b67c1c7f7a8c479983a47e31a37fba102c76b6b65fcb6df3d28db8fe6734c73
Please reload this pagehttps://github.com/deepnote/deepnote/pull/581/commits/5aa9b81502420c3f065dc128f85db0d435684283
https://github.com/deepnote/deepnote/pull/581/commits/5aa9b81502420c3f065dc128f85db0d435684283#diff-5b67c1c7f7a8c479983a47e31a37fba102c76b6b65fcb6df3d28db8fe6734c73
Please reload this pagehttps://github.com/deepnote/deepnote/pull/581/commits/5aa9b81502420c3f065dc128f85db0d435684283
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.