René's URL Explorer Experiment


Title: fix(content): keep stored provenance consistent by icecrasher321 · Pull Request #9097 · simstudioai/sim · GitHub

Open Graph Title: fix(content): keep stored provenance consistent by icecrasher321 · Pull Request #9097 · simstudioai/sim

X Title: fix(content): keep stored provenance consistent by icecrasher321 · Pull Request #9097 · simstudioai/sim

Description: Summary Keep document and chunk tags consistent during processing, metadata edits, tag deletion, and connector metadata-only refreshes. Use the document lock across those writers and remove the redundant chunk-sequence lock. Preserve content timestamps on identical table writes and export read provenance only for rows actually returned. Retain validated encrypted origins across authorized file copies, member writes, and archive extraction. Keep current version snapshots and deleted-key classification consistent with recorded evidence. Preserve existing admission policy, masking, budgets, and authorization. No schema changes or historical provenance reset. Type of Change Bug fix Testing 289 PostgreSQL/Redis/storage integration checks, 93 migrated-database row-write checks, and 621 adjacent tests passed. Root tests passed all 20 workspace tasks, including 37,827 application tests and 606 script tests. Repository type-check, test-type ratchet, lint, all 60 audits, generators, and staging-aware block registry passed. Fourteen independent guard-removal variants failed for the intended regressions and were restored; the nullable connector type correction emits identical JavaScript and its 12 integration cases passed again. 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 Keep document and chunk tags consistent during processing, metadata edits, tag deletion, and connector metadata-only refreshes. Use the document lock across those writers and remove the re...

X Description: Summary Keep document and chunk tags consistent during processing, metadata edits, tag deletion, and connector metadata-only refreshes. Use the document lock across those writers and remove the re...

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

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:37a266b2-3152-1c64-c5a3-6a444a51db21
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA396:AE1F3:4C726A:6B41C0:6AFB5D16
html-safe-nonce5e3b2241991eab762fb6e8b674204109a4bf8ee7abadf64054cc59b8dfabb615
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzk2OkFFMUYzOjRDNzI2QTo2QjQxQzA6NkFGQjVEMTYiLCJ2aXNpdG9yX2lkIjoiNTAzOTA1OTQyNTM2NTI4NjE2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd83fe7d0d7ba474c611f726416f52b9cec26e8a38a7d070ab830212972f6f278
hovercard-subject-tagpull_request:4881832500
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/9097/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 Keep document and chunk tags consistent during processing, metadata edits, tag deletion, and connector metadata-only refreshes. Use the document lock across those writers and remove the re...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94
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
release59ef97164c52cf59bd10558ddec9c4f482763988
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/9097/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F9097%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%2F9097%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/9097/files
Reloadhttps://github.com/simstudioai/sim/pull/9097/files
Reloadhttps://github.com/simstudioai/sim/pull/9097/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)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/provenance-write-consistencyhttps://github.com/simstudioai/sim/tree/codex/provenance-write-consistency
Conversation 2 https://github.com/simstudioai/sim/pull/9097
Commits 1 https://github.com/simstudioai/sim/pull/9097/commits
Checks 52 https://github.com/simstudioai/sim/pull/9097/checks
Files changed https://github.com/simstudioai/sim/pull/9097/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9097/files
fix(content): keep stored provenance consistent https://github.com/simstudioai/sim/pull/9097/files#top
Show all changes 1 commit https://github.com/simstudioai/sim/pull/9097/files
d7cc83e fix(content): keep stored provenance consistent Oct 16, 2026 https://github.com/simstudioai/sim/pull/9097/commits/d7cc83e506ba48d1b1d7ede0b3d949538af8ccf8
Clear filters https://github.com/simstudioai/sim/pull/9097/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9097/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9097/files
operations.test.ts https://github.com/simstudioai/sim/pull/9097/files#diff-5b618a3954aee1f8dad948808cf9107f1f42b6a08bcc904adb65d83c19cce192
operations.ts https://github.com/simstudioai/sim/pull/9097/files#diff-8e5b9606c97b1fe1307e2813b58c25851c7ada477f5a6b8805c5f456b11b5138
connector-save-concurrency.integration.ts https://github.com/simstudioai/sim/pull/9097/files#diff-7c74f177c47fb8818a779c1dcb32e9ada5aa859f9f1c55212978183a20755708
execution-archive-provenance.integration.ts https://github.com/simstudioai/sim/pull/9097/files#diff-394999dcd0787b20378e1d86321742a9da363beb391555ff6031ca839d84063b
processing-lock-scope.integration.ts https://github.com/simstudioai/sim/pull/9097/files#diff-f8202e32df3a5313448047e4714682d642d9db90d5995e0f8a58f7a5609180a8
upload-read-provenance.integration.ts https://github.com/simstudioai/sim/pull/9097/files#diff-0d0a07c16258e60c7996106c8e645627d907e85deca3bc3c5f0ad6f1867e6ca2
chunks.ts https://github.com/simstudioai/sim/pull/9097/files#diff-ba0c23039f1a9c819b81d833e0726da4963614822d3c641ec0eb83812f061fe9
service.ts https://github.com/simstudioai/sim/pull/9097/files#diff-b8eac784fda1486690e3491e3d247b16ec5de219e4068cad1c161adf0218b865
sync-persistence.ts https://github.com/simstudioai/sim/pull/9097/files#diff-ebb4244cb03a8db47201961838942947833e406e54102d2519780d1043d531be
lock-order.test.ts https://github.com/simstudioai/sim/pull/9097/files#diff-831a0d023fe8bf7260ee4e5319e909c8299564b2a5f48f0fc74b57decdf3afc7
service.ts https://github.com/simstudioai/sim/pull/9097/files#diff-12adff6ec055d413ec20f1debed4ca207b994d23df6de9aa4ef79bf47f2857b2
secret-provenance-delete.test.ts https://github.com/simstudioai/sim/pull/9097/files#diff-664511b725552dc4b72db29213c266c8f863d48291c6e39552b7a971feee5eec
service.test.ts https://github.com/simstudioai/sim/pull/9097/files#diff-6ab99007963a2c376955441371306a455d8efb669c82847e45df92c8f9d41858
service.ts https://github.com/simstudioai/sim/pull/9097/files#diff-4fdaff0349702c024b13f9efe5c76cfb3670292a7818fd9fe403ae789eae2632
content-delivery.integration.ts https://github.com/simstudioai/sim/pull/9097/files#diff-12d9bd21baac80e207317d6b9d3c1cb121c19213a84c641fd725c066b501c4e5
content-bulk.integration.ts https://github.com/simstudioai/sim/pull/9097/files#diff-818717e8fea7773314036604c566c22695f7f3044d5a6164f813d71cdba1df52
rows.ts https://github.com/simstudioai/sim/pull/9097/files#diff-54e60750fc863d4d4f70a80d2ae0f09bc223d6a42faf574f94f93fa8c935063b
secret-provenance.ts https://github.com/simstudioai/sim/pull/9097/files#diff-c596e887466f07fe84d02c25ab4be5746779df0d5c35286bf9ad0c7a87ab65af
service.ts https://github.com/simstudioai/sim/pull/9097/files#diff-bb7e45c4b7c8d660db1d230975eb35231ae2616360572a342fd56d37296bb23f
writes.integration.ts https://github.com/simstudioai/sim/pull/9097/files#diff-157defc11c76f0fbe4861aa441fe5139f9599193122f89e3d2675d1a5e9236d8
file-secret-provenance.test.ts https://github.com/simstudioai/sim/pull/9097/files#diff-a2aa4db07bdb1d5bfd7c7bf9639ab2ba485e9db59c12940792ead454785b5240
file-secret-provenance.ts https://github.com/simstudioai/sim/pull/9097/files#diff-4d23184a3ce4ccfe1764e6ddd008243948a24430b9107cf0ffadf8d1e63107d1
copilot-file-versions.integration.ts https://github.com/simstudioai/sim/pull/9097/files#diff-192f54b5313876ab03243b3d80fab15281c3484e712e11c2e770e3ee0d4656f5
archive-extraction.ts https://github.com/simstudioai/sim/pull/9097/files#diff-8d223c3ec302f809bff6ae2d0f30fc38bfd514afbc2a22678a225d7e973064ca
check-explicit-any.baseline.json https://github.com/simstudioai/sim/pull/9097/files#diff-780d04116ec981737479435cdb0364b49047711f2dfb93b671a9be50a1b0bb27
apps/sim/lib/internal/file/operations.test.tshttps://github.com/simstudioai/sim/pull/9097/files#diff-5b618a3954aee1f8dad948808cf9107f1f42b6a08bcc904adb65d83c19cce192
View file https://github.com/simstudioai/sim/blob/d7cc83e506ba48d1b1d7ede0b3d949538af8ccf8/apps/sim/lib/internal/file/operations.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9097/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9097/files#diff-5b618a3954aee1f8dad948808cf9107f1f42b6a08bcc904adb65d83c19cce192
https://github.com/simstudioai/sim/pull/9097/files#diff-5b618a3954aee1f8dad948808cf9107f1f42b6a08bcc904adb65d83c19cce192
apps/sim/lib/internal/file/operations.tshttps://github.com/simstudioai/sim/pull/9097/files#diff-8e5b9606c97b1fe1307e2813b58c25851c7ada477f5a6b8805c5f456b11b5138
View file https://github.com/simstudioai/sim/blob/d7cc83e506ba48d1b1d7ede0b3d949538af8ccf8/apps/sim/lib/internal/file/operations.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9097/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9097/files#diff-8e5b9606c97b1fe1307e2813b58c25851c7ada477f5a6b8805c5f456b11b5138
https://github.com/simstudioai/sim/pull/9097/files#diff-8e5b9606c97b1fe1307e2813b58c25851c7ada477f5a6b8805c5f456b11b5138
https://github.com/simstudioai/sim/pull/9097/files#diff-8e5b9606c97b1fe1307e2813b58c25851c7ada477f5a6b8805c5f456b11b5138
https://github.com/simstudioai/sim/pull/9097/files#diff-8e5b9606c97b1fe1307e2813b58c25851c7ada477f5a6b8805c5f456b11b5138
https://github.com/simstudioai/sim/pull/9097/files#diff-8e5b9606c97b1fe1307e2813b58c25851c7ada477f5a6b8805c5f456b11b5138
apps/sim/lib/knowledge/__integration__/connector-save-concurrency.integration.tshttps://github.com/simstudioai/sim/pull/9097/files#diff-7c74f177c47fb8818a779c1dcb32e9ada5aa859f9f1c55212978183a20755708
View file https://github.com/simstudioai/sim/blob/d7cc83e506ba48d1b1d7ede0b3d949538af8ccf8/apps/sim/lib/knowledge/__integration__/connector-save-concurrency.integration.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9097/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9097/files#diff-7c74f177c47fb8818a779c1dcb32e9ada5aa859f9f1c55212978183a20755708
https://github.com/simstudioai/sim/pull/9097/files#diff-7c74f177c47fb8818a779c1dcb32e9ada5aa859f9f1c55212978183a20755708
https://github.com/simstudioai/sim/pull/9097/files#diff-7c74f177c47fb8818a779c1dcb32e9ada5aa859f9f1c55212978183a20755708
https://github.com/simstudioai/sim/pull/9097/files#diff-7c74f177c47fb8818a779c1dcb32e9ada5aa859f9f1c55212978183a20755708
apps/sim/lib/knowledge/__integration__/execution-archive-provenance.integration.tshttps://github.com/simstudioai/sim/pull/9097/files#diff-394999dcd0787b20378e1d86321742a9da363beb391555ff6031ca839d84063b
View file https://github.com/simstudioai/sim/blob/d7cc83e506ba48d1b1d7ede0b3d949538af8ccf8/apps/sim/lib/knowledge/__integration__/execution-archive-provenance.integration.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9097/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9097/files#diff-394999dcd0787b20378e1d86321742a9da363beb391555ff6031ca839d84063b
https://github.com/simstudioai/sim/pull/9097/files#diff-394999dcd0787b20378e1d86321742a9da363beb391555ff6031ca839d84063b
https://github.com/simstudioai/sim/pull/9097/files#diff-394999dcd0787b20378e1d86321742a9da363beb391555ff6031ca839d84063b
https://github.com/simstudioai/sim/pull/9097/files#diff-394999dcd0787b20378e1d86321742a9da363beb391555ff6031ca839d84063b
https://github.com/simstudioai/sim/pull/9097/files#diff-394999dcd0787b20378e1d86321742a9da363beb391555ff6031ca839d84063b
https://github.com/simstudioai/sim/pull/9097/files#diff-394999dcd0787b20378e1d86321742a9da363beb391555ff6031ca839d84063b
https://github.com/simstudioai/sim/pull/9097/files#diff-394999dcd0787b20378e1d86321742a9da363beb391555ff6031ca839d84063b
Please reload this pagehttps://github.com/simstudioai/sim/pull/9097/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9097/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.