Skip to content

Conversation

@tmelliottjr
Copy link
Contributor

This PR updates the tool/argument descriptions for projects related tools to better enable tool selection and project item filter.

Additionally, this PR introduces pagination for list_* operations to enable effective querying.

@tmelliottjr tmelliottjr requested a review from a team as a code owner November 3, 2025 18:31
Copilot AI review requested due to automatic review settings November 3, 2025 18:31
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 enhances the GitHub Projects V2 integration by adding advanced pagination support, improving response structures, refining query capabilities, and updating test coverage to match the new implementation. The changes focus on providing more robust pagination handling and clearer field filtering capabilities.

Key changes:

  • Added cursor-based pagination support (after, before parameters) with pageInfo in responses
  • Changed response format to include pageInfo metadata alongside data arrays
  • Updated field filtering to exclude special/system data types from responses
  • Refactored field ID handling from array to comma-separated string format

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

File Description
pkg/github/projects.go Core implementation: adds pagination options extraction, pageInfo builder, filterSpecialTypes function, updated response structures with pageInfo, and comprehensive query documentation
pkg/github/projects_test.go Test updates: modified mock data to include required fields (node_id), updated assertions to validate new response structure with pageInfo, simplified field query parameter handling
pkg/github/toolsnaps/*.snap Snapshot updates: documents new pagination parameters and updated descriptions for tool schemas
README.md Documentation updates: adds pagination parameters and extensive query syntax documentation for projects tools

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tmelliottjr tmelliottjr requested a review from JoannaaKL November 3, 2025 19:17
tmelliottjr and others added 2 commits November 4, 2025 10:31
Co-authored-by: JoannaaKL <joannaakl@github.com>
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.

3 participants