René's URL Explorer Experiment


Title: fix(web): show missing-file state in browse by DivyamTalwar · Pull Request #1381 · sourcebot-dev/sourcebot · GitHub

Open Graph Title: fix(web): show missing-file state in browse by DivyamTalwar · Pull Request #1381 · sourcebot-dev/sourcebot

X Title: fix(web): show missing-file state in browse by DivyamTalwar · Pull Request #1381 · sourcebot-dev/sourcebot

Description: Sourcebot is a self-hosted tool that helps humans and agents understand your codebase. - fix(web): show missing-file state in browse by DivyamTalwar · Pull Request #1381 · sourcebot-dev/sourcebot

Open Graph Description: Fixes #827 Problem When a user browses to a blob path that does not exist, Sourcebot currently renders the raw service error (Error loading file source: ...). This can happen after changing branche...

X Description: Fixes #827 Problem When a user browses to a blob path that does not exist, Sourcebot currently renders the raw service error (Error loading file source: ...). This can happen after changing branche...

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

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:3bfd7d92-7c0e-7871-7fcf-d4d028f0171e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC8A6:1F16:1C9AAA:28D5DB:6A4F47FD
html-safe-nonce90e7a1d5a926a1c5722c47683a06f1a9c86d440826dd7d59e0aa6a62ea9107c6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOEE2OjFGMTY6MUM5QUFBOjI4RDVEQjo2QTRGNDdGRCIsInZpc2l0b3JfaWQiOiI0MzgyNzM2NjA4MDM5NzQ5NjI5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacfa1bd65a3fd5525aa415ef7007552e1a62d37391f7aab61aec1dadfc9b71a347
hovercard-subject-tagpull_request:3949380042
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/1381/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/3168b4544a26c5922e1d1f3e67218ca5206276aacfd7ee1d14f66eacbefe7ea2/sourcebot-dev/sourcebot/pull/1381
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3168b4544a26c5922e1d1f3e67218ca5206276aacfd7ee1d14f66eacbefe7ea2/sourcebot-dev/sourcebot/pull/1381
og:image:altFixes #827 Problem When a user browses to a blob path that does not exist, Sourcebot currently renders the raw service error (Error loading file source: ...). This can happen after changing branche...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameDivyamTalwar
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
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
release4b249b445842943ed31549e027f57a8ade9881ed
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/sourcebot-dev/sourcebot/pull/1381#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsourcebot-dev%2Fsourcebot%2Fpull%2F1381
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/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/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/enterprise/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%2F1381
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/1381
Reloadhttps://github.com/sourcebot-dev/sourcebot/pull/1381
Reloadhttps://github.com/sourcebot-dev/sourcebot/pull/1381
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/1381
sourcebot-dev https://github.com/sourcebot-dev
sourcebothttps://github.com/sourcebot-dev/sourcebot
Notifications https://github.com/login?return_to=%2Fsourcebot-dev%2Fsourcebot
Fork 318 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 37 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
DivyamTalwarhttps://github.com/DivyamTalwar
sourcebot-dev:mainhttps://github.com/sourcebot-dev/sourcebot/tree/main
DivyamTalwar:divyamtalwar/fix-827-browse-file-not-foundhttps://github.com/DivyamTalwar/sourcebot/tree/divyamtalwar/fix-827-browse-file-not-found
Conversationhttps://github.com/sourcebot-dev/sourcebot/pull/1381
Commits8 (8)https://github.com/sourcebot-dev/sourcebot/pull/1381/commits
Checkshttps://github.com/sourcebot-dev/sourcebot/pull/1381/checks
Files changedhttps://github.com/sourcebot-dev/sourcebot/pull/1381/files
fix(web): show missing-file state in browsehttps://github.com/sourcebot-dev/sourcebot/pull/1381#top
DivyamTalwarhttps://github.com/DivyamTalwar
sourcebot-dev:mainhttps://github.com/sourcebot-dev/sourcebot/tree/main
DivyamTalwar:divyamtalwar/fix-827-browse-file-not-foundhttps://github.com/DivyamTalwar/sourcebot/tree/divyamtalwar/fix-827-browse-file-not-found
https://github.com/DivyamTalwar
DivyamTalwarhttps://github.com/DivyamTalwar
Jun 28, 2026https://github.com/sourcebot-dev/sourcebot/pull/1381#issue-4760485002
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/1381
#827https://github.com/sourcebot-dev/sourcebot/issues/827
#837https://github.com/sourcebot-dev/sourcebot/pull/837
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/1381
https://github.com/DivyamTalwar
Show a useful browse 404 for missing fileshttps://github.com/sourcebot-dev/sourcebot/pull/1381/commits/6eeb568a984247922cc33b5c5904a617a1c38a39
6eeb568https://github.com/sourcebot-dev/sourcebot/pull/1381/commits/6eeb568a984247922cc33b5c5904a617a1c38a39
sourcebot-dev#837https://github.com/sourcebot-dev/sourcebot/pull/837
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jun 28, 2026https://github.com/sourcebot-dev/sourcebot/pull/1381#issuecomment-4823298564
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/1381
https://app.coderabbit.ai/change-stack/sourcebot-dev/sourcebot/pull/1381?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack
sourcebot-dev/sourcebot#665https://github.com/sourcebot-dev/sourcebot/pull/665
sourcebot-dev/sourcebot#797https://github.com/sourcebot-dev/sourcebot/pull/797
sourcebot-dev/sourcebot#813https://github.com/sourcebot-dev/sourcebot/pull/813
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=sourcebot-dev/sourcebot&utm_content=1381
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/1381
DivyamTalwarhttps://github.com/DivyamTalwar
June 28, 2026 05:54https://github.com/sourcebot-dev/sourcebot/pull/1381#commits-pushed-1742737
https://github.com/DivyamTalwar
Record browse missing-file state in changeloghttps://github.com/sourcebot-dev/sourcebot/pull/1381/commits/17427376984a178cb34548cd62fcc85daf42f465
1742737https://github.com/sourcebot-dev/sourcebot/pull/1381/commits/17427376984a178cb34548cd62fcc85daf42f465
sourcebot-dev#1381https://github.com/sourcebot-dev/sourcebot/pull/1381
https://github.com/DivyamTalwar
Sync missing-file PR with current mainhttps://github.com/sourcebot-dev/sourcebot/pull/1381/commits/78b2eb23945a4223380498fcd40cb4285be5685a
78b2eb2https://github.com/sourcebot-dev/sourcebot/pull/1381/commits/78b2eb23945a4223380498fcd40cb4285be5685a
sourcebot-dev#1376https://github.com/sourcebot-dev/sourcebot/pull/1376
sourcebot-dev#1381https://github.com/sourcebot-dev/sourcebot/pull/1381
https://github.com/DivyamTalwar
DivyamTalwarhttps://github.com/DivyamTalwar
June 28, 2026 00:42https://github.com/sourcebot-dev/sourcebot/pull/1381#event-27291069651
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jun 28, 2026 https://github.com/sourcebot-dev/sourcebot/pull/1381#pullrequestreview-4586679863
View reviewed changes https://github.com/sourcebot-dev/sourcebot/pull/1381/files/78b2eb23945a4223380498fcd40cb4285be5685a
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/sourcebot-dev/sourcebot/pull/1381#pullrequestreview-4586679863
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
82b5c1fhttps://github.com/sourcebot-dev/sourcebot/commit/82b5c1fdaa84aa493b9f899da3c70b6e59c3429a
78b2eb2https://github.com/sourcebot-dev/sourcebot/commit/78b2eb23945a4223380498fcd40cb4285be5685a
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/1381
packages/web/src/app/(app)/browse/[...path]/components/codePreviewPanel/codePreviewPanel.tsxhttps://github.com/sourcebot-dev/sourcebot/pull/1381/files/78b2eb23945a4223380498fcd40cb4285be5685a#diff-30b6c8c37daca652d62fed7cc3f07af1929358b523eebb986033f08bc9183bc5
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/1381
https://github.com/DivyamTalwar
Keep missing-file preview recovery anchoredhttps://github.com/sourcebot-dev/sourcebot/pull/1381/commits/47c30836fe9e10ec8acf75c88d313cd14c6ad2e2
47c3083https://github.com/sourcebot-dev/sourcebot/pull/1381/commits/47c30836fe9e10ec8acf75c88d313cd14c6ad2e2
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jun 28, 2026 https://github.com/sourcebot-dev/sourcebot/pull/1381#pullrequestreview-4586790207
View reviewed changes https://github.com/sourcebot-dev/sourcebot/pull/1381/files/47c30836fe9e10ec8acf75c88d313cd14c6ad2e2
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/sourcebot-dev/sourcebot/pull/1381#pullrequestreview-4586790207
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
78b2eb2https://github.com/sourcebot-dev/sourcebot/commit/78b2eb23945a4223380498fcd40cb4285be5685a
47c3083https://github.com/sourcebot-dev/sourcebot/commit/47c30836fe9e10ec8acf75c88d313cd14c6ad2e2
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/1381
...ges/web/src/app/(app)/browse/[...path]/components/codePreviewPanel/codePreviewPanel.test.tsxhttps://github.com/sourcebot-dev/sourcebot/pull/1381/files/47c30836fe9e10ec8acf75c88d313cd14c6ad2e2#diff-558eeeceb1447fb92d5f3ffb34cb7936a44ca09960dbe53ac49a2bc31cd43319
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/1381
DivyamTalwarhttps://github.com/DivyamTalwar
June 28, 2026 07:28https://github.com/sourcebot-dev/sourcebot/pull/1381#commits-pushed-529f2e0
https://github.com/DivyamTalwar
Preserve browse context in preview headershttps://github.com/sourcebot-dev/sourcebot/pull/1381/commits/529f2e0f6640c5cf2f8ade46c47a8459acc3ee50
529f2e0https://github.com/sourcebot-dev/sourcebot/pull/1381/commits/529f2e0f6640c5cf2f8ade46c47a8459acc3ee50
https://github.com/DivyamTalwar
Keep preview close control as a linkhttps://github.com/sourcebot-dev/sourcebot/pull/1381/commits/e0605addc95f8a40f810b7e1f72f866c839254af
e0605adhttps://github.com/sourcebot-dev/sourcebot/pull/1381/commits/e0605addc95f8a40f810b7e1f72f866c839254af
https://github.com/DivyamTalwar
Wrap missing-file path copy safelyhttps://github.com/sourcebot-dev/sourcebot/pull/1381/commits/1386d65b9ff471a3f352346f62d17bcd1a509789
1386d65https://github.com/sourcebot-dev/sourcebot/pull/1381/commits/1386d65b9ff471a3f352346f62d17bcd1a509789
https://github.com/DivyamTalwar
Merge remote-tracking branch 'origin/main' into divyamtalwar/fix-827-…https://github.com/sourcebot-dev/sourcebot/pull/1381/commits/f6c8d4e5233037ef5af8f0a5d569b167225d894d
f6c8d4ehttps://github.com/sourcebot-dev/sourcebot/pull/1381/commits/f6c8d4e5233037ef5af8f0a5d569b167225d894d
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%2F1381
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/sourcebot-dev/sourcebot/pull/1381/files/47c30836fe9e10ec8acf75c88d313cd14c6ad2e2
[FR] Improve 404 page when attempting to browse file that does not exist /browse https://github.com/sourcebot-dev/sourcebot/issues/827
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/1381
https://github.com/DivyamTalwar
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.