Skip to content

Update @github/copilot to 1.0.83-5 - #2516

Merged
stephentoub merged 5 commits into
mainfrom
update-copilot-1.0.83-5
Sep 4, 2026
Merged

Update @github/copilot to 1.0.83-5#2516
stephentoub merged 5 commits into
mainfrom
update-copilot-1.0.83-5

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Automated update of the Copilot CLI release to version 1.0.83-5.

Changes

  • Updated the release pin in nodejs/package.json
  • Validated the release assets listed in SHA256SUMS.txt
  • 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/sdk/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/sdk/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 Copilot CLI Version workflow.

- Updated the Node.js CLI release pin
- Re-ran code generators
- Formatted generated code
@stephentoub
stephentoub marked this pull request as ready for review September 4, 2026 03:41
@stephentoub
stephentoub requested a review from a team as a code owner September 4, 2026 03:41
Copilot AI balanced review requested due to automatic review settings September 4, 2026 03:41

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.

🔵 Needs a closer look

Critical compatibility and Java compilation issues remain, along with missing RPC coverage.

Pull request overview

Updates the Copilot CLI pin to 1.0.83-5 and regenerates protocol bindings across supported SDKs.

Changes:

  • Updates Node.js and Java CLI/codegen dependencies.
  • Adds autopilot objective, remediation, MCP metadata, and plugin staging APIs.
  • Regenerates Rust, Python, Node.js, Java, Go, and .NET bindings.
File summaries
File Description
rust/src/generated/session_events.rs Updates event models. Critical: new fields break public struct-literal construction for four exported types.
rust/src/generated/rpc.rs Adds autopilot objective RPC access.
rust/src/generated/api_types.rs Adds generated protocol types.
python/copilot/generated/session_events.py Updates event models. Critical: inserted fields silently shift existing positional arguments in remediation and MCP models.
python/copilot/generated/rpc.py Adds regenerated RPC models and APIs.
nodejs/src/generated/session-events.ts Updates TypeScript event types.
nodejs/src/generated/rpc.ts Adds TypeScript RPC types and APIs.
nodejs/src/cliVersion.ts Updates the CLI version constant.
nodejs/package.json Updates the CLI release pin.
java/sdk/src/generated/java/com/github/copilot/generated/ToolExecutionCompleteError.java Adds remediation data.
java/sdk/src/generated/java/com/github/copilot/generated/SessionWarningEvent.java Adds warning remediation data.
java/sdk/src/generated/java/com/github/copilot/generated/SessionErrorEvent.java Adds error remediation data.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SlashCommandTimelineEntry.java Adds timeline remediation data.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionRpc.java Exposes autopilot objective APIs.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionAutopilotObjectiveGetStateResult.java Adds objective-state results.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionAutopilotObjectiveGetStateParams.java Adds objective-state parameters.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionAutopilotObjectiveApi.java Adds objective-state RPC. Moderate: generated API coverage is missing.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/RemediationAction.java Adds RPC remediation values.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/PluginsInstallResult.java Adds plugin staging metadata.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/PluginInstallStagingMode.java Adds plugin staging modes.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/McpServerMetadata.java Adds RPC MCP metadata.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/McpServer.java Adds server metadata. Critical: an existing test still invokes the old constructor and cannot compile.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/AutopilotObjectiveStatus.java Adds objective status values.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/AutopilotObjectiveState.java Adds objective state details.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/AutopilotObjectiveCreditLimit.java Adds objective credit details.
java/sdk/src/generated/java/com/github/copilot/generated/RemediationAction.java Adds event remediation values.
java/sdk/src/generated/java/com/github/copilot/generated/McpServersLoadedServer.java Adds loaded-server metadata.
java/sdk/src/generated/java/com/github/copilot/generated/McpServerMetadata.java Adds event MCP metadata.
java/scripts/codegen/package.json Updates the Java codegen dependency.
java/scripts/codegen/package-lock.json Refreshes the Java codegen lockfile.
java/pom.xml Updates the reference implementation pin.
go/zsession_events.go Re-exports new event types and constants.
go/rpc/zsession_events.go Updates generated Go events.
go/rpc/zrpc.go Adds generated Go RPC APIs and types.
dotnet/src/Generated/SessionEvents.cs Updates generated .NET events.
dotnet/src/Generated/Rpc.cs Adds generated .NET RPC APIs and types.
Review details

Files not reviewed (3)

  • go/rpc/zsession_events.go: Generated file
  • go/zsession_events.go: Generated file
  • java/scripts/codegen/package-lock.json: Generated file
  • Files reviewed: 5/36 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor Author

SDK Consistency Review — PR #2516

This PR is a routine generated-code sync: it bumps the pinned Copilot CLI version to 1.0.83-5 and regenerates the .NET, Go, and Java SDKs (dotnet/src/Generated/*.cs, go/rpc/zrpc.go, go/zsession_events.go, java/sdk/src/generated/java/**) plus updates nodejs/src/cliVersion.ts and the Java codegen tool dependencies.

Cross-SDK check: The new/changed types introduced by this CLI bump — AutopilotObjectiveCreditLimit, AutopilotObjectiveState, AutopilotObjectiveStatus, SessionAutopilotObjectiveGetState*, PluginInstallStagingMode (on PluginInstallResult), RemediationAction, and McpServerMetadata — were verified to already exist in the Node.js, Python, and Rust generated sources (from a prior sync commit in this same history). This PR brings .NET, Go, and Java into parity with those, so no SDK is left behind after this change.

  • Naming is consistent with each language's convention (PascalCase in .NET/Go, camelCase classes generated as PascalCase in Java, matching field names like stagingMode/StagingMode).
  • GeneratedRpcRecordsCoverageTest.java was updated alongside the new Java records, keeping generated-type coverage tests in sync.
  • No hand-written client/API surface files were touched — only generated code, codegen tooling (package.json/package-lock.json), and the version pin, which is expected for a codegen bump PR.

Conclusion: No cross-language inconsistency found. Changes are internally consistent with the rest of the SDK suite.

Generated by SDK Consistency Review Agent for #2516 · copilot · sonnet50 · 28.6 AIC · ⌖ 12.9 AIC · ⊞ 9.7K ·

stephentoub and others added 2 commits September 4, 2026 00:24
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Avoid surfacing a diagnostic stderr drain timeout after the owned process has exited, and allow Windows shell commands enough time to start before testing runtime timeout cleanup.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@stephentoub
stephentoub added this pull request to the merge queue Sep 4, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 4, 2026
@stephentoub
stephentoub added this pull request to the merge queue Sep 4, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 4, 2026
@stephentoub
stephentoub added this pull request to the merge queue Sep 4, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 4, 2026
@stephentoub
stephentoub added this pull request to the merge queue Sep 4, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 4, 2026
@stephentoub
stephentoub added this pull request to the merge queue Sep 4, 2026
Merged via the queue into main with commit 0921029 Sep 4, 2026
165 of 167 checks passed
@stephentoub
stephentoub deleted the update-copilot-1.0.83-5 branch September 4, 2026 08:03
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