Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 13, 2026

Summary

Exports WithGraphQLFeatures to enable the remote server to implement custom HTTP round trippers with GraphQL feature flag support.

Why

The remote server needs to set GraphQL feature flags in context for its round tripper (similar to bearerAuthTransport in the local server). Only GetGraphQLFeatures (reader) was exported—withGraphQLFeatures (setter) was not. This prevented proper implementation and testing, causing bugs.

What changed

  • Capitalized withGraphQLFeaturesWithGraphQLFeatures in pkg/github/issues.go
  • Updated internal call site

MCP impact

  • No tool or API changes

Prompts tested (tool changes only)

N/A

Security / limits

  • No security or limits impact

Tool renaming

  • I am not renaming tools as part of this PR

Lint & tests

  • Linted locally with ./script/lint
  • Tested locally with ./script/test

Docs

  • Not needed
Original prompt

Export WithGraphQLFeatures so that the remote server can implement its own round tripper and test it too, there was already a bug caused by failure to realise the remote server needed a code change also.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: SamMorrowDrums <4811358+SamMorrowDrums@users.noreply.github.com>
Copilot AI changed the title [WIP] Export WithGraphQLFeatures for remote server testing Export WithGraphQLFeatures for remote server round tripper implementation Jan 13, 2026
Copilot AI requested a review from SamMorrowDrums January 13, 2026 21:04
@SamMorrowDrums SamMorrowDrums marked this pull request as ready for review January 13, 2026 21:27
@SamMorrowDrums SamMorrowDrums requested a review from a team as a code owner January 13, 2026 21:27
Copilot AI review requested due to automatic review settings January 13, 2026 21:27
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR exports the WithGraphQLFeatures function to enable the remote server to implement custom HTTP round trippers with GraphQL feature flag support, matching the existing exported GetGraphQLFeatures function.

Changes:

  • Renamed withGraphQLFeatures to WithGraphQLFeatures (capitalized to export)
  • Updated the function comment to reflect the new export status
  • Updated the single internal call site to use the new name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants