Skip to content

Update @github/copilot to 1.0.83-1 - #2467

Merged
stephentoub merged 2 commits into
mainfrom
update-copilot-1.0.83-1
Sep 1, 2026
Merged

Update @github/copilot to 1.0.83-1#2467
stephentoub merged 2 commits into
mainfrom
update-copilot-1.0.83-1

Conversation

@github-actions

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

Copy link
Copy Markdown
Contributor

Automated update of @github/copilot to version 1.0.83-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/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 @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 September 1, 2026 21:06
@stephentoub
stephentoub requested a review from a team as a code owner September 1, 2026 21:06
Copilot AI balanced review requested due to automatic review settings September 1, 2026 21:06

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.

🟡 Changes recommended

The added Java record component leaves an existing test constructor call with the wrong arity, preventing test compilation.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Updates the Copilot runtime dependency to 1.0.83-1 and regenerates cross-language protocol types.

Changes:

  • Updates npm dependencies and lockfiles.
  • Regenerates RPC and session-event models across SDKs.
  • Adds new mode, managed-policy, catalog, factory-run, and billing fields.
File summaries
File Description
test/harness/package.json Updates harness dependency.
test/harness/package-lock.json Locks updated runtime binaries.
rust/src/generated/session_events.rs Regenerates Rust event types.
rust/src/generated/api_types.rs Regenerates Rust RPC types.
python/copilot/generated/session_events.py Regenerates Python event types.
python/copilot/generated/rpc.py Regenerates Python RPC types.
nodejs/src/generated/session-events.ts Regenerates Node.js event types.
nodejs/src/generated/rpc.ts Regenerates Node.js RPC types.
nodejs/samples/package-lock.json Updates sample dependency metadata.
nodejs/package.json Updates runtime dependency.
nodejs/package-lock.json Locks updated runtime packages.
java/sdk/src/generated/java/com/github/copilot/generated/SessionModeNoticeDeliveredEvent.java Adds the mode-notice event.
java/sdk/src/generated/java/com/github/copilot/generated/SessionManagedSettingsResolvedEvent.java Adds policy-helper provenance.
java/sdk/src/generated/java/com/github/copilot/generated/SessionEvent.java Registers the new event subtype.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SlashCommandCompletedResult.java Adds the resulting session mode.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionModelApplyStartupOverlayParams.java Adds policy-helper model input.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionFactoryRunResult.java Adds factory attempt metadata.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionFactoryRunFromToolResult.java Adds factory attempt metadata.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionFactoryGetRunResult.java Adds factory attempt metadata.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionFactoryCancelResult.java Adds factory attempt metadata.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/ModelBillingPromo.java Adds banner-display preference.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/FactoryRunResult.java Adds factory attempt metadata.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogSearchParams.java Updates query documentation.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogNetworkFailureReason.java Adds network failure reasons.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogNetworkFailureError.java Adds retry cooldown metadata.
java/sdk/src/generated/java/com/github/copilot/generated/ManagedSettingsResolvedSource.java Adds policy-helper source.
java/sdk/src/generated/java/com/github/copilot/generated/AssistantMessageReasoningBlocks.java Updates reasoning documentation.
java/scripts/codegen/package.json Updates Java codegen dependency.
java/scripts/codegen/package-lock.json Locks updated codegen dependency.
java/pom.xml Updates the reference runtime version.
go/zsession_events.go Re-exports new event definitions.
go/rpc/zsession_events.go Regenerates Go event types.
go/rpc/zsession_encoding.go Decodes the new event type.
go/rpc/zrpc.go Regenerates Go RPC types.
go/rpc/zrpc_encoding.go Updates factory failure encoding.
dotnet/src/Generated/SessionEvents.cs Regenerates .NET event types.
dotnet/src/Generated/Rpc.cs Regenerates .NET RPC types.
Review details

Files not reviewed (8)

  • go/rpc/zrpc_encoding.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: 5/37 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>
@stephentoub
stephentoub added this pull request to the merge queue Sep 1, 2026
Merged via the queue into main with commit 2980c78 Sep 1, 2026
130 of 133 checks passed
@stephentoub
stephentoub deleted the update-copilot-1.0.83-1 branch September 1, 2026 21:54
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