René's URL Explorer Experiment


Title: fix(execution): make function runs rollout-safe by icecrasher321 · Pull Request #7143 · simstudioai/sim · GitHub

Open Graph Title: fix(execution): make function runs rollout-safe by icecrasher321 · Pull Request #7143 · simstudioai/sim

X Title: fix(execution): make function runs rollout-safe by icecrasher321 · Pull Request #7143 · simstudioai/sim

Description: Summary execute trusted Function tools directly in the workflow owner while retaining the compatibility adapter for rolling deployments reconnect E2B and Daytona by stable process identity and make ambiguous launches non-retryable make manual execution observers detachable with Redis push replay, refresh-safe active block state, and no polling fallback extend the existing unit and provider conformance coverage for execution, reconnect, cancellation, and refresh behavior Runtime behavior no long Sim-to-Sim Function HTTP request for new executors browser SSE is an observer and page refresh rehydrates active pulses and terminal events external sandbox commands are launched once, then observed or reconnected by exact provider identity Trigger.dev executions use the same direct Function path inside their existing task owner the legacy Function route remains temporarily so old-blue tasks can call new-green during this rollout Testing bun run type-check (26/26) bun run check:audits (33/33) targeted rollout and provider suites (319 passed) real Redis and isolated-vm lifecycle validation, including observer refresh and cancellation live E2B execution validation live Daytona parity: 7 passed, 0 failed, 3 optional fixture skips live Daytona execution validation Sim app suite: 34,705 passed; 16 loopback tests rerun outside the restricted sandbox and passed The standalone ad hoc rollout harness used for live validation is intentionally not included in this PR.

Open Graph Description: Summary execute trusted Function tools directly in the workflow owner while retaining the compatibility adapter for rolling deployments reconnect E2B and Daytona by stable process identity and mak...

X Description: Summary execute trusted Function tools directly in the workflow owner while retaining the compatibility adapter for rolling deployments reconnect E2B and Daytona by stable process identity and mak...

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

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:231f3505-15d6-cede-a498-9c155abac82e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA0F4:7A20D:3FE6C:5A344:6AFB278B
html-safe-nonce3373e497fd148e7686912a39e852492ff06d2e0e06ad415f760474d101b4f6ce
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMEY0OjdBMjBEOjNGRTZDOjVBMzQ0OjZBRkIyNzhCIiwidmlzaXRvcl9pZCI6IjMyNTczNTE0MDQ3Njc5MDY2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb1fd18bc2a4d2fd2e4e02026194fad127074e33802aa680d77df8fec605dd4b6
hovercard-subject-tagpull_request:4371792081
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/7143/files
twitter:imagehttps://avatars.githubusercontent.com/u/17950982?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/17950982?s=400&v=4
og:image:altSummary execute trusted Function tools directly in the workflow owner while retaining the compatibility adapter for rolling deployments reconnect E2B and Daytona by stable process identity and mak...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None40c7ffe00e8bbb3ca8403c83d7ef110379c9eba2cbc7a7c333b037ffd940d4e4
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
releasef494d77c37809e03e18d49c6e9945c57e0b64070
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/7143/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7143%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%2F7143%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/7143/files
Reloadhttps://github.com/simstudioai/sim/pull/7143/files
Reloadhttps://github.com/simstudioai/sim/pull/7143/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
icecrasher321https://github.com/icecrasher321
staginghttps://github.com/simstudioai/sim/tree/staging
codex/rollout-safe-function-executionhttps://github.com/simstudioai/sim/tree/codex/rollout-safe-function-execution
Conversation 111 https://github.com/simstudioai/sim/pull/7143
Commits 1 https://github.com/simstudioai/sim/pull/7143/commits
Checks 30 https://github.com/simstudioai/sim/pull/7143/checks
Files changed https://github.com/simstudioai/sim/pull/7143/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7143/files
fix(execution): make function runs rollout-safe https://github.com/simstudioai/sim/pull/7143/files#top
Show all changes 1 commit https://github.com/simstudioai/sim/pull/7143/files
4016d8e fix(execution): make function runs rollout-safe Aug 27, 2026 https://github.com/simstudioai/sim/pull/7143/commits/4016d8e611583a5748263a3184de23b6ff12128c
Clear filters https://github.com/simstudioai/sim/pull/7143/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7143/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7143/files
route.ts https://github.com/simstudioai/sim/pull/7143/files#diff-762b0d8ac105bc844da177196841c4b2e5397c33d3d42ea784529798a528f1ac
route.async.test.ts https://github.com/simstudioai/sim/pull/7143/files#diff-4fdd9c4e95852b855ff84d9c22a98a20cd5d8bcba347038993756118cd80e9f5
route.ts https://github.com/simstudioai/sim/pull/7143/files#diff-66f204feb589208a932d4b6c514237d545b8f1e9746092bbc35345f49570a9be
route.test.ts https://github.com/simstudioai/sim/pull/7143/files#diff-8350821470c98c66e60f2e1e0c797dc56ddd4f23b2b94234b24af3bb40b115b0
route.ts https://github.com/simstudioai/sim/pull/7143/files#diff-1c3863e776a156c97a882a927fd26a057f55a1079f8cd23464e7893cccb77b20
use-workflow-execution.ts https://github.com/simstudioai/sim/pull/7143/files#diff-26a2ffd51d627fc3dadc9abff80196d5f5f7421369413728dbcfe6f72c46e4e6
block-retry.ts https://github.com/simstudioai/sim/pull/7143/files#diff-6540d9b822d150e93248f96e3965f357f76aa838598a3fd8784c02baa45cc378
engine.test.ts https://github.com/simstudioai/sim/pull/7143/files#diff-8a7dc7d2027ef09942b6480f995b1175f4f22ecbd015133850cb9f2dbc3df51e
engine.ts https://github.com/simstudioai/sim/pull/7143/files#diff-8fc33da0f336e4f8e9c4cef6bdcb2297ffb3bc693d739245b28cde225130de22
condition-handler.test.ts https://github.com/simstudioai/sim/pull/7143/files#diff-064a4bb886fba11b872087b9ced2f91da3c38abcf15f14af2c7d557c2b1db882
condition-handler.ts https://github.com/simstudioai/sim/pull/7143/files#diff-59b85c48f9cbcee6cddb93179ee9a261f9174a720f75ec87c584be23f1459ab5
function-handler.ts https://github.com/simstudioai/sim/pull/7143/files#diff-755444756f7b022028899aa446932926b1d04fd4bfd6991ce7a0c27256819036
mothership-handler.test.ts https://github.com/simstudioai/sim/pull/7143/files#diff-b7fe0aaf1232d21318e35e5e3238d117e8b3cd933e4847c53c971d8f95dd9a2d
mothership-handler.ts https://github.com/simstudioai/sim/pull/7143/files#diff-0c0fa2640a3395ed8c97619e04dd8a78c583227a4ac06bc5a0a387ab377bf470
backend.test.ts https://github.com/simstudioai/sim/pull/7143/files#diff-967eb237ae293285b2c57d171b3a63bf27b48d7cd1554dc5cda32c8918a10c06
backend.ts https://github.com/simstudioai/sim/pull/7143/files#diff-d2938125bcc9bcf8be54777e46413a1f68fce9ea6815bad08bd96edf2eb461d0
hotspots.test.ts https://github.com/simstudioai/sim/pull/7143/files#diff-765cb1b61ed441da103abf89f8bf33137b7f7641366d6efb373e8f3fabd0a7bc
hotspots.ts https://github.com/simstudioai/sim/pull/7143/files#diff-608c9a95dde588b3ab7ef06719113e93dc868d685cc07b58173e207377f3f62a
cancellation.test.ts https://github.com/simstudioai/sim/pull/7143/files#diff-925b2906fb0e82adea49152069c331d982adcb56fd5f5f05a56dee5fb91648cb
cancellation.ts https://github.com/simstudioai/sim/pull/7143/files#diff-9ecf6712715bd985d8bab22d6b5bb4bf8530163f11e12a2f240a32916a19ff63
event-buffer.test.ts https://github.com/simstudioai/sim/pull/7143/files#diff-96e6a19189fb5b803c6648633ad07c7f9cc7cc68f3926fbbd46bc4bc20b9f9da
event-buffer.ts https://github.com/simstudioai/sim/pull/7143/files#diff-7d7525d18ecf7583efaa0d408ec6beace469e423fbbf40183f61673a4f0fc802
execution-signal.test.ts https://github.com/simstudioai/sim/pull/7143/files#diff-63ae037a003727a473fc942222801aa64073e5f7491c83517b186e0e9c14bc71
execution-signal.ts https://github.com/simstudioai/sim/pull/7143/files#diff-a276c3f27ce352f686780c4f2d2f75170e2b97cddf8e69ec1fc6a86d7cdf0775
isolated-vm.test.ts https://github.com/simstudioai/sim/pull/7143/files#diff-cca5d4229bd1b25b51748fd0146db9d71a2715d1548afc28ef1de5cb2040e52c
isolated-vm.ts https://github.com/simstudioai/sim/pull/7143/files#diff-5fe160ac7ca1719ee4f36cffcac0c31ca50b0ef42c7f62223414e56ee9aa2626
non-retryable-error.ts https://github.com/simstudioai/sim/pull/7143/files#diff-461562ef3cfd9bb1d4eb44e11d8430a4c42dfa8ced0aeda6bdc56cb391a0ded3
conformance.test.ts https://github.com/simstudioai/sim/pull/7143/files#diff-0e1ab8b63cac6249e7566a904ade332dbaef7ee062e7514c4b7e1676ab5f4309
daytona.ts https://github.com/simstudioai/sim/pull/7143/files#diff-56142fe65b08017454186ef7ce930eb153afa80043128fec4ee008fad39f68a7
e2b.ts https://github.com/simstudioai/sim/pull/7143/files#diff-f54663c69a136b10f426311853c9d3c7b9f328f0b85719ae7c23c0dd7030721d
index.ts https://github.com/simstudioai/sim/pull/7143/files#diff-45bb4d66958fbda0e750b34264c092e3ed4f472e7bff507cee5875a58b2d3ef4
resolve.test.ts https://github.com/simstudioai/sim/pull/7143/files#diff-d15b4c57d921b6a1f14737f4aa54f34da66a4dd01a96928cee2c4c1827fd5c13
resolve.ts https://github.com/simstudioai/sim/pull/7143/files#diff-16100e80ac35103e318251abfd3a52ab408a1304bcdfc9a53222406dbd72f708
types.ts https://github.com/simstudioai/sim/pull/7143/files#diff-a956fe3fea088fe237d431cb20fe73201f4c5feb647827ce7021cc35a4eda2d8
authorization.ts https://github.com/simstudioai/sim/pull/7143/files#diff-9b72fa888e9fcab1ea92f63c10de45c1a5729a2a404c8f127a7ea2b02670f296
execute-function.ts https://github.com/simstudioai/sim/pull/7143/files#diff-577c2f946ec1a54b5c47b54e3b6e49794043c8ba4d0d1279aa2e95550bd169fe
operations.ts https://github.com/simstudioai/sim/pull/7143/files#diff-56a410649b94043cbdd2e7e1fad3824278048315c3582adde808f50eb7242d73
execute-request.ts https://github.com/simstudioai/sim/pull/7143/files#diff-38056af842408172c28abfc0e5b5d12577866d15bcf372314c84029d74df012a
child-execution.test.ts https://github.com/simstudioai/sim/pull/7143/files#diff-400234a1693775d3e0e6e7c1b56caca7baf016e1875d4be6f6d85ea32cd45303
child-execution.ts https://github.com/simstudioai/sim/pull/7143/files#diff-1b44de8251f333f4ed92e5b75dfacb71313b97a0a81dcea9507c150e847a7645
execution-events.ts https://github.com/simstudioai/sim/pull/7143/files#diff-8f165b95e5278d98c27f5777c4173efe2bfbbf1df9b76de333a94de1d9c998ce
human-in-the-loop-manager.ts https://github.com/simstudioai/sim/pull/7143/files#diff-bb1129b15dc9783d16371ddc2f8992d36e41c60787a458e77e1c59a7e721d292
execute.ts https://github.com/simstudioai/sim/pull/7143/files#diff-cfff5204932f6e9e023a69b6c7096a79847e090759106415f5073d3032f4e737
index.test.ts https://github.com/simstudioai/sim/pull/7143/files#diff-9ba0f7033f9247e496b4f9e0f46183a13c79b1bb48d721ba4bf042bdd08e4dd0
index.ts https://github.com/simstudioai/sim/pull/7143/files#diff-47ae0066fea628681d98d136239929a240a55aaf3d99ef293c83b3eca7e197c1
types.ts https://github.com/simstudioai/sim/pull/7143/files#diff-183540ce4359174673a854639c5032c16e740cb4951781bf2591b50f1cb68fac
trigger.config.ts https://github.com/simstudioai/sim/pull/7143/files#diff-3e89ed60c3946e67cfc357495159a4bf5e261ea848b2fa28ddb351aa9e7a877c
apps/sim/app/api/function/execute/route.tshttps://github.com/simstudioai/sim/pull/7143/files#diff-762b0d8ac105bc844da177196841c4b2e5397c33d3d42ea784529798a528f1ac
View file https://github.com/simstudioai/sim/blob/4016d8e611583a5748263a3184de23b6ff12128c/apps/sim/app/api/function/execute/route.ts
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/simstudioai/sim/pull/7143/files
apps/sim/app/api/workflows/[id]/execute/route.async.test.tshttps://github.com/simstudioai/sim/pull/7143/files#diff-4fdd9c4e95852b855ff84d9c22a98a20cd5d8bcba347038993756118cd80e9f5
View file https://github.com/simstudioai/sim/blob/4016d8e611583a5748263a3184de23b6ff12128c/apps/sim/app/api/workflows/%5Bid%5D/execute/route.async.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7143/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7143/files#diff-4fdd9c4e95852b855ff84d9c22a98a20cd5d8bcba347038993756118cd80e9f5
https://github.com/simstudioai/sim/pull/7143/files#diff-4fdd9c4e95852b855ff84d9c22a98a20cd5d8bcba347038993756118cd80e9f5
https://github.com/simstudioai/sim/pull/7143/files#diff-4fdd9c4e95852b855ff84d9c22a98a20cd5d8bcba347038993756118cd80e9f5
https://github.com/simstudioai/sim/pull/7143/files#diff-4fdd9c4e95852b855ff84d9c22a98a20cd5d8bcba347038993756118cd80e9f5
https://github.com/simstudioai/sim/pull/7143/files#diff-4fdd9c4e95852b855ff84d9c22a98a20cd5d8bcba347038993756118cd80e9f5
https://github.com/simstudioai/sim/pull/7143/files#diff-4fdd9c4e95852b855ff84d9c22a98a20cd5d8bcba347038993756118cd80e9f5
https://github.com/simstudioai/sim/pull/7143/files#diff-4fdd9c4e95852b855ff84d9c22a98a20cd5d8bcba347038993756118cd80e9f5
https://github.com/simstudioai/sim/pull/7143/files#diff-4fdd9c4e95852b855ff84d9c22a98a20cd5d8bcba347038993756118cd80e9f5
https://github.com/simstudioai/sim/pull/7143/files#diff-4fdd9c4e95852b855ff84d9c22a98a20cd5d8bcba347038993756118cd80e9f5
https://github.com/simstudioai/sim/pull/7143/files#diff-4fdd9c4e95852b855ff84d9c22a98a20cd5d8bcba347038993756118cd80e9f5
Please reload this pagehttps://github.com/simstudioai/sim/pull/7143/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7143/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.