Title: [bug] it is not possible to use context:0 ... N · Issue #1312 · sourcebot-dev/sourcebot · GitHub
Open Graph Title: [bug] it is not possible to use context:0 ... N · Issue #1312 · sourcebot-dev/sourcebot
X Title: [bug] it is not possible to use context:0 ... N · Issue #1312 · sourcebot-dev/sourcebot
Description: Describe the bug We only wanted to see a summary for matching lines. When using context:0 ... N in the search field we get a crash in webserver. To reproduce I tried: Helpers context:0 or Helpers context:1 Both failed. Sourcebot deployme...
Open Graph Description: Describe the bug We only wanted to see a summary for matching lines. When using context:0 ... N in the search field we get a crash in webserver. To reproduce I tried: Helpers context:0 or Helpers c...
X Description: Describe the bug We only wanted to see a summary for matching lines. When using context:0 ... N in the search field we get a crash in webserver. To reproduce I tried: Helpers context:0 or Helpers c...
Opengraph URL: https://github.com/sourcebot-dev/sourcebot/issues/1312
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[bug] it is not possible to use context:0 ... N","articleBody":"### Describe the bug\n\nWe only wanted to see a summary for matching lines.\n\nWhen using context:0 ... N in the search field \nwe get a crash in webserver.\n\n\u003cimg width=\"2302\" height=\"770\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/637807d9-4ec6-4be2-baf2-d099cedc65f7\" /\u003e\n\n\n\n### To reproduce\n\nI tried:\n\nHelpers context:0 \n\nor \n\nHelpers context:1 \n\nBoth failed.\n\n\n\n### Sourcebot deployment information\n\nSourcebot version:\n\nCurrent version: v5.0.3[(496b09a)](https://github.com/sourcebot-dev/sourcebot/commit/496b09a31efac58380c834dd617e6bbfaec4b377)\n\n\n### Additional information\n\n_No response_","author":{"url":"https://github.com/mpet","@type":"Person","name":"mpet"},"datePublished":"2026-06-17T08:48:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1312/sourcebot/issues/1312"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:04c64ac7-497f-d7ef-2239-f9cc3be55e10 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A248:305D5F:40E2F:5832E:6A4D1455 |
| html-safe-nonce | 8be88626f0a5fa5c36bfd4817b2172861b574e3924ef19b739d896ad9afe4f06 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjQ4OjMwNUQ1Rjo0MEUyRjo1ODMyRTo2QTREMTQ1NSIsInZpc2l0b3JfaWQiOiI2NjY1OTg0NzEzNDMyMDQ0NjI5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 71dc877176f3f968299a539598c24bc8d07e7026cf5e97c31fbc374a99f940bf |
| hovercard-subject-tag | issue:4681613851 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/sourcebot-dev/sourcebot/1312/issue_layout |
| twitter:image | https://opengraph.githubassets.com/22c469faf7cf9ddb1d25d6585b05d21b2b708597946135ed62a106a50019ce13/sourcebot-dev/sourcebot/issues/1312 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/22c469faf7cf9ddb1d25d6585b05d21b2b708597946135ed62a106a50019ce13/sourcebot-dev/sourcebot/issues/1312 |
| og:image:alt | Describe the bug We only wanted to see a summary for matching lines. When using context:0 ... N in the search field we get a crash in webserver. To reproduce I tried: Helpers context:0 or Helpers c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mpet |
| hostname | github.com |
| expected-hostname | github.com |
| None | f02420044fa3730a0607f4a52546bdd73f5ae60187ef57d284ecb6d7f3f1d880 |
| turbo-cache-control | no-preview |
| 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 | f0b6a62c1f0be1086cb0b5b077b82cebe520eb42 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width