GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: accept compatible issue and pull request parameter names by huong8373tt-beep · Pull Request #3630 · github/github-mcp-server

Conversation

@huong8373tt-beep

@huong8373tt-beep huong8373tt-beep commented Oct 30, 2026

Copy link
Copy Markdown

Summary

Accept compatible parameter spellings used by MCP clients for consolidated GitHub tools:

  • pull_number is normalized to the canonical pullNumber for pull_request_* consolidated tools.
  • issueNumber is normalized to the canonical issue_number for issue_* consolidated tools.
  • Calls that provide both spellings are rejected clearly instead of silently choosing one.

This addresses #3605, where clients using the repository's other naming convention receive misleading missing-parameter errors.

Tests

  • go test ./pkg/github -run 'Test(TypedCallsAcceptParameterAliases|PullRequestReadAcceptsSnakeCasePullNumber|IssueReadAcceptsCamelCaseIssueNumber|InputAliasesRejectConflictingValues|GetPullRequest|GetIssue|TypedCompatibilityPullRequestAfter)$' -count=1
  • gofmt -s -d on changed Go files
  • git diff --cached --check

The repository-wide test suite was not claimed as green: the existing typed-output tests report unrelated icon snapshot differences, and the repository lint script could not download golangci-lint v2.14.0 from the current network environment.

AI assistance disclosure

Slai Agent Runtime performed the investigation, implementation, and test execution. The account owner authorized this contribution and is responsible for its content.

Fixes #3605

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@huong8373tt-beep
fix: accept compatible issue and pull request parameter names
fac6d74
@huong8373tt-beep
huong8373tt-beep requested a review from a team as a code owner October 30, 2026 10:39
@huong8373tt-beep huong8373tt-beep mentioned this pull request Oct 30, 2026
Inconsistent parameter names #3605
Open
@huong8373tt-beep
fix: reduce modern MCP file content payloads
08f0b27
@huong8373tt-beep

huong8373tt-beep commented Oct 30, 2026

Copy link
Copy Markdown
Author

Follow-up for #3603 and the modern MCP payload-size edge case: the latest commit 08f0b27 reduces the get_file_contents ResourceLink threshold from 1 MiB to 448 KiB for the 2026-07-28 typed-output protocol, while preserving the 1 MiB threshold for legacy clients. This avoids common 1 MiB transport limits when file content is mirrored in both content and structuredContent. Added a focused regression test for a 500 KiB modern-protocol file and a threshold unit test.

Focused validation:

  • go test ./pkg/github -run "Test(GetFileContentsModernProtocolUsesTransportSafeLimit|RepositoryContentSizeLimit|_GetFileContents)" -count=1 — passed
  • git diff --check — passed
  • gofmt -s -d — passed

The repository-wide go test ./... was also run. It reached all packages but failed only at the existing assign_copilot_to_issue toolsnapshot mismatch, which is unrelated to this change; the remaining packages passed.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

danidra
danidra approved these changes Nov 5, 2026
View reviewed changes
@rafe-walker rafe-walker mentioned this pull request Nov 9, 2026
Silent no-op writes: issue_write skips empty title/body, and unknown parameters are dropped #3759
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@danidra danidra danidra approved these changes
Reviewers whose approvals may not affect merge requirements

At least 1 approving review is required to merge this pull request.

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Inconsistent parameter names

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@huong8373tt-beep @danidra
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.