René's URL Explorer Experiment


Title: improvement(mothership): let a code call run for up to fifteen minutes by waleedlatif1 · Pull Request #9588 · simstudioai/sim · GitHub

Open Graph Title: improvement(mothership): let a code call run for up to fifteen minutes by waleedlatif1 · Pull Request #9588 · simstudioai/sim

X Title: improvement(mothership): let a code call run for up to fifteen minutes by waleedlatif1 · Pull Request #9588 · simstudioai/sim

Description: Summary Raise the Mothership code-call ceiling (run_code / run_function) from 300 s to 900 s A render or build that needed more than five minutes was cut off at the ceiling and failed. The model then either started over in smaller pieces or escaped the call with a background process, which stalled once the idle workbench paused. Over a recent week, calls that ran into the ceiling failed about 83% of the time, and they took about a sixth of all code-call time No behavior changes until the worker raises its own schema maximum (companion PR). Until then the worker never requests more than 300 s Every other layer already scales with the requested budget: the deadline header, the session sandbox lease (idle window + remaining budget), the provider command timeout, and per-second sandbox metering Type of Change Improvement Testing function-execute-session.test.ts: the timeout table now covers 900 and 901 s through the dispatcher and the real handler; it fails on the 300 s ceiling and passes on 900 s Live E2B probe: a command that printed nothing for 420 s ran to completion (exit 0, stdout intact). The command stream carried a keepalive frame every 50 s throughout, so a 350 s idle cut on the network path never fires Lint on the changed files; CI runs the rest Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing (new tests pass the test-audit authoring gate) No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA) Companion: simstudioai/mothership#902 (the worker raises its schema maximum; merge and release this PR first)

Open Graph Description: Summary Raise the Mothership code-call ceiling (run_code / run_function) from 300 s to 900 s A render or build that needed more than five minutes was cut off at the ceiling and failed. The model t...

X Description: Summary Raise the Mothership code-call ceiling (run_code / run_function) from 300 s to 900 s A render or build that needed more than five minutes was cut off at the ceiling and failed. The model t...

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

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:db7e62c9-71e7-d7e4-c165-b8456ceb9a77
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id891C:2BEB33:3E95B:5B340:6AFB09C8
html-safe-nonce0c8ba6c10a220ebf694861c26965d97cd3f29ec4672ae4189aa6c44f1bb1a5c5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTFDOjJCRUIzMzozRTk1Qjo1QjM0MDo2QUZCMDlDOCIsInZpc2l0b3JfaWQiOiIxMDk2MzAyNDQyODkyMTY3NjI0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac9b03f9c66581a612114a6558585a3bdbde1429eeac5b15574f11fc5c084bd125
hovercard-subject-tagpull_request:5129624373
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/9588/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 Raise the Mothership code-call ceiling (run_code / run_function) from 300 s to 900 s A render or build that needed more than five minutes was cut off at the ceiling and failed. The model t...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None76fb13cb43f1834708971f45a9cfcab5df3177a7582086613d7cdc6e98c4bfde
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
releaseafc998826cdd963c8f91a96ae5372809ab5e296b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/9588/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F9588%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%2F9588%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/9588/files
Reloadhttps://github.com/simstudioai/sim/pull/9588/files
Reloadhttps://github.com/simstudioai/sim/pull/9588/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests198 (198)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
improvement/run-code-long-timeouthttps://github.com/simstudioai/sim/tree/improvement/run-code-long-timeout
Conversation 15 https://github.com/simstudioai/sim/pull/9588
Commits 3 https://github.com/simstudioai/sim/pull/9588/commits
Checks 78 https://github.com/simstudioai/sim/pull/9588/checks
Files changed https://github.com/simstudioai/sim/pull/9588/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9588/files
improvement(mothership): let a code call run for up to fifteen minutes https://github.com/simstudioai/sim/pull/9588/files#top
Show all changes 3 commits https://github.com/simstudioai/sim/pull/9588/files
cfbc3e8 improvement(mothership): let a code call run for up to fifteen minutes waleedlatif1 Nov 3, 2026 https://github.com/simstudioai/sim/pull/9588/commits/cfbc3e8b6d8cf2962ab4d6fec4037a2b2e6506da
c2d0733 fix(mothership): renew a running code call's sandbox CLI scope past i… waleedlatif1 Nov 3, 2026 https://github.com/simstudioai/sim/pull/9588/commits/c2d073348cfaa7c57ee82c8c5965276b0eb59fc6
90ee0e3 fix(mothership): keep a long code call's upload bindings for its whol… waleedlatif1 Nov 3, 2026 https://github.com/simstudioai/sim/pull/9588/commits/90ee0e3aa81527f179cb6e4ab024f9a45bb2cc48
Clear filters https://github.com/simstudioai/sim/pull/9588/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9588/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9588/files
function-execute-session.test.ts https://github.com/simstudioai/sim/pull/9588/files#diff-240e05a4c9e3ae8f3c78e1271ff66f2df6457fe347a1cb281a23f5fcb2e8e7c2
function-execute.ts https://github.com/simstudioai/sim/pull/9588/files#diff-fa78761abb65cfb6be1017873b73a36ea6b20afe26f996788098a262a69fbd6a
sandbox-project-files.ts https://github.com/simstudioai/sim/pull/9588/files#diff-6053d706d7112d60d192ed3ffb71565fbec103d2a9c1eb3c13da29ab950e74a4
sandbox-resources.test.ts https://github.com/simstudioai/sim/pull/9588/files#diff-6a97e743361e741f43bbeb513999ba3c79b2319571e462fe6b50da309009ae1b
sandbox-resources.ts https://github.com/simstudioai/sim/pull/9588/files#diff-f76862ec0c996ade7ae8ae521ce562975e253e07a13731f2b3373f986e179f32
apps/sim/lib/mothership/tools/handlers/function-execute-session.test.tshttps://github.com/simstudioai/sim/pull/9588/files#diff-240e05a4c9e3ae8f3c78e1271ff66f2df6457fe347a1cb281a23f5fcb2e8e7c2
View file https://github.com/simstudioai/sim/blob/90ee0e3aa81527f179cb6e4ab024f9a45bb2cc48/apps/sim/lib/mothership/tools/handlers/function-execute-session.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9588/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9588/files#diff-240e05a4c9e3ae8f3c78e1271ff66f2df6457fe347a1cb281a23f5fcb2e8e7c2
https://github.com/simstudioai/sim/pull/9588/files#diff-240e05a4c9e3ae8f3c78e1271ff66f2df6457fe347a1cb281a23f5fcb2e8e7c2
https://github.com/simstudioai/sim/pull/9588/files#diff-240e05a4c9e3ae8f3c78e1271ff66f2df6457fe347a1cb281a23f5fcb2e8e7c2
https://github.com/simstudioai/sim/pull/9588/files#diff-240e05a4c9e3ae8f3c78e1271ff66f2df6457fe347a1cb281a23f5fcb2e8e7c2
apps/sim/lib/mothership/tools/handlers/function-execute.tshttps://github.com/simstudioai/sim/pull/9588/files#diff-fa78761abb65cfb6be1017873b73a36ea6b20afe26f996788098a262a69fbd6a
View file https://github.com/simstudioai/sim/blob/90ee0e3aa81527f179cb6e4ab024f9a45bb2cc48/apps/sim/lib/mothership/tools/handlers/function-execute.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9588/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9588/files#diff-fa78761abb65cfb6be1017873b73a36ea6b20afe26f996788098a262a69fbd6a
Please reload this pagehttps://github.com/simstudioai/sim/pull/9588/files
https://github.com/simstudioai/sim/pull/9588/files#diff-fa78761abb65cfb6be1017873b73a36ea6b20afe26f996788098a262a69fbd6a
apps/sim/lib/mothership/tools/sandbox-project-files.tshttps://github.com/simstudioai/sim/pull/9588/files#diff-6053d706d7112d60d192ed3ffb71565fbec103d2a9c1eb3c13da29ab950e74a4
View file https://github.com/simstudioai/sim/blob/90ee0e3aa81527f179cb6e4ab024f9a45bb2cc48/apps/sim/lib/mothership/tools/sandbox-project-files.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9588/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9588/files#diff-6053d706d7112d60d192ed3ffb71565fbec103d2a9c1eb3c13da29ab950e74a4
https://github.com/simstudioai/sim/pull/9588/files#diff-6053d706d7112d60d192ed3ffb71565fbec103d2a9c1eb3c13da29ab950e74a4
https://github.com/simstudioai/sim/pull/9588/files#diff-6053d706d7112d60d192ed3ffb71565fbec103d2a9c1eb3c13da29ab950e74a4
https://github.com/simstudioai/sim/pull/9588/files#diff-6053d706d7112d60d192ed3ffb71565fbec103d2a9c1eb3c13da29ab950e74a4
apps/sim/lib/mothership/tools/sandbox-resources.test.tshttps://github.com/simstudioai/sim/pull/9588/files#diff-6a97e743361e741f43bbeb513999ba3c79b2319571e462fe6b50da309009ae1b
View file https://github.com/simstudioai/sim/blob/90ee0e3aa81527f179cb6e4ab024f9a45bb2cc48/apps/sim/lib/mothership/tools/sandbox-resources.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9588/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9588/files#diff-6a97e743361e741f43bbeb513999ba3c79b2319571e462fe6b50da309009ae1b
https://github.com/simstudioai/sim/pull/9588/files#diff-6a97e743361e741f43bbeb513999ba3c79b2319571e462fe6b50da309009ae1b
https://github.com/simstudioai/sim/pull/9588/files#diff-6a97e743361e741f43bbeb513999ba3c79b2319571e462fe6b50da309009ae1b
https://github.com/simstudioai/sim/pull/9588/files#diff-6a97e743361e741f43bbeb513999ba3c79b2319571e462fe6b50da309009ae1b
apps/sim/lib/mothership/tools/sandbox-resources.tshttps://github.com/simstudioai/sim/pull/9588/files#diff-f76862ec0c996ade7ae8ae521ce562975e253e07a13731f2b3373f986e179f32
View file https://github.com/simstudioai/sim/blob/90ee0e3aa81527f179cb6e4ab024f9a45bb2cc48/apps/sim/lib/mothership/tools/sandbox-resources.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9588/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9588/files#diff-f76862ec0c996ade7ae8ae521ce562975e253e07a13731f2b3373f986e179f32
https://github.com/simstudioai/sim/pull/9588/files#diff-f76862ec0c996ade7ae8ae521ce562975e253e07a13731f2b3373f986e179f32
https://github.com/simstudioai/sim/pull/9588/files#diff-f76862ec0c996ade7ae8ae521ce562975e253e07a13731f2b3373f986e179f32
Please reload this pagehttps://github.com/simstudioai/sim/pull/9588/files
https://github.com/simstudioai/sim/pull/9588/files#diff-f76862ec0c996ade7ae8ae521ce562975e253e07a13731f2b3373f986e179f32
Please reload this pagehttps://github.com/simstudioai/sim/pull/9588/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.