René's URL Explorer Experiment


Title: fix(provenance): let a run that never started report why it failed by icecrasher321 · Pull Request #7281 · simstudioai/sim · GitHub

Open Graph Title: fix(provenance): let a run that never started report why it failed by icecrasher321 · Pull Request #7281 · simstudioai/sim

X Title: fix(provenance): let a run that never started report why it failed by icecrasher321 · Pull Request #7281 · simstudioai/sim

Description: Summary Closes the last actively-generating provenance signal: value-provenance-absent on copilotWorkflowMutation.failedRunCrossing, unchanged since 08-21 across five deploys. What was wrong: a copilot-run workflow that fails before reaching the engine — undeployed workflow, invalid input, admission refusal — crossed back with no provenance. That latched the tool's registry, and inspectToolResultForCopilot reduced the result to {success: false, error: "result unavailable"}. The caller was told its run failed but not why, for a message this layer wrote that named no secret because none had been resolved yet. The fix: the executor attaches its execution result to every throw, so the absence of one proves no block ran — output, logs and error are all undefined and the only content is thrownMessage. That's an absence, not an inability to vouch, so the crossing now carries an exact-empty envelope. The message still passes the tool boundary's egress projection against the same registry, so anything that registry knows is still redacted. A run that did execute and could not vouch hands back its incomplete envelope exactly as before, and that still latches — pinned by its own test. Makes the executor's attach total rather than conditional on error instanceof Error, so that inference is a guarantee rather than an accident. A block failure is already normalized on the way in via toError, so the old guard held in practice; it just didn't cover a non-Error raised by the engine's own synchronous work. toError is identity-preserving. Moves the exact-empty envelope into the registry module, which owns this vocabulary, replacing a private copy in the logging session — one definition of "vouched for, naming nothing". Verified against production Read the externalized execution payloads from S3 for this workflow's runs (DB gives the storage pointer; the envelope isn't visible to SQL). Sampling before and after the v0.8.13 deploy that carried #7173: pre-fix 2/10 had finalOutput complete=false; post-fix 0/10, across completed, failed and cancelled. So the TraceStore — displayProjection stream is confirmed decaying stock of pre-08-27 executions, not a live producer — its emission logic is fixed, and this PR is about the separate copilot path. Also worth recording: inherited-incomplete-source (2026-08-09) and mounted-file-provenance-unavailable (2026-08-10) are long-standing reasons that were newly observed, not newly added — the former is just a per-tool fork inheriting a latched parent, which is the isolation working. Type of Change Bug fix Testing Two new tests on the crossing: a failure that never reached the engine now imports a complete envelope; one that did execute still passes through its incomplete envelope. Verified the first fails without the fix. Plus an executor test pinning that every throw out of a failed run carries its execution result. 6,828 tests green across executor/, lib/logs/, lib/workflows/, lib/copilot/; bun run type-check clean; all 39 audits pass. Rebased onto latest staging, conflicts resolved keeping both sides' tests. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing 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 Closes the last actively-generating provenance signal: value-provenance-absent on copilotWorkflowMutation.failedRunCrossing, unchanged since 08-21 across five deploys. What was wrong: a co...

X Description: Summary Closes the last actively-generating provenance signal: value-provenance-absent on copilotWorkflowMutation.failedRunCrossing, unchanged since 08-21 across five deploys. What was wrong: a co...

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

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:c3c0ef79-7bc9-7254-6d38-f2293ec96cf7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE512:2421B6:92143:CF9AB:6AFB2892
html-safe-noncef0d72a64dbb3de60c74eff84b9831612ec2be81ad082bfe7886807320cdfa6db
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTEyOjI0MjFCNjo5MjE0MzpDRjlBQjo2QUZCMjg5MiIsInZpc2l0b3JfaWQiOiIzMjM5NzU3ODIzODg1Mzg3OTIyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmace9726afab89d74b2619d9dc0b721fa339e7530a45ad6daa7aec65b275441ce8a
hovercard-subject-tagpull_request:4393056203
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/7281/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 Closes the last actively-generating provenance signal: value-provenance-absent on copilotWorkflowMutation.failedRunCrossing, unchanged since 08-21 across five deploys. What was wrong: a co...
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/7281/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7281%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%2F7281%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/7281/files
Reloadhttps://github.com/simstudioai/sim/pull/7281/files
Reloadhttps://github.com/simstudioai/sim/pull/7281/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
provenance-finaloutput-producerhttps://github.com/simstudioai/sim/tree/provenance-finaloutput-producer
Conversation 24 https://github.com/simstudioai/sim/pull/7281
Commits 4 https://github.com/simstudioai/sim/pull/7281/commits
Checks 27 https://github.com/simstudioai/sim/pull/7281/checks
Files changed https://github.com/simstudioai/sim/pull/7281/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7281/files
fix(provenance): let a run that never started report why it failed https://github.com/simstudioai/sim/pull/7281/files#top
Show all changes 4 commits https://github.com/simstudioai/sim/pull/7281/files
f7f3f96 fix(provenance): let a run that never started report why it failed Aug 29, 2026 https://github.com/simstudioai/sim/pull/7281/commits/f7f3f96804be86dcc5a24525349eeec02875673a
60a77cc fix(provenance): keep the post-run crossing window out of the never-s… Aug 29, 2026 https://github.com/simstudioai/sim/pull/7281/commits/60a77ccb264cf93d3a6d514acdad55248bb9567e
4260004 fix(provenance): carry the run's result through post-execution failures Aug 29, 2026 https://github.com/simstudioai/sim/pull/7281/commits/4260004d3a72e1d8ab2b6e53ff5c2c3c4a311534
3367369 fix(provenance): normalize a post-execution failure so it can carry t… Aug 29, 2026 https://github.com/simstudioai/sim/pull/7281/commits/33673691b5499bf954ffd59b92be1a7f07549ac5
Clear filters https://github.com/simstudioai/sim/pull/7281/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7281/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7281/files
engine.test.ts https://github.com/simstudioai/sim/pull/7281/files#diff-8a7dc7d2027ef09942b6480f995b1175f4f22ecbd015133850cb9f2dbc3df51e
engine.ts https://github.com/simstudioai/sim/pull/7281/files#diff-8fc33da0f336e4f8e9c4cef6bdcb2297ffb3bc693d739245b28cde225130de22
resolved-secret-trace-registry.ts https://github.com/simstudioai/sim/pull/7281/files#diff-2174fa12ceaf7c6220eeeb43e2c3a89f7716e471bbe9504b3a69996bbb96952a
logging-session.ts https://github.com/simstudioai/sim/pull/7281/files#diff-cac398bb0e1ce1cf9854fa04ba1ec432651c64499078382ef8008a4316b95515
run-workflow-from-copilot.test.ts https://github.com/simstudioai/sim/pull/7281/files#diff-cfa848383c648aadc98a151c096d7df38507b381c7e10a0e8f90de7e9e0961f8
run-workflow-from-copilot.ts https://github.com/simstudioai/sim/pull/7281/files#diff-16cedc7b0b5e33beb46b206f2a49c8f7c4ba060d9d002c6175b4ac1e96816c76
execute-workflow.test.ts https://github.com/simstudioai/sim/pull/7281/files#diff-ec634d842d0dbcea0a6171a8046174f434da2c710902233ec3ee1c9ee9285f59
execute-workflow.ts https://github.com/simstudioai/sim/pull/7281/files#diff-c95212b0627c1017d8539488fe27a171484db03b9abf46f759bf3b7ff8a93938
apps/sim/executor/execution/engine.test.tshttps://github.com/simstudioai/sim/pull/7281/files#diff-8a7dc7d2027ef09942b6480f995b1175f4f22ecbd015133850cb9f2dbc3df51e
View file https://github.com/simstudioai/sim/blob/33673691b5499bf954ffd59b92be1a7f07549ac5/apps/sim/executor/execution/engine.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7281/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7281/files#diff-8a7dc7d2027ef09942b6480f995b1175f4f22ecbd015133850cb9f2dbc3df51e
https://github.com/simstudioai/sim/pull/7281/files#diff-8a7dc7d2027ef09942b6480f995b1175f4f22ecbd015133850cb9f2dbc3df51e
https://github.com/simstudioai/sim/pull/7281/files#diff-8a7dc7d2027ef09942b6480f995b1175f4f22ecbd015133850cb9f2dbc3df51e
https://github.com/simstudioai/sim/pull/7281/files#diff-8a7dc7d2027ef09942b6480f995b1175f4f22ecbd015133850cb9f2dbc3df51e
apps/sim/executor/execution/engine.tshttps://github.com/simstudioai/sim/pull/7281/files#diff-8fc33da0f336e4f8e9c4cef6bdcb2297ffb3bc693d739245b28cde225130de22
View file https://github.com/simstudioai/sim/blob/33673691b5499bf954ffd59b92be1a7f07549ac5/apps/sim/executor/execution/engine.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7281/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7281/files#diff-8fc33da0f336e4f8e9c4cef6bdcb2297ffb3bc693d739245b28cde225130de22
https://github.com/simstudioai/sim/pull/7281/files#diff-8fc33da0f336e4f8e9c4cef6bdcb2297ffb3bc693d739245b28cde225130de22
apps/sim/executor/utils/resolved-secret-trace-registry.tshttps://github.com/simstudioai/sim/pull/7281/files#diff-2174fa12ceaf7c6220eeeb43e2c3a89f7716e471bbe9504b3a69996bbb96952a
View file https://github.com/simstudioai/sim/blob/33673691b5499bf954ffd59b92be1a7f07549ac5/apps/sim/executor/utils/resolved-secret-trace-registry.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7281/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7281/files#diff-2174fa12ceaf7c6220eeeb43e2c3a89f7716e471bbe9504b3a69996bbb96952a
https://github.com/simstudioai/sim/pull/7281/files#diff-2174fa12ceaf7c6220eeeb43e2c3a89f7716e471bbe9504b3a69996bbb96952a
apps/sim/lib/logs/execution/logging-session.tshttps://github.com/simstudioai/sim/pull/7281/files#diff-cac398bb0e1ce1cf9854fa04ba1ec432651c64499078382ef8008a4316b95515
View file https://github.com/simstudioai/sim/blob/33673691b5499bf954ffd59b92be1a7f07549ac5/apps/sim/lib/logs/execution/logging-session.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7281/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7281/files#diff-cac398bb0e1ce1cf9854fa04ba1ec432651c64499078382ef8008a4316b95515
https://github.com/simstudioai/sim/pull/7281/files#diff-cac398bb0e1ce1cf9854fa04ba1ec432651c64499078382ef8008a4316b95515
https://github.com/simstudioai/sim/pull/7281/files#diff-cac398bb0e1ce1cf9854fa04ba1ec432651c64499078382ef8008a4316b95515
https://github.com/simstudioai/sim/pull/7281/files#diff-cac398bb0e1ce1cf9854fa04ba1ec432651c64499078382ef8008a4316b95515
apps/sim/lib/workflows/application/run-workflow-from-copilot.test.tshttps://github.com/simstudioai/sim/pull/7281/files#diff-cfa848383c648aadc98a151c096d7df38507b381c7e10a0e8f90de7e9e0961f8
View file https://github.com/simstudioai/sim/blob/33673691b5499bf954ffd59b92be1a7f07549ac5/apps/sim/lib/workflows/application/run-workflow-from-copilot.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7281/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7281/files#diff-cfa848383c648aadc98a151c096d7df38507b381c7e10a0e8f90de7e9e0961f8
apps/sim/lib/workflows/application/run-workflow-from-copilot.tshttps://github.com/simstudioai/sim/pull/7281/files#diff-16cedc7b0b5e33beb46b206f2a49c8f7c4ba060d9d002c6175b4ac1e96816c76
View file https://github.com/simstudioai/sim/blob/33673691b5499bf954ffd59b92be1a7f07549ac5/apps/sim/lib/workflows/application/run-workflow-from-copilot.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7281/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7281/files#diff-16cedc7b0b5e33beb46b206f2a49c8f7c4ba060d9d002c6175b4ac1e96816c76
https://github.com/simstudioai/sim/pull/7281/files#diff-16cedc7b0b5e33beb46b206f2a49c8f7c4ba060d9d002c6175b4ac1e96816c76
https://github.com/simstudioai/sim/pull/7281/files#diff-16cedc7b0b5e33beb46b206f2a49c8f7c4ba060d9d002c6175b4ac1e96816c76
https://github.com/simstudioai/sim/pull/7281/files#diff-16cedc7b0b5e33beb46b206f2a49c8f7c4ba060d9d002c6175b4ac1e96816c76
https://github.com/simstudioai/sim/pull/7281/files#diff-16cedc7b0b5e33beb46b206f2a49c8f7c4ba060d9d002c6175b4ac1e96816c76
https://github.com/simstudioai/sim/pull/7281/files#diff-16cedc7b0b5e33beb46b206f2a49c8f7c4ba060d9d002c6175b4ac1e96816c76
https://github.com/simstudioai/sim/pull/7281/files#diff-16cedc7b0b5e33beb46b206f2a49c8f7c4ba060d9d002c6175b4ac1e96816c76
apps/sim/lib/workflows/executor/execute-workflow.test.tshttps://github.com/simstudioai/sim/pull/7281/files#diff-ec634d842d0dbcea0a6171a8046174f434da2c710902233ec3ee1c9ee9285f59
View file https://github.com/simstudioai/sim/blob/33673691b5499bf954ffd59b92be1a7f07549ac5/apps/sim/lib/workflows/executor/execute-workflow.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7281/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7281/files#diff-ec634d842d0dbcea0a6171a8046174f434da2c710902233ec3ee1c9ee9285f59
https://github.com/simstudioai/sim/pull/7281/files#diff-ec634d842d0dbcea0a6171a8046174f434da2c710902233ec3ee1c9ee9285f59
https://github.com/simstudioai/sim/pull/7281/files#diff-ec634d842d0dbcea0a6171a8046174f434da2c710902233ec3ee1c9ee9285f59
https://github.com/simstudioai/sim/pull/7281/files#diff-ec634d842d0dbcea0a6171a8046174f434da2c710902233ec3ee1c9ee9285f59
Please reload this pagehttps://github.com/simstudioai/sim/pull/7281/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7281/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.