René's URL Explorer Experiment


Title: fix(provenance): preserve execution files across durable surfaces by icecrasher321 · Pull Request #7778 · simstudioai/sim · GitHub

Open Graph Title: fix(provenance): preserve execution files across durable surfaces by icecrasher321 · Pull Request #7778 · simstudioai/sim

X Title: fix(provenance): preserve execution files across durable surfaces by icecrasher321 · Pull Request #7778 · simstudioai/sim

Description: Summary Preserve provenance from Function exports through file reads, parsing, copies, archive extraction, and KB ingestion. Bind sidecars to canonical content revisions and retain legacy compatibility. Carry rendered image and document contributors through file conversions and Function inputs; prevent archived metadata or concurrent reads from dropping lineage. Recognize owned Azure execution URLs using the configured storage client endpoint. Keep model and Function admission at their consuming boundaries. Keep existing feature flags and use the current file sidecar schema. Type of Change Bug fix Testing Real PostgreSQL/Redis integration covers execution ZIP → workspace extraction → table rows → immutable KB copy → delayed indexing/search, plus unknown, secret-bearing, legacy, archived, and wrong-run cases. External embeddings are mocked. Focused provenance, Function, file, table, memory, and KB suites; 350 regression tests for the review follow-up; 11 real database integration scenarios; type checks; lint and all 46 audits, including API boundary validation. Bun 1.4.1. 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 Preserve provenance from Function exports through file reads, parsing, copies, archive extraction, and KB ingestion. Bind sidecars to canonical content revisions and retain legacy compatib...

X Description: Summary Preserve provenance from Function exports through file reads, parsing, copies, archive extraction, and KB ingestion. Bind sidecars to canonical content revisions and retain legacy compatib...

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

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:a3c36a5d-00fd-dd9b-e870-bc0a85efa493
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8BF6:339159:5B9551:838423:6AFB4103
html-safe-nonce40c7010ba5b0e0dab8d041612d98c2a325582f0a951dc5c3b222b37fbc9af216
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QkY2OjMzOTE1OTo1Qjk1NTE6ODM4NDIzOjZBRkI0MTAzIiwidmlzaXRvcl9pZCI6IjEwMDYyMjAwMTM1NzQyNDI1NjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb5a3941cd62978502a57264b40eaf41c7d16e66a081ad3dcc0f6341f72663b79
hovercard-subject-tagpull_request:4508810683
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/7778/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 Preserve provenance from Function exports through file reads, parsing, copies, archive extraction, and KB ingestion. Bind sidecars to canonical content revisions and retain legacy compatib...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noned849b928f455c800985398e7f1b659425adb312a5fa14fba5d9a14e62e9fe5dd
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
releasea6c2f87cbcb6414452377b4967858ed6a66f1109
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/7778/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7778%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%2F7778%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/7778/files
Reloadhttps://github.com/simstudioai/sim/pull/7778/files
Reloadhttps://github.com/simstudioai/sim/pull/7778/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests200 (200)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/fix-execution-file-provenancehttps://github.com/simstudioai/sim/tree/codex/fix-execution-file-provenance
Conversation 7 https://github.com/simstudioai/sim/pull/7778
Commits 2 https://github.com/simstudioai/sim/pull/7778/commits
Checks 33 https://github.com/simstudioai/sim/pull/7778/checks
Files changed 35 https://github.com/simstudioai/sim/pull/7778/files
fix(provenance): preserve execution files across durable surfaces https://github.com/simstudioai/sim/pull/7778/files#top
Show all changes 2 commits https://github.com/simstudioai/sim/pull/7778/files
d061442 fix(provenance): preserve execution files across durable surfaces Sep 11, 2026 https://github.com/simstudioai/sim/pull/7778/commits/d06144217170d7fe5d793096bd514bd80b52c61f
f6b93b6 fix(provenance): preserve storage identity and consumer admission Sep 11, 2026 https://github.com/simstudioai/sim/pull/7778/commits/f6b93b6f524eaf93a854ed51819ae1fe0c4732ba
Clear filters https://github.com/simstudioai/sim/pull/7778/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7778/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7778/files
file-secret-provenance.test.ts https://github.com/simstudioai/sim/pull/7778/files#diff-76a580412b841f72ff33e5ee689f7b56bfa2a0cb08f346a42299b165a05b8990
file-secret-provenance.ts https://github.com/simstudioai/sim/pull/7778/files#diff-137ebbd96415b65938d9899fdd9eeb351daac09e45d07719412b344387ff9be3
materialization.server.test.ts https://github.com/simstudioai/sim/pull/7778/files#diff-ee5d3b6aac3e3c5faccbd2f6a8fe7fa66c47a3b54fa650712a6ef99ba0bc5a1b
materialization.server.ts https://github.com/simstudioai/sim/pull/7778/files#diff-a1e3fcedf46279b15241e2869d350e5e52854d3ea6423a9da53110e2fee7523f
execute-function.test.ts https://github.com/simstudioai/sim/pull/7778/files#diff-659f7a6cd3e7851dda4c530ab8a25e34d7522be6599667d8e001f45330f8f918
execute-function.ts https://github.com/simstudioai/sim/pull/7778/files#diff-577c2f946ec1a54b5c47b54e3b6e49794043c8ba4d0d1279aa2e95550bd169fe
execute-request.test.ts https://github.com/simstudioai/sim/pull/7778/files#diff-813f72ca61e1a9ca78a2d9f0ddd82c1a13988c0d47f4fe8508163099c31df8ab
execute-request.ts https://github.com/simstudioai/sim/pull/7778/files#diff-38056af842408172c28abfc0e5b5d12577866d15bcf372314c84029d74df012a
sandbox-mounts.test.ts https://github.com/simstudioai/sim/pull/7778/files#diff-fb0fa6916ded9a2aedc882397795a783580ca73ad0e10b2c3ce6dd9d68e4863d
sandbox-mounts.ts https://github.com/simstudioai/sim/pull/7778/files#diff-d4966dfed5b71d1bfa6aed91eaf37c01045ea0b83afc8a7bc63d2a4b116af9ae
execute-tool.test.ts https://github.com/simstudioai/sim/pull/7778/files#diff-9bf003ba69dcecc8f3d5b05d54f4857a2881bdf296f9c6b76b15103262bbf93d
execute-tool.ts https://github.com/simstudioai/sim/pull/7778/files#diff-d1c9ba62e3a0f5cec5bba99c5412de8a80b9fb3b813e772f42f706167f7353cb
operations.provenance.test.ts https://github.com/simstudioai/sim/pull/7778/files#diff-1e12e6dcbf946393c592a000ece9e749990fade6781acfd60c214f2ca46d4fac
operations.test.ts https://github.com/simstudioai/sim/pull/7778/files#diff-5b618a3954aee1f8dad948808cf9107f1f42b6a08bcc904adb65d83c19cce192
operations.ts https://github.com/simstudioai/sim/pull/7778/files#diff-8e5b9606c97b1fe1307e2813b58c25851c7ada477f5a6b8805c5f456b11b5138
parser.test.ts https://github.com/simstudioai/sim/pull/7778/files#diff-e4d95bc00614f800748ff245f76bf9d787f7febada404df6fa5e3e92c7fff600
parser.ts https://github.com/simstudioai/sim/pull/7778/files#diff-063d314ef795a40a2f0b622cdfdff5aac0ea4ec3864e3fdcccc2833dd5368d2f
execute.test.ts https://github.com/simstudioai/sim/pull/7778/files#diff-895b3c5d021792ffd44b115c78b19e56a95d24c2760850836311b19372e30646
execute.ts https://github.com/simstudioai/sim/pull/7778/files#diff-7d78564de224e8f34702702b3c0a3e93e4767f82ae0036504d17d2e9be38a77a
execution-archive-provenance.integration.ts https://github.com/simstudioai/sim/pull/7778/files#diff-394999dcd0787b20378e1d86321742a9da363beb391555ff6031ca839d84063b
document-processing-source.test.ts https://github.com/simstudioai/sim/pull/7778/files#diff-5b6e93417c23c69dd607283ad630cf19fce90751f3480053378e133760b97633
service.ts https://github.com/simstudioai/sim/pull/7778/files#diff-12adff6ec055d413ec20f1debed4ca207b994d23df6de9aa4ef79bf47f2857b2
workspace-source-provenance.test.ts https://github.com/simstudioai/sim/pull/7778/files#diff-da5d6536f102cde4308c75ad2e5b7c44a917ffdc7c4011ab7cc07b2610f8ce1f
execution-file-manager.test.ts https://github.com/simstudioai/sim/pull/7778/files#diff-acc8d1dab9928bd6ed005c056ff85ab6a99bf240e03197a76371c3ddbfd926f2
execution-file-manager.ts https://github.com/simstudioai/sim/pull/7778/files#diff-7e4669a9ee5713fb6e7624ea869b19f25c90bf6dbc6250e41a069d66cb70f064
workspace-file-secret-provenance.test.ts https://github.com/simstudioai/sim/pull/7778/files#diff-a135e689defc3929a9b013c97cea9f63ba19913b4bba84a760d2ea5399dcd920
workspace-file-secret-provenance.ts https://github.com/simstudioai/sim/pull/7778/files#diff-dc9f5d8bcbc26f92094970ec14aa86da31ab479567fc6c6997b5ba3bd839c998
metadata.ts https://github.com/simstudioai/sim/pull/7778/files#diff-1de12a134a12569e530e519c085fb87fc17011a093468e8ae4cc6f1c1ff0f370
file-utils.server.test.ts https://github.com/simstudioai/sim/pull/7778/files#diff-637971eb2be5d28173a2ee83de689fa941b24546954c7b60df4fbc86578f5e87
file-utils.server.ts https://github.com/simstudioai/sim/pull/7778/files#diff-56073f04957682936465d04d9660e33d45b8f6151b8ce0947b9cfd6ad3e3533e
page-document.server.test.ts https://github.com/simstudioai/sim/pull/7778/files#diff-c14811e0f6dae17c7531fe942279f4db903725ec1149d285513739344ab77460
page-document.server.ts https://github.com/simstudioai/sim/pull/7778/files#diff-ba66ed85dea541292838e2c5952739ddd10b04f2001fa4b7b248f71b9ccdfd17
parser.test.ts https://github.com/simstudioai/sim/pull/7778/files#diff-57e2d58e56ae0aaaadeb9c7691c4fa175d801aa39e10a5562b8d7380ce8f0b9a
parser.ts https://github.com/simstudioai/sim/pull/7778/files#diff-39467ab52fad9135f1563b207fb393c1585b15e67f1f44496b61a9b298efdae3
index.test.ts https://github.com/simstudioai/sim/pull/7778/files#diff-9ba0f7033f9247e496b4f9e0f46183a13c79b1bb48d721ba4bf042bdd08e4dd0
apps/sim/lib/execution/payloads/file-secret-provenance.test.tshttps://github.com/simstudioai/sim/pull/7778/files#diff-76a580412b841f72ff33e5ee689f7b56bfa2a0cb08f346a42299b165a05b8990
View file https://github.com/simstudioai/sim/blob/f6b93b6f524eaf93a854ed51819ae1fe0c4732ba/apps/sim/lib/execution/payloads/file-secret-provenance.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7778/{{ revealButtonHref }}
apps/sim/lib/execution/payloads/file-secret-provenance.tshttps://github.com/simstudioai/sim/pull/7778/files#diff-137ebbd96415b65938d9899fdd9eeb351daac09e45d07719412b344387ff9be3
View file https://github.com/simstudioai/sim/blob/f6b93b6f524eaf93a854ed51819ae1fe0c4732ba/apps/sim/lib/execution/payloads/file-secret-provenance.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7778/{{ revealButtonHref }}
apps/sim/lib/execution/payloads/materialization.server.test.tshttps://github.com/simstudioai/sim/pull/7778/files#diff-ee5d3b6aac3e3c5faccbd2f6a8fe7fa66c47a3b54fa650712a6ef99ba0bc5a1b
View file https://github.com/simstudioai/sim/blob/f6b93b6f524eaf93a854ed51819ae1fe0c4732ba/apps/sim/lib/execution/payloads/materialization.server.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7778/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7778/files#diff-ee5d3b6aac3e3c5faccbd2f6a8fe7fa66c47a3b54fa650712a6ef99ba0bc5a1b
https://github.com/simstudioai/sim/pull/7778/files#diff-ee5d3b6aac3e3c5faccbd2f6a8fe7fa66c47a3b54fa650712a6ef99ba0bc5a1b
https://github.com/simstudioai/sim/pull/7778/files#diff-ee5d3b6aac3e3c5faccbd2f6a8fe7fa66c47a3b54fa650712a6ef99ba0bc5a1b
https://github.com/simstudioai/sim/pull/7778/files#diff-ee5d3b6aac3e3c5faccbd2f6a8fe7fa66c47a3b54fa650712a6ef99ba0bc5a1b
apps/sim/lib/execution/payloads/materialization.server.tshttps://github.com/simstudioai/sim/pull/7778/files#diff-a1e3fcedf46279b15241e2869d350e5e52854d3ea6423a9da53110e2fee7523f
View file https://github.com/simstudioai/sim/blob/f6b93b6f524eaf93a854ed51819ae1fe0c4732ba/apps/sim/lib/execution/payloads/materialization.server.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7778/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7778/files#diff-a1e3fcedf46279b15241e2869d350e5e52854d3ea6423a9da53110e2fee7523f
https://github.com/simstudioai/sim/pull/7778/files#diff-a1e3fcedf46279b15241e2869d350e5e52854d3ea6423a9da53110e2fee7523f
https://github.com/simstudioai/sim/pull/7778/files#diff-a1e3fcedf46279b15241e2869d350e5e52854d3ea6423a9da53110e2fee7523f
https://github.com/simstudioai/sim/pull/7778/files#diff-a1e3fcedf46279b15241e2869d350e5e52854d3ea6423a9da53110e2fee7523f
https://github.com/simstudioai/sim/pull/7778/files#diff-a1e3fcedf46279b15241e2869d350e5e52854d3ea6423a9da53110e2fee7523f
https://github.com/simstudioai/sim/pull/7778/files#diff-a1e3fcedf46279b15241e2869d350e5e52854d3ea6423a9da53110e2fee7523f
https://github.com/simstudioai/sim/pull/7778/files#diff-a1e3fcedf46279b15241e2869d350e5e52854d3ea6423a9da53110e2fee7523f
https://github.com/simstudioai/sim/pull/7778/files#diff-a1e3fcedf46279b15241e2869d350e5e52854d3ea6423a9da53110e2fee7523f
https://github.com/simstudioai/sim/pull/7778/files#diff-a1e3fcedf46279b15241e2869d350e5e52854d3ea6423a9da53110e2fee7523f
https://github.com/simstudioai/sim/pull/7778/files#diff-a1e3fcedf46279b15241e2869d350e5e52854d3ea6423a9da53110e2fee7523f
https://github.com/simstudioai/sim/pull/7778/files#diff-a1e3fcedf46279b15241e2869d350e5e52854d3ea6423a9da53110e2fee7523f
https://github.com/simstudioai/sim/pull/7778/files#diff-a1e3fcedf46279b15241e2869d350e5e52854d3ea6423a9da53110e2fee7523f
apps/sim/lib/function-execution/application/execute-function.test.tshttps://github.com/simstudioai/sim/pull/7778/files#diff-659f7a6cd3e7851dda4c530ab8a25e34d7522be6599667d8e001f45330f8f918
View file https://github.com/simstudioai/sim/blob/f6b93b6f524eaf93a854ed51819ae1fe0c4732ba/apps/sim/lib/function-execution/application/execute-function.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7778/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7778/files#diff-659f7a6cd3e7851dda4c530ab8a25e34d7522be6599667d8e001f45330f8f918
https://github.com/simstudioai/sim/pull/7778/files#diff-659f7a6cd3e7851dda4c530ab8a25e34d7522be6599667d8e001f45330f8f918
https://github.com/simstudioai/sim/pull/7778/files#diff-659f7a6cd3e7851dda4c530ab8a25e34d7522be6599667d8e001f45330f8f918
Please reload this pagehttps://github.com/simstudioai/sim/pull/7778/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7778/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.