| react-profiling | 0 |
| react-import-map | react,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-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:656328fb-bff0-5ec2-75f4-d86917380a7e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A926:219171:C63D06:1178EC4:6AFB5DB9 |
| html-safe-nonce | a99d94de0dd4b4a45e38ef3447d46e87eb5cb8d1fcc63fb8e2c5241867b90374 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTI2OjIxOTE3MTpDNjNEMDY6MTE3OEVDNDo2QUZCNURCOSIsInZpc2l0b3JfaWQiOiI1NzAyMjYyMTYxODEyNDQ2NjQ5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 42124de24ac55f667936d233640c1dabd0e92be03b00abaa380eae724c5d33f1 |
| hovercard-subject-tag | pull_request:4585100326 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/8058/files |
| twitter:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| og:image:alt | Summary
Script migration 0021_embedding_search_connector backfilled the ranking projections' connector_id and acl columns synchronously, 500 rows per page under a 60s statement timeout. On emb... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | ea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 59ef97164c52cf59bd10558ddec9c4f482763988 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/simstudioai/sim/pull/8058/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8058%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8058%2Ffiles |
| Sign up | https://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 |
| Reload | https://github.com/simstudioai/sim/pull/8058/files |
| Reload | https://github.com/simstudioai/sim/pull/8058/files |
| Reload | https://github.com/simstudioai/sim/pull/8058/files |
| simstudioai | https://github.com/simstudioai |
| sim | https://github.com/simstudioai/sim |
| Code | https://github.com/simstudioai/sim |
| Issues129 (129) | https://github.com/simstudioai/sim/issues |
| Pull requests197 (197) | https://github.com/simstudioai/sim/pulls |
| Actions | https://github.com/simstudioai/sim/actions |
| Projects | https://github.com/simstudioai/sim/projects |
| Security and quality | https://github.com/simstudioai/sim/security |
| Insights | https://github.com/simstudioai/sim/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| waleedlatif1 | https://github.com/waleedlatif1 |
| staging | https://github.com/simstudioai/sim/tree/staging |
| fix/projection-acl-backfill-async | https://github.com/simstudioai/sim/tree/fix/projection-acl-backfill-async |
|
Conversation
42
| https://github.com/simstudioai/sim/pull/8058 |
|
Commits
6
| https://github.com/simstudioai/sim/pull/8058/commits |
|
Checks
33
| https://github.com/simstudioai/sim/pull/8058/checks |
|
Files changed
| https://github.com/simstudioai/sim/pull/8058/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/8058/files |
|
fix(knowledge): run the projection source/ACL backfill in the background instead of the deploy
| https://github.com/simstudioai/sim/pull/8058/files#top |
|
Show all changes
6 commits
| https://github.com/simstudioai/sim/pull/8058/files |
|
1dddb8b
fix(knowledge): run the projection source/ACL backfill in the backgro…
waleedlatif1 Sep 20, 2026
| https://github.com/simstudioai/sim/pull/8058/commits/1dddb8bd662f0e3e82c8873aad71f3e2027b9e39 |
|
8a64dd1
fix(knowledge): decide unfilled projection rows on their document and…
waleedlatif1 Sep 20, 2026
| https://github.com/simstudioai/sim/pull/8058/commits/8a64dd1cb83041963f4f7b4532490093ab079798 |
|
ecbda39
fix(knowledge): keep the outbox event pending until a deployment with…
waleedlatif1 Sep 20, 2026
| https://github.com/simstudioai/sim/pull/8058/commits/ecbda392048c5e43920751f33a409f37f1bcda46 |
|
526f659
fix(knowledge): start the projection backfill the way the table backf…
waleedlatif1 Sep 20, 2026
| https://github.com/simstudioai/sim/pull/8058/commits/526f659f2d55299b7ba3884b7f3a83820cd07df5 |
|
9435d51
fix(knowledge): refuse a projection backfill page size that is not a …
waleedlatif1 Sep 20, 2026
| https://github.com/simstudioai/sim/pull/8058/commits/9435d510fdd65fa8cec044626709b534bedfec02 |
|
ac644c0
fix(knowledge): check the projection backfill budget after the pause …
waleedlatif1 Sep 20, 2026
| https://github.com/simstudioai/sim/pull/8058/commits/ac644c06666acf4d53e494816d54284d87f29e33 |
|
Clear filters
| https://github.com/simstudioai/sim/pull/8058/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/8058/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/8058/files |
|
projection-source-acl-backfill.ts
| https://github.com/simstudioai/sim/pull/8058/files#diff-509276fe69dcb1c189a64523121a52900d803c98e4f2a68eed016d7775a496af |
|
predicate.postgres.test.ts
| https://github.com/simstudioai/sim/pull/8058/files#diff-0594c8e9ccb3d01589226b3540ac725c18ddafe355b80b2472f9905586c1161e |
|
predicate.test.ts
| https://github.com/simstudioai/sim/pull/8058/files#diff-cbeeaa5cc835fb1fedc629c869b2a5f952eb1c7343e44960b6a8dfe126660ff1 |
|
predicate.ts
| https://github.com/simstudioai/sim/pull/8058/files#diff-720ce8ebbff1c232b2a35c2b75ac2bb1983110156c6d866f4127172e619c4df3 |
|
projection-source-acl-backfill.test.ts
| https://github.com/simstudioai/sim/pull/8058/files#diff-bef812b85dc282fb8c3741a0125810e9aa01bfee59c41d360c08343edecf7caa |
|
projection-source-acl-backfill.ts
| https://github.com/simstudioai/sim/pull/8058/files#diff-7ac6330ea0a7cf0177d32cf3e57641976a88161cf7eaef1e38bad30fbe0c31ca |
|
queries.test.ts
| https://github.com/simstudioai/sim/pull/8058/files#diff-b5bc7cdb4cf5dd93b0dc5beb76436fb9e70fc036e89833eaf8d9defb8bc83c3b |
|
queries.ts
| https://github.com/simstudioai/sim/pull/8058/files#diff-5f10054baeef2f06350b32a6520d8f841f86a2fc908435296dd8dcb097497ba9 |
|
backfill-projection-source-acl.ts
| https://github.com/simstudioai/sim/pull/8058/files#diff-a1a8d5bdd73171ab6c7b8e66b28b70139ed93463a861c7cbce06ca6f4e66b2af |
|
script-migrations-paused-billing-attribution.test.ts
| https://github.com/simstudioai/sim/pull/8058/files#diff-509458c3951fa9cd2e97a7942fd977a83ef520c679d29dc242a5b2cacfb02743 |
|
0016_backfill_search_vectors.postgres.test.ts
| https://github.com/simstudioai/sim/pull/8058/files#diff-356dbbd8454d0f54e3461aeedfa2b0bec37bfa5930f8272878b0455ab14d6711 |
|
0021_embedding_search_connector.postgres.test.ts
| https://github.com/simstudioai/sim/pull/8058/files#diff-ec4e0f10a764b6d454d1944e270af3ba066294b238c60f388301dab9ee93b538 |
|
0021_embedding_search_connector.test.ts
| https://github.com/simstudioai/sim/pull/8058/files#diff-7030952f8a72f4a67628574075fa8162bd41bf9481491a8c4282d0b4569a77b6 |
|
0021_embedding_search_connector.ts
| https://github.com/simstudioai/sim/pull/8058/files#diff-053cef46b422b9c5acf830b1c477ac221deb525da87b191e907a27c482525674 |
|
0022_projection_source_acl_backfill.ts
| https://github.com/simstudioai/sim/pull/8058/files#diff-494c46c703abe040199f2860d79226c70aaf38211df221737d945da96409752d |
|
index.ts
| https://github.com/simstudioai/sim/pull/8058/files#diff-4c8058a0b924ce061c5ce010c1308148ea03720952dda10d03cee092b61adbd6 |
| apps/sim/background/projection-source-acl-backfill.ts | https://github.com/simstudioai/sim/pull/8058/files#diff-509276fe69dcb1c189a64523121a52900d803c98e4f2a68eed016d7775a496af |
|
View file
| https://github.com/simstudioai/sim/blob/ac644c06666acf4d53e494816d54284d87f29e33/apps/sim/background/projection-source-acl-backfill.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8058/{{ revealButtonHref }} |
| apps/sim/lib/knowledge/access/predicate.postgres.test.ts | https://github.com/simstudioai/sim/pull/8058/files#diff-0594c8e9ccb3d01589226b3540ac725c18ddafe355b80b2472f9905586c1161e |
|
View file
| https://github.com/simstudioai/sim/blob/ac644c06666acf4d53e494816d54284d87f29e33/apps/sim/lib/knowledge/access/predicate.postgres.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8058/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8058/files#diff-0594c8e9ccb3d01589226b3540ac725c18ddafe355b80b2472f9905586c1161e |
|
| https://github.com/simstudioai/sim/pull/8058/files#diff-0594c8e9ccb3d01589226b3540ac725c18ddafe355b80b2472f9905586c1161e |
| apps/sim/lib/knowledge/access/predicate.test.ts | https://github.com/simstudioai/sim/pull/8058/files#diff-cbeeaa5cc835fb1fedc629c869b2a5f952eb1c7343e44960b6a8dfe126660ff1 |
|
View file
| https://github.com/simstudioai/sim/blob/ac644c06666acf4d53e494816d54284d87f29e33/apps/sim/lib/knowledge/access/predicate.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8058/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8058/files#diff-cbeeaa5cc835fb1fedc629c869b2a5f952eb1c7343e44960b6a8dfe126660ff1 |
|
| https://github.com/simstudioai/sim/pull/8058/files#diff-cbeeaa5cc835fb1fedc629c869b2a5f952eb1c7343e44960b6a8dfe126660ff1 |
| apps/sim/lib/knowledge/access/predicate.ts | https://github.com/simstudioai/sim/pull/8058/files#diff-720ce8ebbff1c232b2a35c2b75ac2bb1983110156c6d866f4127172e619c4df3 |
|
View file
| https://github.com/simstudioai/sim/blob/ac644c06666acf4d53e494816d54284d87f29e33/apps/sim/lib/knowledge/access/predicate.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8058/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8058/files#diff-720ce8ebbff1c232b2a35c2b75ac2bb1983110156c6d866f4127172e619c4df3 |
|
| https://github.com/simstudioai/sim/pull/8058/files#diff-720ce8ebbff1c232b2a35c2b75ac2bb1983110156c6d866f4127172e619c4df3 |
|
| https://github.com/simstudioai/sim/pull/8058/files#diff-720ce8ebbff1c232b2a35c2b75ac2bb1983110156c6d866f4127172e619c4df3 |
| apps/sim/lib/knowledge/search/projection-source-acl-backfill.test.ts | https://github.com/simstudioai/sim/pull/8058/files#diff-bef812b85dc282fb8c3741a0125810e9aa01bfee59c41d360c08343edecf7caa |
|
View file
| https://github.com/simstudioai/sim/blob/ac644c06666acf4d53e494816d54284d87f29e33/apps/sim/lib/knowledge/search/projection-source-acl-backfill.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8058/{{ revealButtonHref }} |
| apps/sim/lib/knowledge/search/projection-source-acl-backfill.ts | https://github.com/simstudioai/sim/pull/8058/files#diff-7ac6330ea0a7cf0177d32cf3e57641976a88161cf7eaef1e38bad30fbe0c31ca |
|
View file
| https://github.com/simstudioai/sim/blob/ac644c06666acf4d53e494816d54284d87f29e33/apps/sim/lib/knowledge/search/projection-source-acl-backfill.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8058/{{ revealButtonHref }} |
| apps/sim/lib/knowledge/search/queries.test.ts | https://github.com/simstudioai/sim/pull/8058/files#diff-b5bc7cdb4cf5dd93b0dc5beb76436fb9e70fc036e89833eaf8d9defb8bc83c3b |
|
View file
| https://github.com/simstudioai/sim/blob/ac644c06666acf4d53e494816d54284d87f29e33/apps/sim/lib/knowledge/search/queries.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8058/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8058/files#diff-b5bc7cdb4cf5dd93b0dc5beb76436fb9e70fc036e89833eaf8d9defb8bc83c3b |
|
| https://github.com/simstudioai/sim/pull/8058/files#diff-b5bc7cdb4cf5dd93b0dc5beb76436fb9e70fc036e89833eaf8d9defb8bc83c3b |
| Please reload this page | https://github.com/simstudioai/sim/pull/8058/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/8058/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |