| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:ff3733a8-865f-58b6-6a48-35cc29475239 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BFB0:35AE45:81D107:BFBD78:6A4E1680 |
| html-safe-nonce | 4801894d19548228facf8d6bea86832ca95546ecd42af582113fa903689e4cff |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkIwOjM1QUU0NTo4MUQxMDc6QkZCRDc4OjZBNEUxNjgwIiwidmlzaXRvcl9pZCI6IjYzOTA5NzIzODU3NjgzMDA4MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1420af968715a2f3d3da0193ca5a319061d0532de5c18bbaa3129e4932c36ac9 |
| hovercard-subject-tag | pull_request:3574707145 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/sourcebot-dev/sourcebot/1146/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/e54942aaef2167d6cf1651ae8e212bcf9fe94a013cf51cd6057750c4abe0cf84/sourcebot-dev/sourcebot/pull/1146 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e54942aaef2167d6cf1651ae8e212bcf9fe94a013cf51cd6057750c4abe0cf84/sourcebot-dev/sourcebot/pull/1146 |
| og:image:alt | This PR implements the feedback from the Slack thread on the diff tool:
Truncate SHAs to 7 characters: Full commit SHAs (40-character hashes) are now displayed as 7-character truncated versions fo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | brendan-kellam |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| turbo-cache-control | no-cache |
| go-import | github.com/sourcebot-dev/sourcebot git https://github.com/sourcebot-dev/sourcebot.git |
| octolytics-dimension-user_id | 135396723 |
| octolytics-dimension-user_login | sourcebot-dev |
| octolytics-dimension-repository_id | 846729675 |
| octolytics-dimension-repository_nwo | sourcebot-dev/sourcebot |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 846729675 |
| octolytics-dimension-repository_network_root_nwo | sourcebot-dev/sourcebot |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ea9187571e3edc5f2780f750631138669441ca50 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/sourcebot-dev/sourcebot/pull/1146#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsourcebot-dev%2Fsourcebot%2Fpull%2F1146 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F1146 |
|
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 |
| Reload | https://github.com/sourcebot-dev/sourcebot/pull/1146 |
| Reload | https://github.com/sourcebot-dev/sourcebot/pull/1146 |
| Reload | https://github.com/sourcebot-dev/sourcebot/pull/1146 |
| Please reload this page | https://github.com/sourcebot-dev/sourcebot/pull/1146 |
|
sourcebot-dev
| https://github.com/sourcebot-dev |
| sourcebot | https://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-kellam | https://github.com/brendan-kellam |
| main | https://github.com/sourcebot-dev/sourcebot/tree/main |
| cursor/improve-diff-tool-0aad | https://github.com/sourcebot-dev/sourcebot/tree/cursor/improve-diff-tool-0aad |
| Conversation | https://github.com/sourcebot-dev/sourcebot/pull/1146 |
| Commits5 (5) | https://github.com/sourcebot-dev/sourcebot/pull/1146/commits |
| Checks | https://github.com/sourcebot-dev/sourcebot/pull/1146/checks |
| Files changed | https://github.com/sourcebot-dev/sourcebot/pull/1146/files |
| feat: improve diff tool display and token efficiency | https://github.com/sourcebot-dev/sourcebot/pull/1146#top |
| brendan-kellam | https://github.com/brendan-kellam |
| main | https://github.com/sourcebot-dev/sourcebot/tree/main |
| cursor/improve-diff-tool-0aad | https://github.com/sourcebot-dev/sourcebot/tree/cursor/improve-diff-tool-0aad |
|
| https://github.com/brendan-kellam |
| brendan-kellam | https://github.com/brendan-kellam |
| Apr 23, 2026 | https://github.com/sourcebot-dev/sourcebot/pull/1146#issue-4317802279 |
| Please reload this page | https://github.com/sourcebot-dev/sourcebot/pull/1146 |
| https://private-user-images.githubusercontent.com/10233483/582884738-4d607d80-980a-43aa-a761-edfa2a8ac6e1.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODM1MDI3NjQsIm5iZiI6MTc4MzUwMjQ2NCwicGF0aCI6Ii8xMDIzMzQ4My81ODI4ODQ3MzgtNGQ2MDdkODAtOTgwYS00M2FhLWE3NjEtZWRmYTJhOGFjNmUxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA3MDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNzA4VDA5MjEwNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRiZTU3NTgzYzgwMjhlYmZmYmM5MDhkMDA4NThhNjcxZmFiYmJkMzcyZjRmOWRmNDFjNmM2ZTE3OGE1ZDM1YTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.tm2rHQ_ndpnwelj8RzIarFW1SiI3iqm6o-2HrExb7ZQ |
| Slack Thread | https://sourcebot-dev.slack.com/archives/C05AX425LDA/p1776966033235379?thread_ts=1776966033.235379&cid=C05AX425LDA |
| https://cursor.com/agents/bc-ac460f9f-18f9-51b2-a774-f2a668350aad |
| https://cursor.com/background-agent?bcId=bc-ac460f9f-18f9-51b2-a774-f2a668350aad |
| Please reload this page | https://github.com/sourcebot-dev/sourcebot/pull/1146 |
|
| https://github.com/cursoragent |
|
| https://github.com/brendan-kellam |
| feat: improve diff tool display and token efficiency | https://github.com/sourcebot-dev/sourcebot/pull/1146/commits/24260132312cc59467bb941e1ce5227111a6f633 |
| 2426013 | https://github.com/sourcebot-dev/sourcebot/pull/1146/commits/24260132312cc59467bb941e1ce5227111a6f633 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
| Apr 23, 2026 | https://github.com/sourcebot-dev/sourcebot/pull/1146#issuecomment-4306570652 |
| Please reload this page | https://github.com/sourcebot-dev/sourcebot/pull/1146 |
| e5f89fb | https://github.com/sourcebot-dev/sourcebot/commit/e5f89fba1a082b785b5fdc4d089b565b9619ba5c |
| 7b3c100 | https://github.com/sourcebot-dev/sourcebot/commit/7b3c100e1153d793d069c3445184ac5db97a343d |
| feat: improve diff tool display and token efficiency #1146 | https://github.com/sourcebot-dev/sourcebot/pull/1146 |
| feat(web): expose get_diff on MCP server #1142 | https://github.com/sourcebot-dev/sourcebot/pull/1142 |
| feat(web): add GET /api/diff endpoint #1063 | https://github.com/sourcebot-dev/sourcebot/pull/1063 |
| CodeRabbit | https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=sourcebot-dev/sourcebot&utm_content=1146 |
| X | https://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 |
| Mastodon | https://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 |
| Reddit | https://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 |
| LinkedIn | https://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 page | https://github.com/sourcebot-dev/sourcebot/pull/1146 |
| cursoragent | https://github.com/cursoragent |
| April 23, 2026 17:53 | https://github.com/sourcebot-dev/sourcebot/pull/1146#commits-pushed-f66c17e |
|
| https://github.com/cursoragent |
|
| https://github.com/brendan-kellam |
| test: add unit tests for getDiff git-diff formatting | https://github.com/sourcebot-dev/sourcebot/pull/1146/commits/f66c17e4c482e5eca9f4058675864bffd762ce3a |
| f66c17e | https://github.com/sourcebot-dev/sourcebot/pull/1146/commits/f66c17e4c482e5eca9f4058675864bffd762ce3a |
|
| https://github.com/cursoragent |
|
| https://github.com/brendan-kellam |
| docs: update CHANGELOG for diff tool improvements | https://github.com/sourcebot-dev/sourcebot/pull/1146/commits/8d1cb5fbfbec8dbf8537d09fa646d57d1ae18358 |
| 8d1cb5f | https://github.com/sourcebot-dev/sourcebot/pull/1146/commits/8d1cb5fbfbec8dbf8537d09fa646d57d1ae18358 |
| https://github.com/brendan-kellam |
| brendan-kellam | https://github.com/brendan-kellam |
| April 23, 2026 18:26 | https://github.com/sourcebot-dev/sourcebot/pull/1146#event-24808452195 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
|
Apr 23, 2026
| https://github.com/sourcebot-dev/sourcebot/pull/1146#pullrequestreview-4164891116 |
|
View reviewed changes
| https://github.com/sourcebot-dev/sourcebot/pull/1146/files/8d1cb5fbfbec8dbf8537d09fa646d57d1ae18358 |
| coderabbitai | https://github.com/apps/coderabbitai |
| https://github.com/sourcebot-dev/sourcebot/pull/1146#pullrequestreview-4164891116 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| d111397 | https://github.com/sourcebot-dev/sourcebot/commit/d111397b41a4c07a5c4c79e865057cd83e732e08 |
| 8d1cb5f | https://github.com/sourcebot-dev/sourcebot/commit/8d1cb5fbfbec8dbf8537d09fa646d57d1ae18358 |
| Please reload this page | https://github.com/sourcebot-dev/sourcebot/pull/1146 |
| packages/web/src/features/tools/getDiff.test.ts | https://github.com/sourcebot-dev/sourcebot/pull/1146/files/8d1cb5fbfbec8dbf8537d09fa646d57d1ae18358#diff-02cc3d4efed4d7c310c4718da45208e3d0d29cb8e94cf4406252a9cf271e4e2f |
| Please reload this page | https://github.com/sourcebot-dev/sourcebot/pull/1146 |
| packages/web/src/features/tools/utils.test.ts | https://github.com/sourcebot-dev/sourcebot/pull/1146/files/8d1cb5fbfbec8dbf8537d09fa646d57d1ae18358#diff-40764a34c1e376605de5d51088cbcd8965ef1b89474d41314856c4b6727d9ec2 |
| Please reload this page | https://github.com/sourcebot-dev/sourcebot/pull/1146 |
| packages/web/src/features/tools/getDiff.ts | https://github.com/sourcebot-dev/sourcebot/pull/1146/files/8d1cb5fbfbec8dbf8537d09fa646d57d1ae18358#diff-cac78eb1e56ba2990c0733f11dde7be575dead89ca6809e6f68b005b13855365 |
| Please reload this page | https://github.com/sourcebot-dev/sourcebot/pull/1146 |
| packages/web/src/features/tools/getDiff.ts | https://github.com/sourcebot-dev/sourcebot/pull/1146/files/8d1cb5fbfbec8dbf8537d09fa646d57d1ae18358#diff-cac78eb1e56ba2990c0733f11dde7be575dead89ca6809e6f68b005b13855365 |
| Please reload this page | https://github.com/sourcebot-dev/sourcebot/pull/1146 |
| brendan-kellam | https://github.com/brendan-kellam |
| April 23, 2026 11:54 | https://github.com/sourcebot-dev/sourcebot/pull/1146#commits-pushed-e5f89fb |
|
| https://github.com/brendan-kellam |
| feedback | https://github.com/sourcebot-dev/sourcebot/pull/1146/commits/e5f89fba1a082b785b5fdc4d089b565b9619ba5c |
| e5f89fb | https://github.com/sourcebot-dev/sourcebot/pull/1146/commits/e5f89fba1a082b785b5fdc4d089b565b9619ba5c |
|
| https://github.com/brendan-kellam |
| Merge branch 'main' into cursor/improve-diff-tool-0aad | https://github.com/sourcebot-dev/sourcebot/pull/1146/commits/7b3c100e1153d793d069c3445184ac5db97a343d |
| 7b3c100 | https://github.com/sourcebot-dev/sourcebot/pull/1146/commits/7b3c100e1153d793d069c3445184ac5db97a343d |
| https://github.com/brendan-kellam |
| brendan-kellam | https://github.com/brendan-kellam |
| 0eb791b | https://github.com/sourcebot-dev/sourcebot/commit/0eb791b95b119ce15de43743beec81bc3beea704 |
| Apr 23, 2026 | https://github.com/sourcebot-dev/sourcebot/pull/1146#event-24809422183 |
| Please reload this page | https://github.com/sourcebot-dev/sourcebot/pull/1146 |
| https://github.com/brendan-kellam |
| brendan-kellam | https://github.com/brendan-kellam |
| April 23, 2026 18:57 | https://github.com/sourcebot-dev/sourcebot/pull/1146#event-24809423700 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
Apr 23, 2026
| https://github.com/sourcebot-dev/sourcebot/pull/1146#ref-issue-3315242343 |
|
Sourcebot Roadmap 🚀
#459
| https://github.com/sourcebot-dev/sourcebot/issues/459 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
|
Apr 28, 2026
| https://github.com/sourcebot-dev/sourcebot/pull/1146#ref-pullrequest-4340560771 |
|
feat(web): Commit diffs
#1154
| https://github.com/sourcebot-dev/sourcebot/pull/1154 |
| https://github.co/hiddenchars |
| https://github.com/sourcebot-dev/sourcebot/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsourcebot-dev%2Fsourcebot%2Fpull%2F1146 |
|
| https://github.com/apps/coderabbitai |
|
coderabbitai[bot]
| https://github.com/apps/coderabbitai |
|
| https://github.com/sourcebot-dev/sourcebot/pull/1146/files/8d1cb5fbfbec8dbf8537d09fa646d57d1ae18358 |
| Please reload this page | https://github.com/sourcebot-dev/sourcebot/pull/1146 |
|
| https://github.com/brendan-kellam |
|
| https://github.com/cursoragent |
|
| 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 |