René's URL Explorer Experiment


Title: fix(backend): add filesystem-first scan to GC to handle orphaned disk resources by brendan-kellam · Pull Request #973 · sourcebot-dev/sourcebot · GitHub

Open Graph Title: fix(backend): add filesystem-first scan to GC to handle orphaned disk resources by brendan-kellam · Pull Request #973 · sourcebot-dev/sourcebot

X Title: fix(backend): add filesystem-first scan to GC to handle orphaned disk resources by brendan-kellam · Pull Request #973 · sourcebot-dev/sourcebot

Description: Sourcebot is a self-hosted tool that helps humans and agents understand your codebase. - fix(backend): add filesystem-first scan to GC to handle orphaned disk resources by brendan-kellam · Pull Request #973 · sourcebot-dev/sourcebot

Open Graph Description: Summary Adds cleanupOrphanedDiskResources() to RepoIndexManager which walks the repos/ and index/ directories on disk and removes any entries with no corresponding Repo record in the database Runs...

X Description: Summary Adds cleanupOrphanedDiskResources() to RepoIndexManager which walks the repos/ and index/ directories on disk and removes any entries with no corresponding Repo record in the database Runs...

Opengraph URL: https://github.com/sourcebot-dev/sourcebot/pull/973

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:3a2ed653-6f4c-1bee-8cac-865492671d15
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id811A:38A7FD:F26F33:14F13A0:6A4DD78E
html-safe-nonced17bc1a93cc1234431ac6976d4dfa7a99c2a255c149f3782b379cc847884f85c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTFBOjM4QTdGRDpGMjZGMzM6MTRGMTNBMDo2QTRERDc4RSIsInZpc2l0b3JfaWQiOiI2MjI2Mzk4ODA1NDc3NTY5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac163788beb29f99c130dcaa0dda2af6e6ddea4d102717865e96b9414e2eabb22e
hovercard-subject-tagpull_request:3345722633
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/sourcebot-dev/sourcebot/973/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/92f2c1bd524b7ecb3f76a1d7bc51cfe6bf0bf24eeead03d64e63f02d64086001/sourcebot-dev/sourcebot/pull/973
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/92f2c1bd524b7ecb3f76a1d7bc51cfe6bf0bf24eeead03d64e63f02d64086001/sourcebot-dev/sourcebot/pull/973
og:image:altSummary Adds cleanupOrphanedDiskResources() to RepoIndexManager which walks the repos/ and index/ directories on disk and removes any entries with no corresponding Repo record in the database Runs...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebrendan-kellam
hostnamegithub.com
expected-hostnamegithub.com
None06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33
turbo-cache-controlno-cache
go-importgithub.com/sourcebot-dev/sourcebot git https://github.com/sourcebot-dev/sourcebot.git
octolytics-dimension-user_id135396723
octolytics-dimension-user_loginsourcebot-dev
octolytics-dimension-repository_id846729675
octolytics-dimension-repository_nwosourcebot-dev/sourcebot
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id846729675
octolytics-dimension-repository_network_root_nwosourcebot-dev/sourcebot
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/sourcebot-dev/sourcebot/pull/973#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsourcebot-dev%2Fsourcebot%2Fpull%2F973
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsourcebot-dev%2Fsourcebot%2Fpull%2F973
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=sourcebot-dev%2Fsourcebot
Reloadhttps://github.com/sourcebot-dev/sourcebot/pull/973
Reloadhttps://github.com/sourcebot-dev/sourcebot/pull/973
Reloadhttps://github.com/sourcebot-dev/sourcebot/pull/973
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/973
sourcebot-dev https://github.com/sourcebot-dev
sourcebothttps://github.com/sourcebot-dev/sourcebot
Notifications https://github.com/login?return_to=%2Fsourcebot-dev%2Fsourcebot
Fork 316 https://github.com/login?return_to=%2Fsourcebot-dev%2Fsourcebot
Star 3.6k https://github.com/login?return_to=%2Fsourcebot-dev%2Fsourcebot
Code https://github.com/sourcebot-dev/sourcebot
Issues 92 https://github.com/sourcebot-dev/sourcebot/issues
Pull requests 36 https://github.com/sourcebot-dev/sourcebot/pulls
Discussions https://github.com/sourcebot-dev/sourcebot/discussions
Actions https://github.com/sourcebot-dev/sourcebot/actions
Security and quality 0 https://github.com/sourcebot-dev/sourcebot/security
Insights https://github.com/sourcebot-dev/sourcebot/pulse
Code https://github.com/sourcebot-dev/sourcebot
Issues https://github.com/sourcebot-dev/sourcebot/issues
Pull requests https://github.com/sourcebot-dev/sourcebot/pulls
Discussions https://github.com/sourcebot-dev/sourcebot/discussions
Actions https://github.com/sourcebot-dev/sourcebot/actions
Security and quality https://github.com/sourcebot-dev/sourcebot/security
Insights https://github.com/sourcebot-dev/sourcebot/pulse
brendan-kellamhttps://github.com/brendan-kellam
mainhttps://github.com/sourcebot-dev/sourcebot/tree/main
brendan/filesystem-first-gc-scanhttps://github.com/sourcebot-dev/sourcebot/tree/brendan/filesystem-first-gc-scan
Conversationhttps://github.com/sourcebot-dev/sourcebot/pull/973
Commits3 (3)https://github.com/sourcebot-dev/sourcebot/pull/973/commits
Checkshttps://github.com/sourcebot-dev/sourcebot/pull/973/checks
Files changedhttps://github.com/sourcebot-dev/sourcebot/pull/973/files
fix(backend): add filesystem-first scan to GC to handle orphaned disk resourceshttps://github.com/sourcebot-dev/sourcebot/pull/973#top
brendan-kellamhttps://github.com/brendan-kellam
mainhttps://github.com/sourcebot-dev/sourcebot/tree/main
brendan/filesystem-first-gc-scanhttps://github.com/sourcebot-dev/sourcebot/tree/brendan/filesystem-first-gc-scan
https://github.com/brendan-kellam
brendan-kellamhttps://github.com/brendan-kellam
Mar 2, 2026https://github.com/sourcebot-dev/sourcebot/pull/973#issue-4012985256
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/973
Claude Codehttps://claude.com/claude-code
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/973
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsourcebot-dev%2Fsourcebot%2Fpull%2F973
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Mar 2, 2026https://github.com/sourcebot-dev/sourcebot/pull/973#issuecomment-3986523950
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/973
feef580https://github.com/sourcebot-dev/sourcebot/commit/feef580ba370d1d1a5668b0c6c37041a37c27403
d942550https://github.com/sourcebot-dev/sourcebot/commit/d94255033919c774ad8c525775917c7c67e28e72
fix(worker): Add tmp shard cleanup on indexing failure #805https://github.com/sourcebot-dev/sourcebot/pull/805
chore(worker): Migrate off of groupmq #860https://github.com/sourcebot-dev/sourcebot/pull/860
chore(web): use git show for fetching file contents #829https://github.com/sourcebot-dev/sourcebot/pull/829
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=sourcebot-dev/sourcebot&utm_content=973
Xhttps://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai
Mastodonhttps://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai
Reddithttps://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai
LinkedInhttps://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/973
https://github.com/brendan-kellam
https://github.com/claude
fix(backend): add filesystem-first scan to GC to handle orphaned disk…https://github.com/sourcebot-dev/sourcebot/pull/973/commits/feef580ba370d1d1a5668b0c6c37041a37c27403
feef580https://github.com/sourcebot-dev/sourcebot/pull/973/commits/feef580ba370d1d1a5668b0c6c37041a37c27403
https://github.com/brendan-kellam
brendan-kellamhttps://github.com/brendan-kellam
force-pushedhttps://github.com/sourcebot-dev/sourcebot/compare/0423e5c6af0f92eafcb0cdccf8af4e9b5a75c6e4..feef580ba370d1d1a5668b0c6c37041a37c27403
0423e5chttps://github.com/sourcebot-dev/sourcebot/commit/0423e5c6af0f92eafcb0cdccf8af4e9b5a75c6e4
feef580https://github.com/sourcebot-dev/sourcebot/commit/feef580ba370d1d1a5668b0c6c37041a37c27403
Compare https://github.com/sourcebot-dev/sourcebot/compare/0423e5c6af0f92eafcb0cdccf8af4e9b5a75c6e4..feef580ba370d1d1a5668b0c6c37041a37c27403
March 2, 2026 19:48https://github.com/sourcebot-dev/sourcebot/pull/973#event-23203967894
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Mar 2, 2026 https://github.com/sourcebot-dev/sourcebot/pull/973#pullrequestreview-3878357699
View reviewed changes https://github.com/sourcebot-dev/sourcebot/pull/973/files/feef580ba370d1d1a5668b0c6c37041a37c27403
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/sourcebot-dev/sourcebot/pull/973#pullrequestreview-3878357699
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
4004933https://github.com/sourcebot-dev/sourcebot/commit/4004933c103506a08c0042510aac86cbe405fb8e
feef580https://github.com/sourcebot-dev/sourcebot/commit/feef580ba370d1d1a5668b0c6c37041a37c27403
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/973
packages/backend/src/repoIndexManager.tshttps://github.com/sourcebot-dev/sourcebot/pull/973/files/feef580ba370d1d1a5668b0c6c37041a37c27403#diff-be2f0e92bd5f1b5436d30c1a187a87a641f66dc7685dfe261604036f8b31562c
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/973
packages/shared/src/utils.tshttps://github.com/sourcebot-dev/sourcebot/pull/973/files/feef580ba370d1d1a5668b0c6c37041a37c27403#diff-1e4115eab367ce30ddd379ec6a3856d6c7fc8aa4f3c03ef685418c4938b15289
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/973
brendan-kellamhttps://github.com/brendan-kellam
March 2, 2026 12:40https://github.com/sourcebot-dev/sourcebot/pull/973#commits-pushed-005dc41
https://github.com/brendan-kellam
Merge branch 'main' into brendan/filesystem-first-gc-scanhttps://github.com/sourcebot-dev/sourcebot/pull/973/commits/005dc41daabee6a8622d2bdb877f1d925369434f
005dc41https://github.com/sourcebot-dev/sourcebot/pull/973/commits/005dc41daabee6a8622d2bdb877f1d925369434f
https://github.com/brendan-kellam
wiphttps://github.com/sourcebot-dev/sourcebot/pull/973/commits/d94255033919c774ad8c525775917c7c67e28e72
d942550https://github.com/sourcebot-dev/sourcebot/pull/973/commits/d94255033919c774ad8c525775917c7c67e28e72
https://github.com/brendan-kellam
brendan-kellamhttps://github.com/brendan-kellam
fde1280https://github.com/sourcebot-dev/sourcebot/commit/fde128062a9da01f7a5a8a74f18ffa71f2aa6c26
Mar 2, 2026https://github.com/sourcebot-dev/sourcebot/pull/973#event-23205625575
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/973
https://github.com/brendan-kellam
brendan-kellamhttps://github.com/brendan-kellam
March 2, 2026 20:55https://github.com/sourcebot-dev/sourcebot/pull/973#event-23205626695
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Mar 2, 2026 https://github.com/sourcebot-dev/sourcebot/pull/973#ref-issue-3315242343
Sourcebot Roadmap 🚀 #459 https://github.com/sourcebot-dev/sourcebot/issues/459
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
May 6, 2026 https://github.com/sourcebot-dev/sourcebot/pull/973#ref-pullrequest-4394780844
chore(worker): Reduce logger verbosity #1179 https://github.com/sourcebot-dev/sourcebot/pull/1179
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
May 29, 2026 https://github.com/sourcebot-dev/sourcebot/pull/973#ref-pullrequest-4551340391
fix: reconcile missing zoekt shards on startup - Fixes #1210 #1246 https://github.com/sourcebot-dev/sourcebot/pull/1246
fix(worker): re-index repos whose zoekt shards are missing from disk #1304 https://github.com/sourcebot-dev/sourcebot/pull/1304
fix(worker): reindex repos with missing zoekt shards #1350 https://github.com/sourcebot-dev/sourcebot/pull/1350
https://github.co/hiddenchars
https://github.com/sourcebot-dev/sourcebot/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsourcebot-dev%2Fsourcebot%2Fpull%2F973
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/sourcebot-dev/sourcebot/pull/973/files/feef580ba370d1d1a5668b0c6c37041a37c27403
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/973
https://github.com/brendan-kellam
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.