Skip to content

Extract aliased project mutation primitive - #2923

Merged
RossTarrant merged 2 commits into
mainfrom
zwick-extract-projects-batch-mutation
Jul 22, 2026
Merged

RossTarrant merged 2 commits into
mainfrom
zwick-extract-projects-batch-mutation

Conversation

@zwick

@zwick zwick commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds the package-local aliased GraphQL mutation primitive used by #2903, isolated from batch orchestration.

Why

This draft is stacked on #2922 so the batch implementation can be reviewed as a linear set of focused changes.

What changed

  • Build and cache bounded positional reflected mutation types for update and clear operations.
  • Execute mutations through the existing githubv4.Client, preserving partial-data outcomes and testing GraphQL error classification directly.

MCP impact

  • No tool or API changes
  • Tool schema or behavior changed
  • New tool added

Prompts tested (tool changes only)

  • N/A

Security / limits

  • No security or limits impact
  • Auth / permissions considered
  • Data exposure, filtering, or token/size limits considered

Tool renaming

  • I am renaming tools as part of this PR (e.g. a part of a consolidation effort)
    • I have added the new tool aliases in deprecated_tool_aliases.go
  • 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
  • Updated (README / docs / examples)

@zwick zwick self-assigned this Jul 21, 2026
@zwick
zwick force-pushed the zwick-extract-projects-batch-mutation branch from a69dd2d to a7b9cf3 Compare July 21, 2026 20:32
@zwick
zwick requested a review from Copilot July 21, 2026 20:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds an internal GraphQL primitive for bounded, aliased project-item mutations while preserving partial results.

Changes:

  • Builds and caches reflected update/clear mutation types.
  • Executes up to 20 aliased mutations and classifies GraphQL errors.
  • Adds focused mutation construction and execution tests.
Show a summary per file
File Description
pkg/github/projects_batch_mutation.go Implements aliased mutation construction and execution.
pkg/github/projects_batch_mutation_test.go Tests caching, aliases, limits, and error classification.

Review details

  • Files reviewed: 2/2 changed files
  • Comments generated: 1
  • Review effort level: Medium

Comment thread pkg/github/projects_batch_mutation.go
Base automatically changed from zwick-extract-projects-resolver-refactor to main July 22, 2026 12:01
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: d7dc302d-e6f2-41e9-a2c8-ed598de47067
@zwick
zwick force-pushed the zwick-extract-projects-batch-mutation branch from a7b9cf3 to b9ecc1a Compare July 22, 2026 13:25
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 4d3df48a-5aa0-4cf0-a067-4aa5618c2887
@zwick
zwick marked this pull request as ready for review July 22, 2026 14:42
@zwick
zwick requested a review from a team as a code owner July 22, 2026 14:42
@RossTarrant
RossTarrant merged commit 4ed4f81 into main Jul 22, 2026
20 checks passed
@RossTarrant
RossTarrant deleted the zwick-extract-projects-batch-mutation branch July 22, 2026 14:52
social4hyq pushed a commit to social4hyq/homebrew-core that referenced this pull request Sep 20, 2026
github-mcp-server 1.7.0

Created-by: HarmonybrewBot
Commit-by: HarmonybrewBot
Merged-by: HarmonybrewBot
Description: Created by `brew bump`

---

Created with `brew bump-formula-pr`.<details>
  <summary>release notes</summary>
  <pre>## Highlights
- Server to Server auth is now supported for GitHub apps via stdio so enterprise/cloud workloads can be supported
- Projects tools improved pagination 
- The latest changes for the MCP 2026-07-28 spec are included via `go-sdk to 1.7.0-pre.3`
- Lockdown mode improvements
 
## What's Changed
* build(deps): bump go-sdk to 1.7.0-pre.2 and migrate OAuth to multi-round-trip elicitation by @SamMorrowDrums in github/github-mcp-server#2870
* build(deps): bump github.com/go-chi/chi/v5 from 5.3.0 to 5.3.1 by @dependabot[bot] in github/github-mcp-server#2824
* build(deps): bump docker/metadata-action from 6.1.0 to 6.2.0 by @dependabot[bot] in github/github-mcp-server#2825
* build(deps): bump docker/setup-buildx-action from 4.1.0 to 4.2.0 by @dependabot[bot] in github/github-mcp-server#2826
* build(deps): bump docker/login-action from 4.2.0 to 4.4.0 by @dependabot[bot] in github/github-mcp-server#2827
* build(deps): bump golang from 1.25.11-alpine to 1.25.12-alpine by @dependabot[bot] in github/github-mcp-server#2867
* build(deps): bump distroless/base-debian12 from `e7e678c` to `9c05cfd` by @dependabot[bot] in github/github-mcp-server#2868
* Centralise lockdown author checks by @kerobbi in github/github-mcp-server#2881
* build(deps): bump actions/cache from 5 to 6 by @dependabot[bot] in github/github-mcp-server#2794
* build(deps): bump node from `a2dc166` to `e88a35b` by @dependabot[bot] in github/github-mcp-server#2792
* perf(octicons): embed precomputed data URIs by @SamMorrowDrums in github/github-mcp-server#2895
* fix(labels): add DestructiveHint to label_write tool by @syf2211 in github/github-mcp-server#2763
* build(deps): bump go-sdk to 1.7.0-pre.3 by @SamMorrowDrums in github/github-mcp-server#2907
* build(deps): bump distroless/base-debian12 from `9c05cfd` to `348dac1` by @dependabot[bot] in github/github-mcp-server#2915
* Paginate project item lookup across memberships by @zwick in github/github-mcp-server#2914
* Add opt-in intent-aware Copilot issue assignment tool by @boazreicher in github/github-mcp-server#2909
* Add node IDs to project resolver results by @zwick in github/github-mcp-server#2922
* Extract aliased project mutation primitive by @zwick in github/github-mcp-server#2923
* build: use patched Go toolchain and UI dependency by @loganrosen in github/github-mcp-server#2927
* feat(auth): add GitHub App server-to-server authentication for stdio by @SamMorrowDrums in github/github-mcp-server#2797
* build(deps): bump actions/setup-go from 6 to 7 by @dependabot[bot] in github/github-mcp-server#2916
* build(deps): bump actions/setup-node from 6 to 7 by @dependabot[bot] in github/github-mcp-server#2917
* build(deps): bump golang.org/x/oauth2 from 0.35.0 to 0.36.0 by @dependabot[bot] in github/github-mcp-server#2793
* Add MCP App form deferral opt-out by @connor4312 in github/github-mcp-server#2921
* build(deps): bump the npm_and_yarn group across 1 directory with 2 updates by @dependabot[bot] in github/github-mcp-server#2932

## New Contributors
* @loganrosen made their first contribution in github/github-mcp-server#2927

**Full Changelog**: https://github.com/github/github-mcp-server/compare/v1.6.0...v1.7.0</pre>
  <p>View the full release notes at <a href="https://github.com/github/github-mcp-server/releases/tag/v1.7.0">https://github.com/github/github-mcp-server/releases/tag/v1.7.0</a>.</p>
</details>
<hr>

See merge request: Harmonybrew/homebrew-core!14967
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.

4 participants