René's URL Explorer Experiment


Title: fix(web): restore ServiceError boundary in `getFileSourceForRepo` by fatmcgav · Pull Request #1145 · sourcebot-dev/sourcebot · GitHub

Open Graph Title: fix(web): restore ServiceError boundary in `getFileSourceForRepo` by fatmcgav · Pull Request #1145 · sourcebot-dev/sourcebot

X Title: fix(web): restore ServiceError boundary in `getFileSourceForRepo` by fatmcgav · Pull Request #1145 · sourcebot-dev/sourcebot

Description: Sourcebot is a self-hosted tool that helps humans and agents understand your codebase. - fix(web): restore ServiceError boundary in `getFileSourceForRepo` by fatmcgav · Pull Request #1145 · sourcebot-dev/sourcebot

Open Graph Description: Problem In v4.16.14 (PR #1104, GitLab MR Review Agent), the core file-fetch logic was extracted from inside sew() into a standalone getFileSourceForRepo function so it could be called by privileged...

X Description: Problem In v4.16.14 (PR #1104, GitLab MR Review Agent), the core file-fetch logic was extracted from inside sew() into a standalone getFileSourceForRepo function so it could be called by privileged...

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

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:22a13b70-406c-6734-d094-2a14a4059842
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA5F4:323A96:129223C:1B0DEE0:6A4E3CA9
html-safe-nonce017be8f656128006e97a1afda860ca8fbdcf1c36cd48d99fb0b52cfd2c3495df
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNUY0OjMyM0E5NjoxMjkyMjNDOjFCMERFRTA6NkE0RTNDQTkiLCJ2aXNpdG9yX2lkIjoiMjAyMDQ3ODU2NzczNzg2NzQzMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2e0d50be09b5997c41820c401ecf553c8bed85c3831942f77889c3269107a6b4
hovercard-subject-tagpull_request:3574542941
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/1145/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b4cad135aa6c598a0d4cb72648028eaf0ea433c1ba4fc94bf768c9b182df0ed3/sourcebot-dev/sourcebot/pull/1145
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b4cad135aa6c598a0d4cb72648028eaf0ea433c1ba4fc94bf768c9b182df0ed3/sourcebot-dev/sourcebot/pull/1145
og:image:altProblem In v4.16.14 (PR #1104, GitLab MR Review Agent), the core file-fetch logic was extracted from inside sew() into a standalone getFileSourceForRepo function so it could be called by privileged...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefatmcgav
hostnamegithub.com
expected-hostnamegithub.com
None030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0
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
release42a6d378d7587a44c93aca255096cd66b7c8eb2d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/sourcebot-dev/sourcebot/pull/1145#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsourcebot-dev%2Fsourcebot%2Fpull%2F1145
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%2F1145
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/1145
Reloadhttps://github.com/sourcebot-dev/sourcebot/pull/1145
Reloadhttps://github.com/sourcebot-dev/sourcebot/pull/1145
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/1145
sourcebot-dev https://github.com/sourcebot-dev
sourcebothttps://github.com/sourcebot-dev/sourcebot
Notifications https://github.com/login?return_to=%2Fsourcebot-dev%2Fsourcebot
Fork 317 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
sourcebot-dev:mainhttps://github.com/sourcebot-dev/sourcebot/tree/main
fatmcgav:fix-ai-agent-permissionshttps://github.com/fatmcgav/sourcebot/tree/fix-ai-agent-permissions
Conversationhttps://github.com/sourcebot-dev/sourcebot/pull/1145
Commits4 (4)https://github.com/sourcebot-dev/sourcebot/pull/1145/commits
Checkshttps://github.com/sourcebot-dev/sourcebot/pull/1145/checks
Files changedhttps://github.com/sourcebot-dev/sourcebot/pull/1145/files
fix(web): restore ServiceError boundary in getFileSourceForRepohttps://github.com/sourcebot-dev/sourcebot/pull/1145#top
brendan-kellamhttps://github.com/brendan-kellam
sourcebot-dev:mainhttps://github.com/sourcebot-dev/sourcebot/tree/main
fatmcgav:fix-ai-agent-permissionshttps://github.com/fatmcgav/sourcebot/tree/fix-ai-agent-permissions
https://github.com/fatmcgav
fatmcgavhttps://github.com/fatmcgav
Apr 23, 2026https://github.com/sourcebot-dev/sourcebot/pull/1145#issue-4317610040
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/1145
#1104https://github.com/sourcebot-dev/sourcebot/pull/1104
#1144https://github.com/sourcebot-dev/sourcebot/issues/1144
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/1145
https://github.com/fatmcgav
fix(web): restore ServiceError boundary in getFileSourceForRepohttps://github.com/sourcebot-dev/sourcebot/pull/1145/commits/41f978f788f8a7a87860e223dd48e9723b7a3097
41f978fhttps://github.com/sourcebot-dev/sourcebot/pull/1145/commits/41f978f788f8a7a87860e223dd48e9723b7a3097
sourcebot-dev#1104https://github.com/sourcebot-dev/sourcebot/pull/1104
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Apr 23, 2026https://github.com/sourcebot-dev/sourcebot/pull/1145#issuecomment-4306347903
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/1145
2c2f003https://github.com/sourcebot-dev/sourcebot/commit/2c2f003abbb62e82d15a6bfba90f42a5cf1736e7
9143d8dhttps://github.com/sourcebot-dev/sourcebot/commit/9143d8d51604dad2ac780766bf5b6f06bb3bc20e
feat(web): support .gitattributes linguist-language overrides in file viewer #1048https://github.com/sourcebot-dev/sourcebot/pull/1048
chore(web): use git show for fetching file contents #829https://github.com/sourcebot-dev/sourcebot/pull/829
fix(web): validate git ref and file path inputs #965https://github.com/sourcebot-dev/sourcebot/pull/965
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=sourcebot-dev/sourcebot&utm_content=1145
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/1145
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Apr 23, 2026 https://github.com/sourcebot-dev/sourcebot/pull/1145#pullrequestreview-4164433846
View reviewed changes https://github.com/sourcebot-dev/sourcebot/pull/1145/files/41f978f788f8a7a87860e223dd48e9723b7a3097
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/sourcebot-dev/sourcebot/pull/1145#pullrequestreview-4164433846
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
d111397https://github.com/sourcebot-dev/sourcebot/commit/d111397b41a4c07a5c4c79e865057cd83e732e08
41f978fhttps://github.com/sourcebot-dev/sourcebot/commit/41f978f788f8a7a87860e223dd48e9723b7a3097
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/1145
packages/web/src/features/git/getFileSourceApi.test.tshttps://github.com/sourcebot-dev/sourcebot/pull/1145/files/41f978f788f8a7a87860e223dd48e9723b7a3097#diff-78a1966d923f4505970d9202a610d074b5bf87035f95cf688eb4493b235c1ae8
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/1145
packages/web/src/features/git/getFileSourceApi.tshttps://github.com/sourcebot-dev/sourcebot/pull/1145/files/41f978f788f8a7a87860e223dd48e9723b7a3097#diff-e187dadb54dd4ba25985b78f6ce4a7c5eb8a6e3bb4b63f5d917fb32544f7bf3e
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/1145
https://github.com/fatmcgav
https://github.com/claude
fix(web): harden getFileSourceForRepo error boundaryhttps://github.com/sourcebot-dev/sourcebot/pull/1145/commits/96d3336b4627eb92cf4c29889cf5ef2bf1bbc41d
96d3336https://github.com/sourcebot-dev/sourcebot/pull/1145/commits/96d3336b4627eb92cf4c29889cf5ef2bf1bbc41d
https://github.com/brendan-kellam
brendan-kellamhttps://github.com/brendan-kellam
Apr 23, 2026 https://github.com/sourcebot-dev/sourcebot/pull/1145#pullrequestreview-4164529219
View reviewed changes https://github.com/sourcebot-dev/sourcebot/pull/1145/files/96d3336b4627eb92cf4c29889cf5ef2bf1bbc41d
packages/web/src/features/git/getFileSourceApi.tshttps://github.com/sourcebot-dev/sourcebot/pull/1145/files/96d3336b4627eb92cf4c29889cf5ef2bf1bbc41d#diff-e187dadb54dd4ba25985b78f6ce4a7c5eb8a6e3bb4b63f5d917fb32544f7bf3e
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/1145
fatmcgavhttps://github.com/fatmcgav
April 23, 2026 18:34https://github.com/sourcebot-dev/sourcebot/pull/1145#commits-pushed-2c2f003
https://github.com/fatmcgav
Add CHANGELOG entryhttps://github.com/sourcebot-dev/sourcebot/pull/1145/commits/2c2f003abbb62e82d15a6bfba90f42a5cf1736e7
2c2f003https://github.com/sourcebot-dev/sourcebot/pull/1145/commits/2c2f003abbb62e82d15a6bfba90f42a5cf1736e7
https://github.com/fatmcgav
https://github.com/claude
refactor(web): use sew() instead of bare try/catch in getFileSourceFo…https://github.com/sourcebot-dev/sourcebot/pull/1145/commits/9143d8d51604dad2ac780766bf5b6f06bb3bc20e
9143d8dhttps://github.com/sourcebot-dev/sourcebot/pull/1145/commits/9143d8d51604dad2ac780766bf5b6f06bb3bc20e
https://github.com/brendan-kellam
brendan-kellamhttps://github.com/brendan-kellam
Apr 23, 2026 https://github.com/sourcebot-dev/sourcebot/pull/1145#pullrequestreview-4164725916
View reviewed changes https://github.com/sourcebot-dev/sourcebot/pull/1145/files/9143d8d51604dad2ac780766bf5b6f06bb3bc20e
brendan-kellamhttps://github.com/brendan-kellam
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/1145
https://github.com/sourcebot-dev/sourcebot/pull/1145#pullrequestreview-4164725916
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/1145
https://github.com/brendan-kellam
brendan-kellamhttps://github.com/brendan-kellam
651700bhttps://github.com/sourcebot-dev/sourcebot/commit/651700bc37ee8c1f305ee4c68473806074ab8450
Apr 23, 2026https://github.com/sourcebot-dev/sourcebot/pull/1145#event-24807770315
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/1145
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 23, 2026 https://github.com/sourcebot-dev/sourcebot/pull/1145#ref-issue-3315242343
Sourcebot Roadmap 🚀 #459 https://github.com/sourcebot-dev/sourcebot/issues/459
https://github.com/fatmcgav
fatmcgavhttps://github.com/fatmcgav
April 23, 2026 18:30https://github.com/sourcebot-dev/sourcebot/pull/1145#event-24808585198
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jun 11, 2026 https://github.com/sourcebot-dev/sourcebot/pull/1145#ref-pullrequest-4639382105
fix(web): use REST API endpoint for fetching PR diff instead of web diff_url #1302 https://github.com/sourcebot-dev/sourcebot/pull/1302
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%2F1145
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/sourcebot-dev/sourcebot/pull/1145/files/41f978f788f8a7a87860e223dd48e9723b7a3097
https://github.com/brendan-kellam
brendan-kellam https://github.com/brendan-kellam
https://github.com/sourcebot-dev/sourcebot/pull/1145/files/9143d8d51604dad2ac780766bf5b6f06bb3bc20e
[bug] v4.16.14 results in EACCESS permission denied errors https://github.com/sourcebot-dev/sourcebot/issues/1144
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/1145
https://github.com/fatmcgav
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.