René's URL Explorer Experiment


Title: perf(sandbox): grant the run_code session lease in the reconnect instead of extra E2B round trips by waleedlatif1 · Pull Request #8621 · simstudioai/sim · GitHub

Open Graph Title: perf(sandbox): grant the run_code session lease in the reconnect instead of extra E2B round trips by waleedlatif1 · Pull Request #8621 · simstudioai/sim

X Title: perf(sandbox): grant the run_code session lease in the reconnect instead of extra E2B round trips by waleedlatif1 · Pull Request #8621 · simstudioai/sim

Description: Sim is the collaborative workspace to build, deploy, and monitor AI agents and workflows. Used by 100,000+ builders. - perf(sandbox): grant the run_code session lease in the reconnect instead of extra E2B round trips by waleedlatif1 · Pull Request #8621 · simstudioai/sim

Open Graph Description: Summary Mothership run_code on a reused chat workbench makes 5 E2B control-plane requests per call: list and connect; then getInfo + setTimeout to extend the lease; then another getInfo on release...

X Description: Summary Mothership run_code on a reused chat workbench makes 5 E2B control-plane requests per call: list and connect; then getInfo + setTimeout to extend the lease; then another getInfo on release...

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

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/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:52c40fb9-b4c8-ee82-f7ec-7934379a3353
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBA96:3491F9:A92494:E88A31:6AFB4F03
html-safe-nonce4889db2cc5ba329087e839a35f2bac88b5b2a4a7cc4eb80b813b16b5e2916629
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTk2OjM0OTFGOTpBOTI0OTQ6RTg4QTMxOjZBRkI0RjAzIiwidmlzaXRvcl9pZCI6IjQ2MjIwNTUzMTI1MjAzMzUxMDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac5121f21fa0dc699187098aec46cc50a3d3baf08e95276cb8753852cbe2a3c441
hovercard-subject-tagpull_request:4743236717
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/simstudioai/sim/8621/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/67a13041669d4ac8df2f7af13c22224fcbba68361957e69f4d65fb51339e68f3/simstudioai/sim/pull/8621
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/67a13041669d4ac8df2f7af13c22224fcbba68361957e69f4d65fb51339e68f3/simstudioai/sim/pull/8621
og:image:altSummary Mothership run_code on a reused chat workbench makes 5 E2B control-plane requests per call: list and connect; then getInfo + setTimeout to extend the lease; then another getInfo on release...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewaleedlatif1
hostnamegithub.com
expected-hostnamegithub.com
Noneacf7616d06cc051644705b379878c9bb13dc5e70ecf4ffd9b34140f8ac01d7e1
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release26504db649b58525278f77a52b80ba5f10d5f4de
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/8621#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8621
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%2F8621
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/8621
Reloadhttps://github.com/simstudioai/sim/pull/8621
Reloadhttps://github.com/simstudioai/sim/pull/8621
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
https://github.com/simstudioai/sim
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
perf/run-code-overheadhttps://github.com/simstudioai/sim/tree/perf/run-code-overhead
Conversationhttps://github.com/simstudioai/sim/pull/8621
Commits2 (2)https://github.com/simstudioai/sim/pull/8621/commits
Checkshttps://github.com/simstudioai/sim/pull/8621/checks
Files changedhttps://github.com/simstudioai/sim/pull/8621/files
perf(sandbox): grant the run_code session lease in the reconnect instead of extra E2B round tripshttps://github.com/simstudioai/sim/pull/8621#top
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
perf/run-code-overheadhttps://github.com/simstudioai/sim/tree/perf/run-code-overhead
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
Oct 5, 2026https://github.com/simstudioai/sim/pull/8621#issue-5710058118
Please reload this pagehttps://github.com/simstudioai/sim/pull/8621
https://github.com/waleedlatif1
perf(sandbox): grant the run_code session lease in the reconnect inst…https://github.com/simstudioai/sim/pull/8621/commits/7e8a23be51090925968a8959a9740334720c9300
7e8a23bhttps://github.com/simstudioai/sim/pull/8621/commits/7e8a23be51090925968a8959a9740334720c9300
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
Oct 5, 2026https://github.com/simstudioai/sim/pull/8621#issuecomment-5992276392
@greptilehttps://github.com/greptile
Please reload this pagehttps://github.com/simstudioai/sim/pull/8621
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
Oct 5, 2026https://github.com/simstudioai/sim/pull/8621#issuecomment-5992276779
@cubic-dev-aihttps://github.com/cubic-dev-ai
Please reload this pagehttps://github.com/simstudioai/sim/pull/8621
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Oct 5, 2026https://github.com/simstudioai/sim/pull/8621#issuecomment-5992276934
Please reload this pagehttps://github.com/simstudioai/sim/pull/8621
Vercel for GitHubhttps://vercel.link/github-learn-more
https://vercel.com/sim-studio/docs
docshttps://vercel.com/sim-studio/docs
https://camo.githubusercontent.com/1bb29feed7826aff3191ae8ff19d3c61e80fc99f9cc9373030210090f890893b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f63616e63656c65642e737667
Skippedhttps://vercel.com/sim-studio/docs/9ZHfxFhiNtUfkxSLHA4G1x6aVTDu
https://vercel.com/vercel-agent/request-review?owner=simstudioai&repo=sim&pr=8621
Please reload this pagehttps://github.com/simstudioai/sim/pull/8621
https://github.com/apps/cubic-dev-ai
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Oct 5, 2026https://github.com/simstudioai/sim/pull/8621#issuecomment-5992278039
@cubic-dev-aihttps://github.com/cubic-dev-ai
@waleedlatif1https://github.com/waleedlatif1
Please reload this pagehttps://github.com/simstudioai/sim/pull/8621
https://github.com/apps/cubic-dev-ai
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Oct 5, 2026 https://github.com/simstudioai/sim/pull/8621#pullrequestreview-5412877254
View reviewed changes https://github.com/simstudioai/sim/pull/8621/files/7e8a23be51090925968a8959a9740334720c9300
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
https://github.com/simstudioai/sim/pull/8621#pullrequestreview-5412877254
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Re-trigger cubichttps://www.cubic.dev/action/re-review/pr/simstudioai/sim/8621/ai_pr_review_github_delivery_1d8f8f7b046bc3df16b45f1e4ea00a31b4141831e3348f37beaeb5e10b60e5eb?returnTo=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8621
Please reload this pagehttps://github.com/simstudioai/sim/pull/8621
https://github.com/apps/cubic-dev-ai
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Oct 5, 2026 https://github.com/simstudioai/sim/pull/8621#pullrequestreview-5412882507
View reviewed changes https://github.com/simstudioai/sim/pull/8621/files/7e8a23be51090925968a8959a9740334720c9300
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
https://github.com/simstudioai/sim/pull/8621#pullrequestreview-5412882507
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Re-trigger cubichttps://www.cubic.dev/action/re-review/pr/simstudioai/sim/8621/ai_pr_review_1791194607497_2ab56e60-2bb1-4f35-962e-3b7b2f927a94?returnTo=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8621
Please reload this pagehttps://github.com/simstudioai/sim/pull/8621
https://github.com/apps/greptile-apps
greptile-appshttps://github.com/apps/greptile-apps
Oct 5, 2026https://github.com/simstudioai/sim/pull/8621#issuecomment-5992325651
Please reload this pagehttps://github.com/simstudioai/sim/pull/8621
https://app.greptile.com/api/retrigger?id=74740249
"test(sandbox): model connect as setting ..."https://github.com/simstudioai/sim/commit/3f5710c8cc061a440e8375cb81f889858c66ad82
Please reload this pagehttps://github.com/simstudioai/sim/pull/8621
https://github.com/apps/greptile-apps
greptile-appshttps://github.com/apps/greptile-apps
Oct 5, 2026 https://github.com/simstudioai/sim/pull/8621#pullrequestreview-5412885340
View reviewed changes https://github.com/simstudioai/sim/pull/8621/files/7e8a23be51090925968a8959a9740334720c9300
apps/sim/lib/execution/remote-sandbox/e2b-session.test.tshttps://github.com/simstudioai/sim/pull/8621/files/7e8a23be51090925968a8959a9740334720c9300#diff-3b81819062f839724f7a7e7103433cc0e7947cb627037cc397bdd9f44a90e015
Please reload this pagehttps://github.com/simstudioai/sim/pull/8621
https://github.com/waleedlatif1
test(sandbox): model connect as setting the deadline so a dropped pre…https://github.com/simstudioai/sim/pull/8621/commits/3f5710c8cc061a440e8375cb81f889858c66ad82
3f5710chttps://github.com/simstudioai/sim/pull/8621/commits/3f5710c8cc061a440e8375cb81f889858c66ad82
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://docs-2oocwp6tj-sim-studio.vercel.app
October 5, 2026 10:09https://github.com/simstudioai/sim/pull/8621#event-32497495363
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
Oct 5, 2026https://github.com/simstudioai/sim/pull/8621#issuecomment-5992373207
@greptilehttps://github.com/greptile
Please reload this pagehttps://github.com/simstudioai/sim/pull/8621
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
Oct 5, 2026https://github.com/simstudioai/sim/pull/8621#issuecomment-5992373579
@cubic-dev-aihttps://github.com/cubic-dev-ai
Please reload this pagehttps://github.com/simstudioai/sim/pull/8621
https://github.com/apps/cubic-dev-ai
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Oct 5, 2026https://github.com/simstudioai/sim/pull/8621#issuecomment-5992375137
@cubic-dev-aihttps://github.com/cubic-dev-ai
@waleedlatif1https://github.com/waleedlatif1
Please reload this pagehttps://github.com/simstudioai/sim/pull/8621
https://github.com/apps/cubic-dev-ai
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Oct 5, 2026 https://github.com/simstudioai/sim/pull/8621#pullrequestreview-5412928549
View reviewed changes https://github.com/simstudioai/sim/pull/8621/files/3f5710c8cc061a440e8375cb81f889858c66ad82
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
https://github.com/simstudioai/sim/pull/8621#pullrequestreview-5412928549
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Re-trigger cubichttps://www.cubic.dev/action/re-review/pr/simstudioai/sim/8621/ai_pr_review_1791194992033_b8827e27-8da5-4cf8-a6b9-cfd60095f571?returnTo=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8621
Please reload this pagehttps://github.com/simstudioai/sim/pull/8621
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
Oct 5, 2026https://github.com/simstudioai/sim/pull/8621#issuecomment-5993728218
Please reload this pagehttps://github.com/simstudioai/sim/pull/8621
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
733f4e9https://github.com/simstudioai/sim/commit/733f4e9ad054797b7cd6d3c94b747a403073238d
Oct 5, 2026https://github.com/simstudioai/sim/pull/8621#event-32503941243
Please reload this pagehttps://github.com/simstudioai/sim/pull/8621
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
October 5, 2026 16:15https://github.com/simstudioai/sim/pull/8621#event-32526039125
v0.9.15: performance improvements, cli run until, memory fixes, xhigh thinking #8654 https://github.com/simstudioai/sim/pull/8654
fix(sandbox): judge session lease coverage from the request's own clock reading #8665 https://github.com/simstudioai/sim/pull/8665
Deployedhttps://docs-2oocwp6tj-sim-studio.vercel.app
vercel[bot]https://github.com/apps/vercel
View deployment https://docs-2oocwp6tj-sim-studio.vercel.app
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8621
https://github.com/apps/greptile-apps
greptile-apps[bot] https://github.com/apps/greptile-apps
https://github.com/simstudioai/sim/pull/8621/files/7e8a23be51090925968a8959a9740334720c9300
https://github.com/apps/cubic-dev-ai
cubic-dev-ai[bot] https://github.com/apps/cubic-dev-ai
https://github.com/simstudioai/sim/pull/8621/files/3f5710c8cc061a440e8375cb81f889858c66ad82
Please reload this pagehttps://github.com/simstudioai/sim/pull/8621
Please reload this pagehttps://github.com/simstudioai/sim/pull/8621
https://github.com/waleedlatif1
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.