| 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:400cd7c1-6ec8-e893-e29a-d8a8280ae303 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CEA2:8EADF:2B803E:3F6AE8:6AFB14BC |
| html-safe-nonce | 3c5fc7d8ce65d1edfd54c4cd87f6bed67535379f198742d1b64e1cead1ce97ad |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRUEyOjhFQURGOjJCODAzRTozRjZBRTg6NkFGQjE0QkMiLCJ2aXNpdG9yX2lkIjoiMzI0NDk1MTk0Njg3OTc2Nzc0MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b387cc60015ce449976bfb5cf497f244f13b5a90e05029dd117c000ecb35e814 |
| hovercard-subject-tag | pull_request:5095920871 |
| 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/9511/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
The shadow-copy Search retirement tool (retire-indexed-search.ts) can't practically finish:
While its change log is past 10k rows, each page only reconciles, so the copy stops advanci... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4275ec98d19a530a209480d02854be81de24ad5a05b648333242fc516bfb573c |
| 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 | ba13208acc32a4e7a4a3b54cb2f0dea6001ba5f8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/simstudioai/sim/pull/9511/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F9511%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%2F9511%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/9511/files |
| Reload | https://github.com/simstudioai/sim/pull/9511/files |
| Reload | https://github.com/simstudioai/sim/pull/9511/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 requests198 (198) | 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 |
| chore/retire-search-projection-rows | https://github.com/simstudioai/sim/tree/chore/retire-search-projection-rows |
|
Conversation
48
| https://github.com/simstudioai/sim/pull/9511 |
|
Commits
8
| https://github.com/simstudioai/sim/pull/9511/commits |
|
Checks
69
| https://github.com/simstudioai/sim/pull/9511/checks |
|
Files changed
| https://github.com/simstudioai/sim/pull/9511/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/9511/files |
|
chore(search): retire legacy search knowledge base projection rows in place
| https://github.com/simstudioai/sim/pull/9511/files#top |
|
Show all changes
8 commits
| https://github.com/simstudioai/sim/pull/9511/files |
|
293513f
chore(search): retire legacy search knowledge base projection rows in…
waleedlatif1 Oct 31, 2026
| https://github.com/simstudioai/sim/pull/9511/commits/293513fbab86be9dd6d11c9921cb973e833662d2 |
|
a22c263
fix(search): keep the purge on its locked session and refresh the dev…
waleedlatif1 Oct 31, 2026
| https://github.com/simstudioai/sim/pull/9511/commits/a22c263c706017d030509b642e5cab58994aca5d |
|
e404119
test(search): expect no vector candidates for a dormant search index
waleedlatif1 Oct 31, 2026
| https://github.com/simstudioai/sim/pull/9511/commits/e404119006349b503c889e99180a326514892b1a |
|
ae18bda
chore(search): renumber the projection retirement migration to 0449 a…
waleedlatif1 Oct 31, 2026
| https://github.com/simstudioai/sim/pull/9511/commits/ae18bda7a887bd4b5e173109b3e708420cd84ab3 |
|
67d1976
fix(search): lock each purge batch's rows before deleting them by tup…
waleedlatif1 Oct 31, 2026
| https://github.com/simstudioai/sim/pull/9511/commits/67d19769a53b2c8bffdaf516eeeb72ae9a308f18 |
|
30f50b4
test(search): bound the wait for the purge to block on the updated rows
waleedlatif1 Oct 31, 2026
| https://github.com/simstudioai/sim/pull/9511/commits/30f50b430f76677b1abc4eabe755a0905ce20795 |
|
2d873a9
fix(search): refuse the purge until migration 0449 is live
waleedlatif1 Oct 31, 2026
| https://github.com/simstudioai/sim/pull/9511/commits/2d873a9e879249fa2de45c91cbef3d76092cb87f |
|
c50c2ac
fix(search): require the purge preflight's trigger to fire and call t…
waleedlatif1 Oct 31, 2026
| https://github.com/simstudioai/sim/pull/9511/commits/c50c2ac9bdcadb58e89044cb63befb490b0df083 |
|
Clear filters
| https://github.com/simstudioai/sim/pull/9511/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/9511/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/9511/files |
|
workspace-kb-document-access.integration.ts
| https://github.com/simstudioai/sim/pull/9511/files#diff-0b950f1d6b957fcc73888585e94f624b89dd5c7cb179303a709aac252571d033 |
|
knowledge-projection.ts
| https://github.com/simstudioai/sim/pull/9511/files#diff-21ab0eaffd5320c7cbb8b24115e73f6962afde3cc00a873239701bb453282e2b |
|
index.ts
| https://github.com/simstudioai/sim/pull/9511/files#diff-369c800ca2861c4e8b60295e216e73115b8b31bd17b6d81578f1fae9577a29e8 |
|
search-retirement-health.test.ts
| https://github.com/simstudioai/sim/pull/9511/files#diff-396d8f326a1f467b74dc45aad8b15d3ba0d2929c1ecd095d68d46a1a0aba3b08 |
|
search-retirement-health.ts
| https://github.com/simstudioai/sim/pull/9511/files#diff-124ea5a56618744743753b63881159783ca9a785ce9b6c1917e2848562de373f |
|
search-retirement.integration.ts
| https://github.com/simstudioai/sim/pull/9511/files#diff-157708b80684ff8713d933a1cb9f2fc7852062f39ed77123ca919c54e652321b |
|
search-retirement.ts
| https://github.com/simstudioai/sim/pull/9511/files#diff-c41e7819cab17d60b632707a65e24713b6fcc6d2ce44c4fda49d638441d46bfd |
|
0449_retire_search_projection_writes.sql
| https://github.com/simstudioai/sim/pull/9511/files#diff-dedd943a38ed5bed528046385940c7f42b2b290b72156e0dc639aa44953d9811 |
|
0449_snapshot.json
| https://github.com/simstudioai/sim/pull/9511/files#diff-d2b94cd675634af89470f7da96fb7b7e4ed7c6365cbe0cced1346d38fd29bfde |
|
_journal.json
| https://github.com/simstudioai/sim/pull/9511/files#diff-37150cc65ad16ee6fbc5fa318fc096be7730e16d63eaf863e3df5521b7030649 |
|
package.json
| https://github.com/simstudioai/sim/pull/9511/files#diff-c89735ad606b83e822d493ca765a37afb7fcd2e5621f828a2cfc984ed5e67367 |
|
schema.ts
| https://github.com/simstudioai/sim/pull/9511/files#diff-9a959e2ce3cb4c86957bbae021d06eae364f7b0cb18964f5873bab53220af928 |
|
0016_backfill_search_vectors.integration.ts
| https://github.com/simstudioai/sim/pull/9511/files#diff-1bdec0d650a77d94891a127f1353fb9a19b9cfdc1a9e6afaa5889df1f3fd1742 |
|
0016_backfill_search_vectors.ts
| https://github.com/simstudioai/sim/pull/9511/files#diff-8fb653c37076b45a7ecd5611b929c27821b23d8149091ec5652b1ba4c2d803d7 |
|
0027_retire_search_embeddings.ts
| https://github.com/simstudioai/sim/pull/9511/files#diff-96715460a502d59053405cf39229bf0663576a2d865174d5cbdf25e3d6d01bdc |
|
index.ts
| https://github.com/simstudioai/sim/pull/9511/files#diff-4c8058a0b924ce061c5ce010c1308148ea03720952dda10d03cee092b61adbd6 |
|
purge-search-projection.integration.ts
| https://github.com/simstudioai/sim/pull/9511/files#diff-c6e2609d1daf1a8cf9c5a8c78749bd31f6ac1dfb949f7eb38ce713081bd000ab |
|
purge-search-projection.test.ts
| https://github.com/simstudioai/sim/pull/9511/files#diff-e95fa41d0ebe258b51a73decf0833ab34dc85ec22b9500c424ee92a8200944e8 |
|
purge-search-projection.ts
| https://github.com/simstudioai/sim/pull/9511/files#diff-f05cd313e043fb75e9c5373e44217fbea0aa9c662bb8f335cb39e0df61d19e3f |
|
push.ts
| https://github.com/simstudioai/sim/pull/9511/files#diff-1cea81461793525069fcd588c91151e4913e3557208c7c31bb416794e6e76f30 |
|
retire-indexed-search.ts
| https://github.com/simstudioai/sim/pull/9511/files#diff-5e77d9bc8ac9b7a9a52784409d620bcff2e1956b11306d4380d58e4d26ea0c4d |
|
check-unused-exports.baseline.json
| https://github.com/simstudioai/sim/pull/9511/files#diff-4b59a8526a4f226dffb0fbf6b8ec25d3082ab45da697f584eaaca4bd483c928f |
|
vitest.integration-durations.json
| https://github.com/simstudioai/sim/pull/9511/files#diff-16efb64d3d78dbc32b2a4c52e1110d75ad8632914b13407569f000dcac66cef6 |
| apps/sim/lib/knowledge/__integration__/workspace-kb-document-access.integration.ts | https://github.com/simstudioai/sim/pull/9511/files#diff-0b950f1d6b957fcc73888585e94f624b89dd5c7cb179303a709aac252571d033 |
|
View file
| https://github.com/simstudioai/sim/blob/c50c2ac9bdcadb58e89044cb63befb490b0df083/apps/sim/lib/knowledge/__integration__/workspace-kb-document-access.integration.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/9511/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/9511/files#diff-0b950f1d6b957fcc73888585e94f624b89dd5c7cb179303a709aac252571d033 |
|
| https://github.com/simstudioai/sim/pull/9511/files#diff-0b950f1d6b957fcc73888585e94f624b89dd5c7cb179303a709aac252571d033 |
|
| https://github.com/simstudioai/sim/pull/9511/files#diff-0b950f1d6b957fcc73888585e94f624b89dd5c7cb179303a709aac252571d033 |
|
| https://github.com/simstudioai/sim/pull/9511/files#diff-0b950f1d6b957fcc73888585e94f624b89dd5c7cb179303a709aac252571d033 |
|
| https://github.com/simstudioai/sim/pull/9511/files#diff-0b950f1d6b957fcc73888585e94f624b89dd5c7cb179303a709aac252571d033 |
|
| https://github.com/simstudioai/sim/pull/9511/files#diff-0b950f1d6b957fcc73888585e94f624b89dd5c7cb179303a709aac252571d033 |
| packages/db/knowledge-projection.ts | https://github.com/simstudioai/sim/pull/9511/files#diff-21ab0eaffd5320c7cbb8b24115e73f6962afde3cc00a873239701bb453282e2b |
|
View file
| https://github.com/simstudioai/sim/blob/c50c2ac9bdcadb58e89044cb63befb490b0df083/packages/db/knowledge-projection.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/9511/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/9511/files#diff-21ab0eaffd5320c7cbb8b24115e73f6962afde3cc00a873239701bb453282e2b |
|
| https://github.com/simstudioai/sim/pull/9511/files#diff-21ab0eaffd5320c7cbb8b24115e73f6962afde3cc00a873239701bb453282e2b |
|
| https://github.com/simstudioai/sim/pull/9511/files#diff-21ab0eaffd5320c7cbb8b24115e73f6962afde3cc00a873239701bb453282e2b |
|
| https://github.com/simstudioai/sim/pull/9511/files#diff-21ab0eaffd5320c7cbb8b24115e73f6962afde3cc00a873239701bb453282e2b |
|
| https://github.com/simstudioai/sim/pull/9511/files#diff-21ab0eaffd5320c7cbb8b24115e73f6962afde3cc00a873239701bb453282e2b |
| packages/db/maintenance/index.ts | https://github.com/simstudioai/sim/pull/9511/files#diff-369c800ca2861c4e8b60295e216e73115b8b31bd17b6d81578f1fae9577a29e8 |
|
View file
| https://github.com/simstudioai/sim/blob/22bf85a4b40f0ff26ffda06f583f04295e5578f2/packages/db/maintenance/index.ts |
|
Open in desktop
| https://desktop.github.com |
| Please reload this page | https://github.com/simstudioai/sim/pull/9511/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/9511/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/9511/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 |