René's URL Explorer Experiment


Title: fix(async-jobs): retain accepted run IDs for immediate lookup by icecrasher321 · Pull Request #8490 · simstudioai/sim · GitHub

Open Graph Title: fix(async-jobs): retain accepted run IDs for immediate lookup by icecrasher321 · Pull Request #8490 · simstudioai/sim

X Title: fix(async-jobs): retain accepted run IDs for immediate lookup by icecrasher321 · Pull Request #8490 · simstudioai/sim

Description: Summary Persist the accepted Trigger run ID before a keyed enqueue returns, so immediate workflow polling can resolve the run before Trigger's tag index catches up. Reuse the existing idempotency result table and retain tag lookup for older jobs. Cancel the known root run after verifying its workflow, execution, task type, and active status. Treat receipt-write failures as ambiguous acceptance so callers retain their claim and retry safely. Type of Change Bug fix Testing 142 focused queue, cancellation, and execution tests passed; 116 queue/cancellation tests rerun after rebasing onto latest staging. Five real-PostgreSQL regressions passed with bun run test:integration trigger-dev.integration.ts; report: apps/sim/test-results/integration.json. The original code failed immediate lookup and cancellation. Removing each binding, scope, active-status, and deduplication guard also failed its regression. App type-check, repository lint, all 52 CI audits (including API validation), staging-base block registry checks, and generated artifact checks passed. 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)

Open Graph Description: Summary Persist the accepted Trigger run ID before a keyed enqueue returns, so immediate workflow polling can resolve the run before Trigger's tag index catches up. Reuse the existing idempote...

X Description: Summary Persist the accepted Trigger run ID before a keyed enqueue returns, so immediate workflow polling can resolve the run before Trigger's tag index catches up. Reuse the existing idem...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:76f21b6c-3122-b439-ac99-458b78f3755e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCB56:3C616D:3BBDD1:5299E9:6AFB999A
html-safe-nonce6d7c8433e3fb79eb11333df04ca382ffc6e878b836e42e9ac234d0d27598b37b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjU2OjNDNjE2RDozQkJERDE6NTI5OUU5OjZBRkI5OTlBIiwidmlzaXRvcl9pZCI6IjgwMDc2ODM1MzgzODE2NzQ5MDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacadbd8ae7bee8ceb1524d427d7eab885682e404800425db4697504ba908e9d8a8
hovercard-subject-tagpull_request:4697257271
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/8490/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 Persist the accepted Trigger run ID before a keyed enqueue returns, so immediate workflow polling can resolve the run before Trigger's tag index catches up. Reuse the existing idempote...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None3cefd19a936819d82cfb5279d50fb56fe79cb9ec30f0f807e04e89b0c58ffae1
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
release606800bdb1b81d125fc845bdcc262c9fe063fc8f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/8490/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8490%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%2F8490%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/8490/files
Reloadhttps://github.com/simstudioai/sim/pull/8490/files
Reloadhttps://github.com/simstudioai/sim/pull/8490/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests199 (199)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/async-run-visibilityhttps://github.com/simstudioai/sim/tree/codex/async-run-visibility
Conversation 12 https://github.com/simstudioai/sim/pull/8490
Commits 2 https://github.com/simstudioai/sim/pull/8490/commits
Checks 31 https://github.com/simstudioai/sim/pull/8490/checks
Files changed https://github.com/simstudioai/sim/pull/8490/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/8490/files
fix(async-jobs): retain accepted run IDs for immediate lookup https://github.com/simstudioai/sim/pull/8490/files#top
Show all changes 2 commits https://github.com/simstudioai/sim/pull/8490/files
ab1c14e fix(async-jobs): retain accepted run IDs for immediate lookup Sep 30, 2026 https://github.com/simstudioai/sim/pull/8490/commits/ab1c14ee4a903e01f86bae284a9c2219e1f64785
3c737a5 fix(async-jobs): finish cancellation scans after root errors Sep 30, 2026 https://github.com/simstudioai/sim/pull/8490/commits/3c737a501da73c0ccf40219a5f774c260599714f
Clear filters https://github.com/simstudioai/sim/pull/8490/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/8490/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/8490/files
trigger-dev.integration.ts https://github.com/simstudioai/sim/pull/8490/files#diff-b1b4318979c4d5e7403de2a5bb923b301aaa400b903046476e1b74f2ed3f87db
trigger-dev.test.ts https://github.com/simstudioai/sim/pull/8490/files#diff-b5bf5f0ed76ee983bd85f4bb53a0f92b294c79cff64e593184a39672b320464e
trigger-dev.ts https://github.com/simstudioai/sim/pull/8490/files#diff-b958b57cdd2a5f9c4810a9ab7f23f04197dc6bf85c187708611c43de2293676a
types.ts https://github.com/simstudioai/sim/pull/8490/files#diff-464f570b2f7f239bee176e78456417aaf2418ea40aa7ca13f1a2a31b837d56f4
cancel-workflow-execution.test.ts https://github.com/simstudioai/sim/pull/8490/files#diff-a71da39fdb4d6534f028dd1f0532f7ccc75908fa235903ff769ab3b9920548d2
cancel-workflow-execution.ts https://github.com/simstudioai/sim/pull/8490/files#diff-9d9920803ab82adaed6a74e928462a1f717dca01c69da3757d211c0cdb215637
apps/sim/lib/core/async-jobs/backends/trigger-dev.integration.tshttps://github.com/simstudioai/sim/pull/8490/files#diff-b1b4318979c4d5e7403de2a5bb923b301aaa400b903046476e1b74f2ed3f87db
View file https://github.com/simstudioai/sim/blob/3c737a501da73c0ccf40219a5f774c260599714f/apps/sim/lib/core/async-jobs/backends/trigger-dev.integration.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8490/{{ revealButtonHref }}
Please reload this pagehttps://github.com/simstudioai/sim/pull/8490/files
apps/sim/lib/core/async-jobs/backends/trigger-dev.test.tshttps://github.com/simstudioai/sim/pull/8490/files#diff-b5bf5f0ed76ee983bd85f4bb53a0f92b294c79cff64e593184a39672b320464e
View file https://github.com/simstudioai/sim/blob/3c737a501da73c0ccf40219a5f774c260599714f/apps/sim/lib/core/async-jobs/backends/trigger-dev.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8490/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8490/files#diff-b5bf5f0ed76ee983bd85f4bb53a0f92b294c79cff64e593184a39672b320464e
https://github.com/simstudioai/sim/pull/8490/files#diff-b5bf5f0ed76ee983bd85f4bb53a0f92b294c79cff64e593184a39672b320464e
https://github.com/simstudioai/sim/pull/8490/files#diff-b5bf5f0ed76ee983bd85f4bb53a0f92b294c79cff64e593184a39672b320464e
https://github.com/simstudioai/sim/pull/8490/files#diff-b5bf5f0ed76ee983bd85f4bb53a0f92b294c79cff64e593184a39672b320464e
https://github.com/simstudioai/sim/pull/8490/files#diff-b5bf5f0ed76ee983bd85f4bb53a0f92b294c79cff64e593184a39672b320464e
https://github.com/simstudioai/sim/pull/8490/files#diff-b5bf5f0ed76ee983bd85f4bb53a0f92b294c79cff64e593184a39672b320464e
https://github.com/simstudioai/sim/pull/8490/files#diff-b5bf5f0ed76ee983bd85f4bb53a0f92b294c79cff64e593184a39672b320464e
apps/sim/lib/core/async-jobs/backends/trigger-dev.tshttps://github.com/simstudioai/sim/pull/8490/files#diff-b958b57cdd2a5f9c4810a9ab7f23f04197dc6bf85c187708611c43de2293676a
View file https://github.com/simstudioai/sim/blob/3c737a501da73c0ccf40219a5f774c260599714f/apps/sim/lib/core/async-jobs/backends/trigger-dev.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8490/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8490/files#diff-b958b57cdd2a5f9c4810a9ab7f23f04197dc6bf85c187708611c43de2293676a
https://github.com/simstudioai/sim/pull/8490/files#diff-b958b57cdd2a5f9c4810a9ab7f23f04197dc6bf85c187708611c43de2293676a
https://github.com/simstudioai/sim/pull/8490/files#diff-b958b57cdd2a5f9c4810a9ab7f23f04197dc6bf85c187708611c43de2293676a
https://github.com/simstudioai/sim/pull/8490/files#diff-b958b57cdd2a5f9c4810a9ab7f23f04197dc6bf85c187708611c43de2293676a
https://github.com/simstudioai/sim/pull/8490/files#diff-b958b57cdd2a5f9c4810a9ab7f23f04197dc6bf85c187708611c43de2293676a
https://github.com/simstudioai/sim/pull/8490/files#diff-b958b57cdd2a5f9c4810a9ab7f23f04197dc6bf85c187708611c43de2293676a
https://github.com/simstudioai/sim/pull/8490/files#diff-b958b57cdd2a5f9c4810a9ab7f23f04197dc6bf85c187708611c43de2293676a
https://github.com/simstudioai/sim/pull/8490/files#diff-b958b57cdd2a5f9c4810a9ab7f23f04197dc6bf85c187708611c43de2293676a
https://github.com/simstudioai/sim/pull/8490/files#diff-b958b57cdd2a5f9c4810a9ab7f23f04197dc6bf85c187708611c43de2293676a
https://github.com/simstudioai/sim/pull/8490/files#diff-b958b57cdd2a5f9c4810a9ab7f23f04197dc6bf85c187708611c43de2293676a
apps/sim/lib/core/async-jobs/types.tshttps://github.com/simstudioai/sim/pull/8490/files#diff-464f570b2f7f239bee176e78456417aaf2418ea40aa7ca13f1a2a31b837d56f4
View file https://github.com/simstudioai/sim/blob/3c737a501da73c0ccf40219a5f774c260599714f/apps/sim/lib/core/async-jobs/types.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8490/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8490/files#diff-464f570b2f7f239bee176e78456417aaf2418ea40aa7ca13f1a2a31b837d56f4
https://github.com/simstudioai/sim/pull/8490/files#diff-464f570b2f7f239bee176e78456417aaf2418ea40aa7ca13f1a2a31b837d56f4
apps/sim/lib/execution/cancel-workflow-execution.test.tshttps://github.com/simstudioai/sim/pull/8490/files#diff-a71da39fdb4d6534f028dd1f0532f7ccc75908fa235903ff769ab3b9920548d2
View file https://github.com/simstudioai/sim/blob/3c737a501da73c0ccf40219a5f774c260599714f/apps/sim/lib/execution/cancel-workflow-execution.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8490/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8490/files#diff-a71da39fdb4d6534f028dd1f0532f7ccc75908fa235903ff769ab3b9920548d2
https://github.com/simstudioai/sim/pull/8490/files#diff-a71da39fdb4d6534f028dd1f0532f7ccc75908fa235903ff769ab3b9920548d2
https://github.com/simstudioai/sim/pull/8490/files#diff-a71da39fdb4d6534f028dd1f0532f7ccc75908fa235903ff769ab3b9920548d2
https://github.com/simstudioai/sim/pull/8490/files#diff-a71da39fdb4d6534f028dd1f0532f7ccc75908fa235903ff769ab3b9920548d2
https://github.com/simstudioai/sim/pull/8490/files#diff-a71da39fdb4d6534f028dd1f0532f7ccc75908fa235903ff769ab3b9920548d2
https://github.com/simstudioai/sim/pull/8490/files#diff-a71da39fdb4d6534f028dd1f0532f7ccc75908fa235903ff769ab3b9920548d2
https://github.com/simstudioai/sim/pull/8490/files#diff-a71da39fdb4d6534f028dd1f0532f7ccc75908fa235903ff769ab3b9920548d2
apps/sim/lib/execution/cancel-workflow-execution.tshttps://github.com/simstudioai/sim/pull/8490/files#diff-9d9920803ab82adaed6a74e928462a1f717dca01c69da3757d211c0cdb215637
View file https://github.com/simstudioai/sim/blob/3c737a501da73c0ccf40219a5f774c260599714f/apps/sim/lib/execution/cancel-workflow-execution.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8490/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8490/files#diff-9d9920803ab82adaed6a74e928462a1f717dca01c69da3757d211c0cdb215637
https://github.com/simstudioai/sim/pull/8490/files#diff-9d9920803ab82adaed6a74e928462a1f717dca01c69da3757d211c0cdb215637
https://github.com/simstudioai/sim/pull/8490/files#diff-9d9920803ab82adaed6a74e928462a1f717dca01c69da3757d211c0cdb215637
https://github.com/simstudioai/sim/pull/8490/files#diff-9d9920803ab82adaed6a74e928462a1f717dca01c69da3757d211c0cdb215637
Please reload this pagehttps://github.com/simstudioai/sim/pull/8490/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.