René's URL Explorer Experiment


Title: get_review_comments (pull_request_read) silently drops start_line for multi-line PR review comments · Issue #3190 · github/github-mcp-server · GitHub

Open Graph Title: get_review_comments (pull_request_read) silently drops start_line for multi-line PR review comments · Issue #3190 · github/github-mcp-server

X Title: get_review_comments (pull_request_read) silently drops start_line for multi-line PR review comments · Issue #3190 · github/github-mcp-server

Description: Describe the bug get_pull_request (method get_review_comments, or the equivalent underlying pulls/comments handling) drops the start_line/original_start_line fields for multi-line ("range") review comments. GitHub's REST API returns both...

Open Graph Description: Describe the bug get_pull_request (method get_review_comments, or the equivalent underlying pulls/comments handling) drops the start_line/original_start_line fields for multi-line ("range") review ...

X Description: Describe the bug get_pull_request (method get_review_comments, or the equivalent underlying pulls/comments handling) drops the start_line/original_start_line fields for multi-line ("range"...

Opengraph URL: https://github.com/github/github-mcp-server/issues/3190

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"get_review_comments (pull_request_read) silently drops start_line for multi-line PR review comments","articleBody":"### Describe the bug\n\n`get_pull_request` (method `get_review_comments`, or the equivalent underlying `pulls/comments` handling) drops the `start_line`/`original_start_line` fields for multi-line (\"range\") review comments. GitHub's REST API returns both fields when a review comment spans more than one line, but the MCP tool's response only exposes `line` — the end of the range — with no indication the comment covers a range at all. A caller has no way to tell \"this comment is about line 69\" from \"this comment is about lines 62-69\"; both look identical in the tool's output.\n\nThis isn't just cosmetic — it produces silently wrong interpretations of review feedback. A caller that trusts `line` as \"the line this comment is about\" will read a comment addressed to an 8-line block as if it were addressed to only its last line, then act on that narrower (wrong) scope: applying a fix to one line when the reviewer meant the whole construct, or misjudging which code the feedback even refers to when the last line alone doesn't contain enough context to make sense of the comment. Because the field is simply absent rather than null or flagged, there's no way for a caller to detect that it's missing information and fall back to something safer — the response looks identical whether the comment was single-line or a wide range, so the failure mode is invisible until someone happens to cross-check against the raw REST API.\n\n### Affected version\n\n```\nGitHub MCP Server\nVersion: v1.5.0\nCommit: 8cd03c018525ae0bafc9b3cdb84ec2133e01bac2\nBuild Date: 2026-06-27T07:57:41Z\n```\n\n### Steps to reproduce the behavior\n\n1. On a pull request, add a review comment on a multi-line selection (e.g. select lines 62-69 in the diff view, not a single line).\n2. Call the MCP tool's pull-request-comments method (`pull_request_read` / `get_review_comments`) for that PR.\n3. Compare the returned comment object against `GET /repos/{owner}/{repo}/pulls/{pull_number}/comments` on the same PR via the raw REST API.\n\n### Expected vs actual behavior\n\n**Expected:** the tool's response includes `start_line` (and ideally `original_start_line`/`side`/`start_side`) whenever the underlying GitHub API has them, so a caller can reconstruct the comment's true line range.\n\n**Actual:** the tool only returns `line`. For a comment GitHub itself reports as spanning lines 62-69, the tool reports only `69`, indistinguishable from a genuine single-line comment on line 69.\n\n### Logs\n\nRaw GitHub REST API response for the affected comment (redacted to relevant fields):\n\n```json\n{\n  \"id\": 6748769,\n  \"path\": \"src/schemas/components/createDefaults.schema.json\",\n  \"line\": 69,\n  \"original_line\": 69,\n  \"start_line\": 62,\n  \"original_start_line\": 62,\n  \"side\": \"RIGHT\",\n  \"start_side\": \"RIGHT\"\n}\n```\n\nMCP tool's response for the same comment (via `pull_request_read`, method `get_review_comments`):\n\n```json\n{\n  \"id\": \"...\",\n  \"path\": \"src/schemas/components/createDefaults.schema.json\",\n  \"line\": 69,\n  \"author\": \"lundhik\",\n  \"body\": \"...\"\n}\n```\n\n`start_line`/`original_start_line`/`side`/`start_side` are absent entirely — not `null`, just missing from the shape.","author":{"url":"https://github.com/fsahmad","@type":"Person","name":"fsahmad"},"datePublished":"2026-08-31T12:50:50Z","url":"https://github.com/github/github-mcp-server/issues/3190"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:b1231fa3-0568-86f3-9fd8-aa06396a4728
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9278:333887:865D0B:B9A9B4:6B069B4B
html-safe-noncef550c53f44beaf5966924e5ddd61a736fd4797e4b40548777845799e7ce95416
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Mjc4OjMzMzg4Nzo4NjVEMEI6QjlBOUI0OjZCMDY5QjRCIiwidmlzaXRvcl9pZCI6IjM3MTQzMjI1OTg4MDU4MDU4OTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacce0b361cfc2a536d136113532419aacb91bbaafb472416d7aa89e875e859b6ce
hovercard-subject-tagissue:5300340998
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/github-mcp-server/3190/issue_layout
twitter:imagehttps://opengraph.githubassets.com/6477eda8893cff75fb050188d5841538601a940d0bca095e65c16b8ed2b41b1f/github/github-mcp-server/issues/3190
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6477eda8893cff75fb050188d5841538601a940d0bca095e65c16b8ed2b41b1f/github/github-mcp-server/issues/3190
og:image:altDescribe the bug get_pull_request (method get_review_comments, or the equivalent underlying pulls/comments handling) drops the start_line/original_start_line fields for multi-line ("range") review ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefsahmad
hostnamegithub.com
expected-hostnamegithub.com
None4462ff7ebfd3d551f202659f2423dae617b6849d23b1df6465dc504ef497d14a
turbo-cache-controlno-preview
go-importgithub.com/github/github-mcp-server git https://github.com/github/github-mcp-server.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id942771284
octolytics-dimension-repository_nwogithub/github-mcp-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id942771284
octolytics-dimension-repository_network_root_nwogithub/github-mcp-server
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
release6d3909414814ff86ce7da4c51a0f4918a13fb41b
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/github/github-mcp-server/issues/3190#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fissues%2F3190
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fissues%2F3190
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=github%2Fgithub-mcp-server
Reloadhttps://github.com/github/github-mcp-server/issues/3190
Reloadhttps://github.com/github/github-mcp-server/issues/3190
Reloadhttps://github.com/github/github-mcp-server/issues/3190
githubhttps://github.com/github
github-mcp-serverhttps://github.com/github/github-mcp-server
Codehttps://github.com/github/github-mcp-server
Issues239 (239)https://github.com/github/github-mcp-server/issues
Pull requests228 (228)https://github.com/github/github-mcp-server/pulls
Discussionshttps://github.com/github/github-mcp-server/discussions
Actionshttps://github.com/github/github-mcp-server/actions
Security and quality2 (2)https://github.com/github/github-mcp-server/security
Insightshttps://github.com/github/github-mcp-server/insights
https://github.com/github/github-mcp-server
New issuehttps://github.com/login?return_to=https://github.com/github/github-mcp-server/issues/3190
New issuehttps://github.com/login?return_to=https://github.com/github/github-mcp-server/issues/3190
#3193https://github.com/github/github-mcp-server/pull/3193
get_review_comments (pull_request_read) silently drops start_line for multi-line PR review commentshttps://github.com/github/github-mcp-server/issues/3190#top
#3193https://github.com/github/github-mcp-server/pull/3193
bughttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/fsahmad
fsahmadhttps://github.com/fsahmad
on Aug 31, 2026https://github.com/github/github-mcp-server/issues/3190#issue-5300340998
fsahmadhttps://github.com/fsahmad
bughttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22bug%22
on Aug 31, 2026https://github.com/github/github-mcp-server/issues/3190#event-30279293349
github-actionshttps://github.com/apps/github-actions
request ai reviewhttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22request%20ai%20review%22
on Aug 31, 2026https://github.com/github/github-mcp-server/issues/3190#event-30279298768
https://github.com/leuasseurfarrelds247-arch
leuasseurfarrelds247-archhttps://github.com/leuasseurfarrelds247-arch
on Sep 1, 2026https://github.com/github/github-mcp-server/issues/3190#issuecomment-5489264749
SamMorrowDrumshttps://github.com/SamMorrowDrums
completedhttps://github.com/github/github-mcp-server/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#3193https://github.com/github/github-mcp-server/pull/3193
on Sep 1, 2026https://github.com/github/github-mcp-server/issues/3190#event-30347767376
Sign up for freehttps://github.com/signup?return_to=https://github.com/github/github-mcp-server/issues/3190
Sign in to commenthttps://github.com/login?return_to=https://github.com/github/github-mcp-server/issues/3190
bughttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22bug%22
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.