Skip to content

Update @github/copilot to 1.0.71-1#1988

Closed
github-actions[bot] wants to merge 3 commits into
mainfrom
update-copilot-1.0.71-1
Closed

Update @github/copilot to 1.0.71-1#1988
github-actions[bot] wants to merge 3 commits into
mainfrom
update-copilot-1.0.71-1

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated update of @github/copilot to version 1.0.71-1.

Changes

  • Updated @github/copilot in nodejs/package.json and test/harness/package.json
  • Re-ran all code generators (scripts/codegen)
  • Formatted generated output
  • Updated Java codegen dependency, POM property, and regenerated Java types

Java Handwritten Code Adaptation Plan

If java-sdk-tests CI fails on this PR, follow these steps:

  1. Identify failures: Run mvn clean, mvn verify from java/ locally or check the java-sdk-tests workflow run logs.
  2. Categorize errors:
    • Constructor signature changes (new fields added to generated records)
    • Enum value additions/renames in generated types
    • New event types requiring handler registration
    • Removed or renamed generated types
  3. Fix handwritten source (java/src/main/java/com/github/copilot/sdk/):
    • Update call sites passing positional constructor args to include new fields (typically null for optional new fields).
    • Update switch/if-else over enum values to handle new cases.
    • Register handlers for new event types in CopilotSession.java if applicable.
  4. Fix handwritten tests (java/src/test/java/com/github/copilot/sdk/):
    • Same constructor/enum fixes as above.
    • Add new test methods for new functionality if the change adds user-facing API surface.
  5. Validate: cd java && mvn clean test-compile jar:jar && mvn verify -Dskip.test.harness=true
  6. Format: cd java && mvn spotless:apply
  7. Push fixes to this PR branch.

To automate this, trigger the java-adapt-handwritten-code-to-accept-upgrade-changes agentic workflow instead.

Next steps

When ready, click Ready for review to trigger CI checks.

Created by the Update @github/copilot Dependency workflow.

- Updated nodejs and test harness dependencies
- Re-ran code generators
- Formatted generated code
@stephentoub
stephentoub marked this pull request as ready for review July 14, 2026 18:01
@stephentoub
stephentoub requested a review from a team as a code owner July 14, 2026 18:01
Copilot AI review requested due to automatic review settings July 14, 2026 18:01
@github-actions

This comment has been minimized.

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

Updates @github/copilot to 1.0.71-1 and regenerates SDK protocol types across supported languages.

Changes:

  • Updates dependency manifests and lockfiles.
  • Adds memory-change events and MCP metadata fields.
  • Updates RPC types for marketplaces, slash-command notices, MCP Apps, and working-directory behavior.
Show a summary per file
File Description
test/harness/package.json Updates harness dependency.
test/harness/package-lock.json Locks updated harness packages.
rust/src/generated/session_events.rs Regenerates Rust event types.
rust/src/generated/rpc.rs Updates Rust RPC documentation.
rust/src/generated/api_types.rs Regenerates Rust RPC models.
python/copilot/generated/session_events.py Regenerates Python event types.
python/copilot/generated/rpc.py Regenerates Python RPC models.
nodejs/src/generated/session-events.ts Regenerates TypeScript event types.
nodejs/src/generated/rpc.ts Regenerates TypeScript RPC types.
nodejs/samples/package-lock.json Refreshes sample lockfile.
nodejs/package.json Updates Node SDK dependency.
nodejs/package-lock.json Locks updated Node packages.
java/src/generated/java/com/github/copilot/generated/ToolExecutionCompleteResult.java Adds MCP metadata.
java/src/generated/java/com/github/copilot/generated/ToolExecutionCompleteEvent.java Adds event MCP metadata.
java/src/generated/java/com/github/copilot/generated/SessionMemoryChangedEvent.java Adds memory-change event.
java/src/generated/java/com/github/copilot/generated/SessionEvent.java Registers memory-change subtype.
java/src/generated/java/com/github/copilot/generated/rpc/SlashCommandAgentPromptResult.java Adds slash-command notice.
java/src/generated/java/com/github/copilot/generated/rpc/SessionMetadataSetWorkingDirectoryResult.java Updates working-directory documentation.
java/src/generated/java/com/github/copilot/generated/rpc/SessionMetadataSetWorkingDirectoryParams.java Documents validation behavior.
java/src/generated/java/com/github/copilot/generated/rpc/SessionMetadataApi.java Updates metadata API documentation.
java/src/generated/java/com/github/copilot/generated/rpc/SessionMcpAppsReadResourceResult.java Restores MCP Apps resource result.
java/src/generated/java/com/github/copilot/generated/rpc/SessionMcpAppsReadResourceParams.java Restores MCP Apps parameters.
java/src/generated/java/com/github/copilot/generated/rpc/SessionMcpAppsApi.java Restores MCP Apps API.
java/src/generated/java/com/github/copilot/generated/rpc/SessionEventLogRegisterInterestParams.java Clarifies OAuth event behavior.
java/src/generated/java/com/github/copilot/generated/rpc/ServerPluginsMarketplacesApi.java Documents marketplace working directory.
java/src/generated/java/com/github/copilot/generated/rpc/PluginsMarketplacesAddParams.java Adds marketplace working directory.
java/src/generated/java/com/github/copilot/generated/rpc/McpAppsResourceContent.java Updates MCP resource metadata.
java/scripts/codegen/package.json Updates Java codegen dependency.
java/scripts/codegen/package-lock.json Locks Java codegen packages.
java/pom.xml Updates reference implementation version.
go/zsession_events.go Exports memory-change aliases.
go/rpc/zsession_events.go Adds Go event and metadata types.
go/rpc/zsession_encoding.go Adds Go event decoding.
go/rpc/zrpc.go Regenerates Go RPC models.
dotnet/src/Generated/SessionEvents.cs Regenerates .NET event types.
dotnet/src/Generated/Rpc.cs Regenerates .NET RPC surface.

Review details

Files not reviewed (8)
  • go/rpc/zrpc.go: Generated file
  • go/rpc/zsession_encoding.go: Generated file
  • go/rpc/zsession_events.go: Generated file
  • go/zsession_events.go: Generated file
  • java/scripts/codegen/package-lock.json: Generated file
  • nodejs/package-lock.json: Generated file
  • nodejs/samples/package-lock.json: Generated file
  • test/harness/package-lock.json: Generated file
  • Files reviewed: 4/36 changed files
  • Comments generated: 0
  • Review effort level: Medium

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: b11d128d-0309-4cd6-b7f0-8b7e06a95beb
@github-actions

Copy link
Copy Markdown
Contributor Author

Cross-SDK Consistency Review ✅

This PR is an automated codegen update and all changes are consistently applied across all six SDK implementations.

Changes verified as consistent across Node.js, Python, Go, .NET, Java, and Rust:

Change All SDKs
New session.memory_changed event + SessionMemoryChangedData type
SlashCommandAgentPromptResult gains notice field
PluginsMarketplacesAddRequest gains workingDirectory field
McpAppsReadResourceRequest/Result un-deprecated with updated docs
MCP OAuth E2E tests added ✅ (Node.js, Python, Go, .NET, Java, Rust)

No cross-SDK consistency issues found.

Generated by SDK Consistency Review Agent for issue #1988 · sonnet46 883.1K ·

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: b11d128d-0309-4cd6-b7f0-8b7e06a95beb
@github-actions github-actions Bot mentioned this pull request Jul 14, 2026
@stephentoub
stephentoub deleted the update-copilot-1.0.71-1 branch July 15, 2026 00:18
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