René's URL Explorer Experiment


Title: fix(api): attribute a polled run's failure only to the block that caused it by waleedlatif1 · Pull Request #9916 · simstudioai/sim · GitHub

Open Graph Title: fix(api): attribute a polled run's failure only to the block that caused it by waleedlatif1 · Pull Request #9916 · simstudioai/sim

X Title: fix(api): attribute a polled run's failure only to the block that caused it by waleedlatif1 · Pull Request #9916 · simstudioai/sim

Description: Addresses the release PR #9912 review threads on the agent API work. Summary Get workflow run named the trace's failed block for any unrecognized run error, even when that block didn't cause it (e.g. a run-level fault settles first while another branch fails in flight), returning BLOCK_EXECUTION_FAILED with an unrelated block. A block is now named only when it owns the run's error: its name heads the error (Block name: message) or its own recorded error is exactly the run error. Otherwise the run reports EXECUTION_FAILED with no block. Requiring the name prefix alone would have dropped loop and parallel failures, which are recorded without it; the recorded-error match keeps those attributed. The API guide now says the polled run resource names the failing block (it previously said it couldn't), with when the fields are absent. The CLI approval card now says when the requested key never expires, instead of omitting the lifetime. Test plan New tests: a loop failure recorded without a prefix is attributed to the loop (fails under a prefix-only fix); an unrelated block isn't attributed for a run-level error (fails on the previous code) errors, trace-spans, execution-status-projection tests pass generate/check: openapi, mcp-operations, cli-api, cli-docs

Open Graph Description: Addresses the release PR #9912 review threads on the agent API work. Summary Get workflow run named the trace's failed block for any unrecognized run error, even when that block didn't cau...

X Description: Addresses the release PR #9912 review threads on the agent API work. Summary Get workflow run named the trace's failed block for any unrecognized run error, even when that block didn&#...

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

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:2464c90d-a19e-5a15-95a7-b8b44a74c192
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8C10:1AE782:AE6B1D:F54395:6AFB7988
html-safe-nonce9ebb3d4a24238fdaa789226d7de76b36012f9c59972918dfeb0e23e6598329d9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzEwOjFBRTc4MjpBRTZCMUQ6RjU0Mzk1OjZBRkI3OTg4IiwidmlzaXRvcl9pZCI6IjgyMTgwNTMzMTAxNzU0NzYwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca46487c18bc77ebaaeea4e9358f5133ff6dd494c0ffe334717fda572103276eb
hovercard-subject-tagpull_request:5269142044
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/9916/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:altAddresses the release PR #9912 review threads on the agent API work. Summary Get workflow run named the trace's failed block for any unrecognized run error, even when that block didn't cau...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None0e29e7974fdda2feeaf5c891efd4b23b0734b23480232b62c7bdef13f40b5b48
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
release2e8872b770cc4d5d0cc1f2026afab747a268e2ce
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/9916/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F9916%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%2F9916%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/9916/files
Reloadhttps://github.com/simstudioai/sim/pull/9916/files
Reloadhttps://github.com/simstudioai/sim/pull/9916/files
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
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
fix/release-9912-agent-api-threadshttps://github.com/simstudioai/sim/tree/fix/release-9912-agent-api-threads
Conversation 2 https://github.com/simstudioai/sim/pull/9916
Commits 2 https://github.com/simstudioai/sim/pull/9916/commits
Checks 83 https://github.com/simstudioai/sim/pull/9916/checks
Files changed https://github.com/simstudioai/sim/pull/9916/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9916/files
fix(api): attribute a polled run's failure only to the block that caused it https://github.com/simstudioai/sim/pull/9916/files#top
Show all changes 2 commits https://github.com/simstudioai/sim/pull/9916/files
a8dfd4e fix(api): attribute a polled run's failure only to the block that cau… waleedlatif1 Nov 12, 2026 https://github.com/simstudioai/sim/pull/9916/commits/a8dfd4edcc158f7bce09e80c13e1b730385e15d8
34da6a0 fix(cli-auth): say when a requested key never expires waleedlatif1 Nov 12, 2026 https://github.com/simstudioai/sim/pull/9916/commits/34da6a07937814d2e02daa9a34de5064abd0ae34
Clear filters https://github.com/simstudioai/sim/pull/9916/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9916/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9916/files
build-and-run-workflows.mdx https://github.com/simstudioai/sim/pull/9916/files#diff-60d4a37761f0291b0ad947fa89603f524cae2148bff74d191d9201cf12d8e15b
openapi-v2-workflows.json https://github.com/simstudioai/sim/pull/9916/files#diff-811f737e7f97ec52156a37e71892822626b5b4de295efebd20992198d162149b
cli-auth-view.tsx https://github.com/simstudioai/sim/pull/9916/files#diff-c90f9b1a08ef94cd35b397815fcff4cd44aa7cae24bd732c2416323870e7e5f8
errors.test.ts https://github.com/simstudioai/sim/pull/9916/files#diff-6ab13812c0e09e708bf054baf38d3c8907fcbba974e706455d55e22fc86ee4e3
errors.ts https://github.com/simstudioai/sim/pull/9916/files#diff-bde961b07e8bad9006de2a15f9658161c1d5b7f5c7913ce6899ec7be6370b7c0
workflows.ts https://github.com/simstudioai/sim/pull/9916/files#diff-7c1b6e587b506ea981d107bc7496349fd5020fd823e34f9c13d70f6845829728
trace-spans.test.ts https://github.com/simstudioai/sim/pull/9916/files#diff-9c690eb9cb9d5929d46a235a4008f96bdf80f81234df69922bd1443114126801
trace-spans.ts https://github.com/simstudioai/sim/pull/9916/files#diff-19aca28e4e62e1654fb5192529de671700f8a1c8a6f84585e09f8b300f297e56
apps/docs/content/docs/api-reference/build-and-run-workflows.mdxhttps://github.com/simstudioai/sim/pull/9916/files#diff-60d4a37761f0291b0ad947fa89603f524cae2148bff74d191d9201cf12d8e15b
View file https://github.com/simstudioai/sim/blob/34da6a07937814d2e02daa9a34de5064abd0ae34/apps/docs/content/docs/api-reference/build-and-run-workflows.mdx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9916/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9916/files#diff-60d4a37761f0291b0ad947fa89603f524cae2148bff74d191d9201cf12d8e15b
https://github.com/simstudioai/sim/pull/9916/files#diff-60d4a37761f0291b0ad947fa89603f524cae2148bff74d191d9201cf12d8e15b
apps/docs/openapi-v2-workflows.jsonhttps://github.com/simstudioai/sim/pull/9916/files#diff-811f737e7f97ec52156a37e71892822626b5b4de295efebd20992198d162149b
View file https://github.com/simstudioai/sim/blob/34da6a07937814d2e02daa9a34de5064abd0ae34/apps/docs/openapi-v2-workflows.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9916/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9916/files#diff-811f737e7f97ec52156a37e71892822626b5b4de295efebd20992198d162149b
https://github.com/simstudioai/sim/pull/9916/files#diff-811f737e7f97ec52156a37e71892822626b5b4de295efebd20992198d162149b
apps/sim/app/cli/auth/cli-auth-view.tsxhttps://github.com/simstudioai/sim/pull/9916/files#diff-c90f9b1a08ef94cd35b397815fcff4cd44aa7cae24bd732c2416323870e7e5f8
View file https://github.com/simstudioai/sim/blob/34da6a07937814d2e02daa9a34de5064abd0ae34/apps/sim/app/cli/auth/cli-auth-view.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9916/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9916/files#diff-c90f9b1a08ef94cd35b397815fcff4cd44aa7cae24bd732c2416323870e7e5f8
https://github.com/simstudioai/sim/pull/9916/files#diff-c90f9b1a08ef94cd35b397815fcff4cd44aa7cae24bd732c2416323870e7e5f8
apps/sim/executor/utils/errors.test.tshttps://github.com/simstudioai/sim/pull/9916/files#diff-6ab13812c0e09e708bf054baf38d3c8907fcbba974e706455d55e22fc86ee4e3
View file https://github.com/simstudioai/sim/blob/34da6a07937814d2e02daa9a34de5064abd0ae34/apps/sim/executor/utils/errors.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9916/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9916/files#diff-6ab13812c0e09e708bf054baf38d3c8907fcbba974e706455d55e22fc86ee4e3
https://github.com/simstudioai/sim/pull/9916/files#diff-6ab13812c0e09e708bf054baf38d3c8907fcbba974e706455d55e22fc86ee4e3
https://github.com/simstudioai/sim/pull/9916/files#diff-6ab13812c0e09e708bf054baf38d3c8907fcbba974e706455d55e22fc86ee4e3
apps/sim/executor/utils/errors.tshttps://github.com/simstudioai/sim/pull/9916/files#diff-bde961b07e8bad9006de2a15f9658161c1d5b7f5c7913ce6899ec7be6370b7c0
View file https://github.com/simstudioai/sim/blob/34da6a07937814d2e02daa9a34de5064abd0ae34/apps/sim/executor/utils/errors.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9916/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9916/files#diff-bde961b07e8bad9006de2a15f9658161c1d5b7f5c7913ce6899ec7be6370b7c0
https://github.com/simstudioai/sim/pull/9916/files#diff-bde961b07e8bad9006de2a15f9658161c1d5b7f5c7913ce6899ec7be6370b7c0
apps/sim/lib/api/contracts/v2/workflows.tshttps://github.com/simstudioai/sim/pull/9916/files#diff-7c1b6e587b506ea981d107bc7496349fd5020fd823e34f9c13d70f6845829728
View file https://github.com/simstudioai/sim/blob/34da6a07937814d2e02daa9a34de5064abd0ae34/apps/sim/lib/api/contracts/v2/workflows.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9916/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9916/files#diff-7c1b6e587b506ea981d107bc7496349fd5020fd823e34f9c13d70f6845829728
https://github.com/simstudioai/sim/pull/9916/files#diff-7c1b6e587b506ea981d107bc7496349fd5020fd823e34f9c13d70f6845829728
https://github.com/simstudioai/sim/pull/9916/files#diff-7c1b6e587b506ea981d107bc7496349fd5020fd823e34f9c13d70f6845829728
apps/sim/lib/logs/execution/trace-spans/trace-spans.test.tshttps://github.com/simstudioai/sim/pull/9916/files#diff-9c690eb9cb9d5929d46a235a4008f96bdf80f81234df69922bd1443114126801
View file https://github.com/simstudioai/sim/blob/34da6a07937814d2e02daa9a34de5064abd0ae34/apps/sim/lib/logs/execution/trace-spans/trace-spans.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9916/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9916/files#diff-9c690eb9cb9d5929d46a235a4008f96bdf80f81234df69922bd1443114126801
https://github.com/simstudioai/sim/pull/9916/files#diff-9c690eb9cb9d5929d46a235a4008f96bdf80f81234df69922bd1443114126801
apps/sim/lib/logs/execution/trace-spans/trace-spans.tshttps://github.com/simstudioai/sim/pull/9916/files#diff-19aca28e4e62e1654fb5192529de671700f8a1c8a6f84585e09f8b300f297e56
View file https://github.com/simstudioai/sim/blob/34da6a07937814d2e02daa9a34de5064abd0ae34/apps/sim/lib/logs/execution/trace-spans/trace-spans.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9916/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9916/files#diff-19aca28e4e62e1654fb5192529de671700f8a1c8a6f84585e09f8b300f297e56
https://github.com/simstudioai/sim/pull/9916/files#diff-19aca28e4e62e1654fb5192529de671700f8a1c8a6f84585e09f8b300f297e56
https://github.com/simstudioai/sim/pull/9916/files#diff-19aca28e4e62e1654fb5192529de671700f8a1c8a6f84585e09f8b300f297e56
https://github.com/simstudioai/sim/pull/9916/files#diff-19aca28e4e62e1654fb5192529de671700f8a1c8a6f84585e09f8b300f297e56
https://github.com/simstudioai/sim/pull/9916/files#diff-19aca28e4e62e1654fb5192529de671700f8a1c8a6f84585e09f8b300f297e56
Please reload this pagehttps://github.com/simstudioai/sim/pull/9916/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.