René's URL Explorer Experiment


Title: improvement(uploads): migrate remaining FormData uploads to presigned PUT by waleedlatif1 · Pull Request #4509 · simstudioai/sim · GitHub

Open Graph Title: improvement(uploads): migrate remaining FormData uploads to presigned PUT by waleedlatif1 · Pull Request #4509 · simstudioai/sim

X Title: improvement(uploads): migrate remaining FormData uploads to presigned PUT by waleedlatif1 · Pull Request #4509 · simstudioai/sim

Description: Summary migrate profile-picture and workspace-logo uploads to presigned PUT (with FALLBACK_REQUIRED for local dev) migrate workflow file-upload sub-block to reuse `useUploadWorkspaceFile` mutation (presigned + register + cache invalidate) migrate execution-trigger file uploads (start block) to presigned PUT adds `workspace-logos` and `execution` branches to `/api/files/presigned` widens `runUploadStrategy` context union accordingly Stacks on top of #4506. Closes the remaining server-proxied `formData()` upload paths so >~5MB attachments no longer hit the Node/undici "missing final boundary" failure. Type of Change Improvement Testing Tested manually Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: Summary migrate profile-picture and workspace-logo uploads to presigned PUT (with FALLBACK_REQUIRED for local dev) migrate workflow file-upload sub-block to reuse `useUploadWorkspaceFile` mutation...

X Description: Summary migrate profile-picture and workspace-logo uploads to presigned PUT (with FALLBACK_REQUIRED for local dev) migrate workflow file-upload sub-block to reuse `useUploadWorkspaceFile` mutation...

Opengraph URL: https://github.com/simstudioai/sim/pull/4509

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(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:5546aafe-0679-3e2e-f8dc-e95da2fd3163
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id81C6:2F4711:53EE32:75F6ED:6AFB5FAE
html-safe-nonce292bf285760f40e51c3f4da20187871007f22d5a45d93aa497ff3db9687b77ba
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MUM2OjJGNDcxMTo1M0VFMzI6NzVGNkVEOjZBRkI1RkFFIiwidmlzaXRvcl9pZCI6IjQ4MDcxNzY5MTk4OTgwODczNDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac750a691fa8b94177326d159bf06bb192b2bbd4a94e9c41ff239e550d81ef74f6
hovercard-subject-tagpull_request:3646939142
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/simstudioai/sim/pull/4509/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary migrate profile-picture and workspace-logo uploads to presigned PUT (with FALLBACK_REQUIRED for local dev) migrate workflow file-upload sub-block to reuse `useUploadWorkspaceFile` mutation...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
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
release59ef97164c52cf59bd10558ddec9c4f482763988
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/4509/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F4509%2Ffiles
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%2Fsimstudioai%2Fsim%2Fpull%2F4509%2Ffiles
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=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/4509/files
Reloadhttps://github.com/simstudioai/sim/pull/4509/files
Reloadhttps://github.com/simstudioai/sim/pull/4509/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
waleedlatif1/upload-formdata-migrationhttps://github.com/simstudioai/sim/tree/waleedlatif1/upload-formdata-migration
Conversation 22 https://github.com/simstudioai/sim/pull/4509
Commits 8 https://github.com/simstudioai/sim/pull/4509/commits
Checks 13 https://github.com/simstudioai/sim/pull/4509/checks
Files changed https://github.com/simstudioai/sim/pull/4509/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4509/files
improvement(uploads): migrate remaining FormData uploads to presigned PUT https://github.com/simstudioai/sim/pull/4509/files#top
Show all changes 8 commits https://github.com/simstudioai/sim/pull/4509/files
c4192f5 fix(uploads): switch mothership uploads to presigned PUT pattern waleedlatif1 May 8, 2026 https://github.com/simstudioai/sim/pull/4509/commits/c4192f5c1f2dd6c1edd62f87482eaccfc46bdbde
ebf97a2 fix(uploads): drop unreachable size guard in mothership presigned branch waleedlatif1 May 8, 2026 https://github.com/simstudioai/sim/pull/4509/commits/ebf97a2852b30e97e82f537674f2809de4ba30a7
dba6e2f improvement(uploads): migrate profile-picture and workspace-logo uplo… waleedlatif1 May 8, 2026 https://github.com/simstudioai/sim/pull/4509/commits/dba6e2f47bbc5a65e4cdd604d772075fc7fc8772
4cb6d65 improvement(uploads): migrate workflow file-upload sub-block to presi… waleedlatif1 May 8, 2026 https://github.com/simstudioai/sim/pull/4509/commits/4cb6d65d06a5b199e32b097c93b14ef9d7ee79ca
3ec86ce improvement(uploads): migrate execution-trigger file uploads to presi… waleedlatif1 May 8, 2026 https://github.com/simstudioai/sim/pull/4509/commits/3ec86ce91b2fab56f7c8efd17d503e322455b4ee
56b90ef fix(uploads): tighten permission checks and fix multipart customKey f… waleedlatif1 May 8, 2026 https://github.com/simstudioai/sim/pull/4509/commits/56b90ef70e1b65b3117cfe2ccd72b40e02fa7796
8e5e67b fix(uploads): require workspace write+ for execution presigned, admin… waleedlatif1 May 8, 2026 https://github.com/simstudioai/sim/pull/4509/commits/8e5e67b8b567124396485c24a4d09ac7ccd8ca39
139544a fix(uploads): skip per-file invalidation in batch + extract shared AP… waleedlatif1 May 8, 2026 https://github.com/simstudioai/sim/pull/4509/commits/139544a4413b1a7b474a9f973ee17974073d63b1
Clear filters https://github.com/simstudioai/sim/pull/4509/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4509/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4509/files
route.ts https://github.com/simstudioai/sim/pull/4509/files#diff-61eee923cf18262c36f17f4ee5c06c6b1880fc4f13111c58fc629bb47b766b25
route.ts https://github.com/simstudioai/sim/pull/4509/files#diff-8afbc69ee8a248a0b4f51fb065b51a2d1004ae80cf2d93578a2d2a6bab5923e4
use-profile-picture-upload.ts https://github.com/simstudioai/sim/pull/4509/files#diff-492783f0488fb4405011225b72265208f896f1a5b5b377072d0a42cec22c88a0
use-file-attachments.ts https://github.com/simstudioai/sim/pull/4509/files#diff-6c363f893eb85ed2882370dc43a2f0750434ce5c1d52e14055954cdef6e05cf9
file-upload.tsx https://github.com/simstudioai/sim/pull/4509/files#diff-be74e921ac7cdf3b7931b69678124ee2fed74d4fe30a679366f5a692722589e9
use-workflow-execution.ts https://github.com/simstudioai/sim/pull/4509/files#diff-26a2ffd51d627fc3dadc9abff80196d5f5f7421369413728dbcfe6f72c46e4e6
use-workspace-logo-upload.ts https://github.com/simstudioai/sim/pull/4509/files#diff-49bd08e535e8bc9868312b997cb4e1e4d2dbdf99eeb34b766b561f3dca881600
workspace-files.ts https://github.com/simstudioai/sim/pull/4509/files#diff-29d9b6d312177176db7c67d2754eb013b3ee7dc842dbbdb481bed86f551d4f37
storage-transfer.ts https://github.com/simstudioai/sim/pull/4509/files#diff-863f7d0ace58810918b90840a39c43967e8aad8f46cb539d2dacd9c41085c36b
api-fallback.ts https://github.com/simstudioai/sim/pull/4509/files#diff-7531a0958928a49ed7634a7011d9ec64ccd083fee9654884f6f81571ed031a43
direct-upload.ts https://github.com/simstudioai/sim/pull/4509/files#diff-192cfed52f7b84c48dbe9ee3a67fe0d78323828359cbe0fef721df98625813f9
bun.lock https://github.com/simstudioai/sim/pull/4509/files#diff-bfd0ef82a01108fa1e836c2500b98b7de8a92bb1ae352a8efcbd9d6ffcaabd60
apps/sim/app/api/files/multipart/route.tshttps://github.com/simstudioai/sim/pull/4509/files#diff-61eee923cf18262c36f17f4ee5c06c6b1880fc4f13111c58fc629bb47b766b25
View file https://github.com/simstudioai/sim/blob/139544a4413b1a7b474a9f973ee17974073d63b1/apps/sim/app/api/files/multipart/route.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4509/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4509/files#diff-61eee923cf18262c36f17f4ee5c06c6b1880fc4f13111c58fc629bb47b766b25
https://github.com/simstudioai/sim/pull/4509/files#diff-61eee923cf18262c36f17f4ee5c06c6b1880fc4f13111c58fc629bb47b766b25
apps/sim/app/api/files/presigned/route.tshttps://github.com/simstudioai/sim/pull/4509/files#diff-8afbc69ee8a248a0b4f51fb065b51a2d1004ae80cf2d93578a2d2a6bab5923e4
View file https://github.com/simstudioai/sim/blob/139544a4413b1a7b474a9f973ee17974073d63b1/apps/sim/app/api/files/presigned/route.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4509/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4509/files#diff-8afbc69ee8a248a0b4f51fb065b51a2d1004ae80cf2d93578a2d2a6bab5923e4
https://github.com/simstudioai/sim/pull/4509/files#diff-8afbc69ee8a248a0b4f51fb065b51a2d1004ae80cf2d93578a2d2a6bab5923e4
https://github.com/simstudioai/sim/pull/4509/files#diff-8afbc69ee8a248a0b4f51fb065b51a2d1004ae80cf2d93578a2d2a6bab5923e4
Please reload this pagehttps://github.com/simstudioai/sim/pull/4509/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4509/files
https://github.com/simstudioai/sim/pull/4509/files#diff-8afbc69ee8a248a0b4f51fb065b51a2d1004ae80cf2d93578a2d2a6bab5923e4
apps/sim/app/workspace/[workspaceId]/settings/hooks/use-profile-picture-upload.tshttps://github.com/simstudioai/sim/pull/4509/files#diff-492783f0488fb4405011225b72265208f896f1a5b5b377072d0a42cec22c88a0
View file https://github.com/simstudioai/sim/blob/139544a4413b1a7b474a9f973ee17974073d63b1/apps/sim/app/workspace/%5BworkspaceId%5D/settings/hooks/use-profile-picture-upload.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4509/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4509/files#diff-492783f0488fb4405011225b72265208f896f1a5b5b377072d0a42cec22c88a0
https://github.com/simstudioai/sim/pull/4509/files#diff-492783f0488fb4405011225b72265208f896f1a5b5b377072d0a42cec22c88a0
https://github.com/simstudioai/sim/pull/4509/files#diff-492783f0488fb4405011225b72265208f896f1a5b5b377072d0a42cec22c88a0
https://github.com/simstudioai/sim/pull/4509/files#diff-492783f0488fb4405011225b72265208f896f1a5b5b377072d0a42cec22c88a0
...]/components/panel/components/copilot/components/user-input/hooks/use-file-attachments.tshttps://github.com/simstudioai/sim/pull/4509/files#diff-6c363f893eb85ed2882370dc43a2f0750434ce5c1d52e14055954cdef6e05cf9
View file https://github.com/simstudioai/sim/blob/139544a4413b1a7b474a9f973ee17974073d63b1/apps/sim/app/workspace/%5BworkspaceId%5D/w/%5BworkflowId%5D/components/panel/components/copilot/components/user-input/hooks/use-file-attachments.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4509/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4509/files#diff-6c363f893eb85ed2882370dc43a2f0750434ce5c1d52e14055954cdef6e05cf9
https://github.com/simstudioai/sim/pull/4509/files#diff-6c363f893eb85ed2882370dc43a2f0750434ce5c1d52e14055954cdef6e05cf9
https://github.com/simstudioai/sim/pull/4509/files#diff-6c363f893eb85ed2882370dc43a2f0750434ce5c1d52e14055954cdef6e05cf9
https://github.com/simstudioai/sim/pull/4509/files#diff-6c363f893eb85ed2882370dc43a2f0750434ce5c1d52e14055954cdef6e05cf9
https://github.com/simstudioai/sim/pull/4509/files#diff-6c363f893eb85ed2882370dc43a2f0750434ce5c1d52e14055954cdef6e05cf9
Please reload this pagehttps://github.com/simstudioai/sim/pull/4509/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4509/files
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.