René's URL Explorer Experiment


Title: fix: add retry logic for resume race condition with pause persistence by guoyangzhen · Pull Request #3577 · simstudioai/sim · GitHub

Open Graph Title: fix: add retry logic for resume race condition with pause persistence by guoyangzhen · Pull Request #3577 · simstudioai/sim

X Title: fix: add retry logic for resume race condition with pause persistence by guoyangzhen · Pull Request #3577 · simstudioai/sim

Description: Sim is the collaborative workspace to build, deploy, and monitor AI agents and workflows. Used by 100,000+ builders. - fix: add retry logic for resume race condition with pause persistence by guoyangzhen · Pull Request #3577 · simstudioai/sim

Open Graph Description: Problem When a resume API request arrives within milliseconds of a workflow pausing, persistPauseResult's INSERT may not yet be committed, causing enqueueOrStartResume to throw Paused execution...

X Description: Problem When a resume API request arrives within milliseconds of a workflow pausing, persistPauseResult's INSERT may not yet be committed, causing enqueueOrStartResume to throw Paused execu...

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

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:97b15e43-703d-9530-f304-09b234d3341c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC9DA:3988A1:154A63E:1D22D45:6AFB7AE7
html-safe-nonce4e43779db3db0885d5a769deb7847e55a46ea8834b2543de57a6a2f7bd23ba0e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOURBOjM5ODhBMToxNTRBNjNFOjFEMjJENDU6NkFGQjdBRTciLCJ2aXNpdG9yX2lkIjoiNTAzNDkxODgyMzQ4ODg3OTMzNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaccf44043d07c32afad49d105edbf810747f12a77c3c85175f7ac179cdc3c95779
hovercard-subject-tagpull_request:3398971623
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/3577/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/608f89b321dd1ce8a10143f8d528fea30e4ff4171c53271f5ec03ca8ab87fe5c/simstudioai/sim/pull/3577
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/608f89b321dd1ce8a10143f8d528fea30e4ff4171c53271f5ec03ca8ab87fe5c/simstudioai/sim/pull/3577
og:image:altProblem When a resume API request arrives within milliseconds of a workflow pausing, persistPauseResult's INSERT may not yet be committed, causing enqueueOrStartResume to throw Paused execution...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameguoyangzhen
hostnamegithub.com
expected-hostnamegithub.com
Noneef32892d4269fb87b55e81cc4ba8d86e0f16aa28446ffbf46cba8be5179ab188
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
releasebc3703b4dcbe820d1284ef63c88b001c850be25e
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/3577#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F3577
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%2F3577
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/3577
Reloadhttps://github.com/simstudioai/sim/pull/3577
Reloadhttps://github.com/simstudioai/sim/pull/3577
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests202 (202)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
guoyangzhenhttps://github.com/guoyangzhen
simstudioai:mainhttps://github.com/simstudioai/sim/tree/main
guoyangzhen:fix/resume-race-conditionhttps://github.com/guoyangzhen/sim/tree/fix/resume-race-condition
Conversationhttps://github.com/simstudioai/sim/pull/3577
Commits2 (2)https://github.com/simstudioai/sim/pull/3577/commits
Checkshttps://github.com/simstudioai/sim/pull/3577/checks
Files changedhttps://github.com/simstudioai/sim/pull/3577/files
fix: add retry logic for resume race condition with pause persistencehttps://github.com/simstudioai/sim/pull/3577#top
guoyangzhenhttps://github.com/guoyangzhen
simstudioai:mainhttps://github.com/simstudioai/sim/tree/main
guoyangzhen:fix/resume-race-conditionhttps://github.com/guoyangzhen/sim/tree/fix/resume-race-condition
https://github.com/guoyangzhen
guoyangzhenhttps://github.com/guoyangzhen
Mar 14, 2026https://github.com/simstudioai/sim/pull/3577#issue-4075627037
#3081https://github.com/simstudioai/sim/issues/3081
Please reload this pagehttps://github.com/simstudioai/sim/pull/3577
https://github.com/guoyangzhen
fix: add retry for resume race condition (https://github.com/simstudioai/sim/pull/3577/commits/278daf650f980375350858eedcbfd8d309c0ecaa
simstudioai#3081https://github.com/simstudioai/sim/issues/3081
)https://github.com/simstudioai/sim/pull/3577/commits/278daf650f980375350858eedcbfd8d309c0ecaa
278daf6https://github.com/simstudioai/sim/pull/3577/commits/278daf650f980375350858eedcbfd8d309c0ecaa
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Mar 14, 2026https://github.com/simstudioai/sim/pull/3577#issuecomment-4060352346
Please reload this pagehttps://github.com/simstudioai/sim/pull/3577
Cursor Bugbothttps://cursor.com/dashboard?tab=bugbot
d16d7bdhttps://github.com/simstudioai/sim/commit/d16d7bdad53deb0858b476ad2c59e7da8e09e9e8
herehttps://cursor.com/dashboard?tab=bugbot
Please reload this pagehttps://github.com/simstudioai/sim/pull/3577
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Mar 14, 2026https://github.com/simstudioai/sim/pull/3577#issuecomment-4060352347
Please reload this pagehttps://github.com/simstudioai/sim/pull/3577
Vercel for GitHubhttps://vercel.link/github-learn-more
docshttps://vercel.com/sim-studio/docs
https://camo.githubusercontent.com/1bb29feed7826aff3191ae8ff19d3c61e80fc99f9cc9373030210090f890893b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f63616e63656c65642e737667
Skippedhttps://vercel.com/sim-studio/docs/CjHpKdPZxviBVG4E6guNtBeJ1RsT
https://vercel.com/vercel-agent/request-review?owner=simstudioai&repo=sim&pr=3577
Please reload this pagehttps://github.com/simstudioai/sim/pull/3577
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://docs-9sny1c1q2-sim-studio.vercel.app
March 14, 2026 11:43https://github.com/simstudioai/sim/pull/3577#event-23571413026
https://github.com/apps/greptile-apps
greptile-appshttps://github.com/apps/greptile-apps
Mar 14, 2026https://github.com/simstudioai/sim/pull/3577#issuecomment-4060361120
278daf6https://github.com/simstudioai/sim/commit/278daf650f980375350858eedcbfd8d309c0ecaa
Please reload this pagehttps://github.com/simstudioai/sim/pull/3577
https://github.com/apps/greptile-apps
greptile-appshttps://github.com/apps/greptile-apps
Mar 14, 2026 https://github.com/simstudioai/sim/pull/3577#pullrequestreview-3948736290
View reviewed changes https://github.com/simstudioai/sim/pull/3577/files/278daf650f980375350858eedcbfd8d309c0ecaa
apps/sim/lib/workflows/executor/human-in-the-loop-manager.tshttps://github.com/simstudioai/sim/pull/3577/files/278daf650f980375350858eedcbfd8d309c0ecaa#diff-bb1129b15dc9783d16371ddc2f8992d36e41c60787a458e77e1c59a7e721d292
greptile-appshttps://github.com/apps/greptile-apps
Mar 14, 2026https://github.com/simstudioai/sim/pull/3577#discussion_r2935185519
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/simstudioai/sim/pull/3577
apps/sim/lib/workflows/executor/human-in-the-loop-manager.tshttps://github.com/simstudioai/sim/pull/3577/files/278daf650f980375350858eedcbfd8d309c0ecaa#diff-bb1129b15dc9783d16371ddc2f8992d36e41c60787a458e77e1c59a7e721d292
greptile-appshttps://github.com/apps/greptile-apps
Mar 14, 2026https://github.com/simstudioai/sim/pull/3577#discussion_r2935185566
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/simstudioai/sim/pull/3577
https://github.com/guoyangzhen
fix: correct off-by-one in retry attempts (addressing review feedback)https://github.com/simstudioai/sim/pull/3577/commits/d16d7bdad53deb0858b476ad2c59e7da8e09e9e8
d16d7bdhttps://github.com/simstudioai/sim/pull/3577/commits/d16d7bdad53deb0858b476ad2c59e7da8e09e9e8
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://docs-q81dkhcbu-sim-studio.vercel.app
March 14, 2026 13:02https://github.com/simstudioai/sim/pull/3577#event-23572219709
Deployedhttps://docs-q81dkhcbu-sim-studio.vercel.app
vercel[bot]https://github.com/apps/vercel
View deployment https://docs-q81dkhcbu-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%2F3577
https://github.com/apps/greptile-apps
greptile-apps[bot] https://github.com/apps/greptile-apps
https://github.com/simstudioai/sim/pull/3577/files/278daf650f980375350858eedcbfd8d309c0ecaa
Please reload this pagehttps://github.com/simstudioai/sim/pull/3577
[BUG] Race Condition: Resume request fails with "Paused execution not found" during pause persistence https://github.com/simstudioai/sim/issues/3081
Please reload this pagehttps://github.com/simstudioai/sim/pull/3577
https://github.com/guoyangzhen
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.