Skip to content

Update @github/copilot to 1.0.83-2 - #2483

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

stephentoub merged 10 commits into
mainfrom
update-copilot-1.0.83-2

Conversation

@github-actions

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

Copy link
Copy Markdown
Contributor

Automated update of @github/copilot to version 1.0.83-2.

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.

@stephentoub stephentoub self-assigned this Sep 2, 2026
@stephentoub
stephentoub marked this pull request as ready for review September 2, 2026 13:50
@stephentoub
stephentoub requested a review from a team as a code owner September 2, 2026 13:50
Copilot AI balanced review requested due to automatic review settings September 2, 2026 13:50
@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.

🔵 Needs a closer look

Rust and Java tests retain pre-generation type shapes and will not compile.

Pull request overview

Updates the Copilot CLI dependency to 1.0.83-2 and regenerates SDK protocol bindings.

Changes:

  • Updates dependency manifests and lockfiles.
  • Adds new events, model-policy metadata, and message identifiers.
  • Adds hook-discovery and persisted-event RPC bindings.
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/rpc.rs Adds generated Rust RPC methods.
rust/src/generated/api_types.rs Regenerates Rust RPC models.
python/copilot/generated/session_events.py Regenerates Python event models.
nodejs/src/generated/session-events.ts Regenerates TypeScript event types.
nodejs/src/generated/rpc.ts Adds generated TypeScript RPC surfaces.
nodejs/samples/package-lock.json Updates sample dependency lock.
nodejs/package.json Updates Node runtime dependency.
nodejs/package-lock.json Locks updated runtime binaries.
java/sdk/src/generated/java/com/github/copilot/generated/UserMessageEvent.java Adds message identity.
java/sdk/src/generated/java/com/github/copilot/generated/SubagentFailedEvent.java Adds model-override reason.
java/sdk/src/generated/java/com/github/copilot/generated/SubagentCompletedEvent.java Adds model-override reason.
java/sdk/src/generated/java/com/github/copilot/generated/SessionFusionResolvedEvent.java Adds Fusion phase plans.
java/sdk/src/generated/java/com/github/copilot/generated/SessionEvent.java Registers new event subtypes.
java/sdk/src/generated/java/com/github/copilot/generated/SessionCompletionReceiptEvent.java Adds completion-receipt event.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SubagentSettingsEntry.java Adds model-policy setting.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionsReadPersistedEventsResult.java Adds persisted-event result.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionsReadPersistedEventsParams.java Adds persisted-event parameters.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionModelSwitchToParams.java Clarifies model-source behavior.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/ServerSessionsApi.java Exposes persisted-event reads.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/ServerRpc.java Registers hooks API.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/ServerHooksApi.java Adds hook discovery.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SandboxConfigUserPolicyNetworkProxy.java Updates proxy documentation.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SandboxConfigUserPolicyNetwork.java Updates platform proxy documentation.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/QueuePendingItems.java Adds queued-message identity.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/HookType.java Updates hook-type documentation.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/HooksDiscoverResult.java Adds hook-discovery result.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/HooksDiscoverParams.java Adds hook-discovery parameters.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/HookOrigin.java Adds hook-origin enum.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/DiscoveredHook.java Adds discovered-hook model.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/AgentModelPolicy.java Adds RPC model-policy enum.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/AgentInfo.java Adds multi-model metadata.
java/sdk/src/generated/java/com/github/copilot/generated/PermissionRequestedEvent.java Adds originating agent mode.
java/sdk/src/generated/java/com/github/copilot/generated/FusionPhasePlanStep.java Adds Fusion plan-step model.
java/sdk/src/generated/java/com/github/copilot/generated/FusionPhaseActivityKind.java Adds Fusion activity enum.
java/sdk/src/generated/java/com/github/copilot/generated/CustomAgentsUpdatedAgent.java Adds authored-model metadata.
java/sdk/src/generated/java/com/github/copilot/generated/CompletionReceiptToolStatus.java Adds receipt status enum.
java/sdk/src/generated/java/com/github/copilot/generated/CompletionReceiptStopReason.java Adds receipt stop reasons.
java/sdk/src/generated/java/com/github/copilot/generated/CompletionReceiptFinalTool.java Adds final-tool receipt model.
java/sdk/src/generated/java/com/github/copilot/generated/CompletionReceiptEventRange.java Adds receipt event range.
java/sdk/src/generated/java/com/github/copilot/generated/AssistantFusionPhaseActivityEvent.java Adds Fusion activity event.
java/sdk/src/generated/java/com/github/copilot/generated/AgentModelPolicy.java Adds event model-policy enum.
java/scripts/codegen/package.json Updates Java codegen dependency.
java/scripts/codegen/package-lock.json Locks Java codegen runtime.
java/pom.xml Updates Java reference version.
go/zsession_events.go Re-exports new Go event types.
go/rpc/zsession_events.go Regenerates Go event models.
go/rpc/zsession_encoding.go Decodes new event payloads.
go/rpc/zrpc.go Adds generated Go RPC surfaces.
dotnet/src/Generated/SessionEvents.cs Regenerates .NET event models.
Review details

Files not reviewed (7)

  • 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: 6/56 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.

@github-actions

This comment has been minimized.

@github-actions github-actions Bot mentioned this pull request Sep 2, 2026
@gokhanarkan gokhanarkan linked an issue Sep 2, 2026 that may be closed by this pull request
@stephentoub
stephentoub added this pull request to the merge queue Sep 2, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 2, 2026
@stephentoub
stephentoub added this pull request to the merge queue Sep 2, 2026
github-actions Bot and others added 4 commits September 2, 2026 13:19
- Updated nodejs and test harness dependencies
- Re-ran code generators
- Formatted generated code
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@stephentoub
stephentoub removed this pull request from the merge queue due to a manual request Sep 2, 2026
@stephentoub
stephentoub force-pushed the update-copilot-1.0.83-2 branch from b2ac890 to 0cc1b2c Compare September 2, 2026 17:19
@github-actions

This comment has been minimized.

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

This comment has been minimized.

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

This comment has been minimized.

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

This comment has been minimized.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@stephentoub
stephentoub added this pull request to the merge queue Sep 2, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 2, 2026
@stephentoub
stephentoub added this pull request to the merge queue Sep 2, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Sep 2, 2026
@stephentoub
stephentoub added this pull request to the merge queue Sep 2, 2026
@stephentoub
stephentoub removed this pull request from the merge queue due to a manual request Sep 2, 2026
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

SDK Consistency Review

Reviewed the authoritative PR diff (get_files + get_diff) for #2483.

Summary: This PR is an automated @github/copilot schema bump (v1.0.83-2) that regenerates code from the shared JSON schema across all six SDKs in parallel:

  • Node.js (nodejs/src/generated/rpc.ts, session-events.ts)
  • Python (python/copilot/generated/rpc.py, session_events.py)
  • Go (go/rpc/zrpc.go, zsession_events.go, zsession_encoding.go)
  • .NET (dotnet/src/Generated/Rpc.cs, SessionEvents.cs)
  • Java (java/sdk/src/generated/java/... — new types: AgentModelPolicy, DiscoveredHook, HookOrigin, HooksDiscoverParams/Result, ServerHooksApi, CompletionReceipt*, FusionPhase*, SessionCompletionReceiptEvent, etc.)
  • Rust (rust/src/generated/api_types.rs, rpc.rs, session_events.rs)

All new schema-driven surface (hooks discovery API, completion receipt events, fusion phase activity, agent model policy field on AgentInfo/SubagentSettingsEntry) appears consistently across every generated language target — no language received the new fields/types without the others.

Accompanying handwritten changes are limited to necessary adaptations to the new generated signatures (e.g., updated AgentInfo/SubagentSettingsEntry constructor call sites in RpcSessionStateExtrasE2ETest.java, GeneratedRpcRecordsCoverageTest.java, and rust/tests/e2e/rpc_session_state_extras.rs to pass null/None for the new model_policy field) and a Rust codegen doc-comment fix (scripts/codegen/rust.ts) that only affects generated comment formatting, not API surface.

Conclusion: No cross-SDK consistency issues found. This PR maintains feature parity by design (single schema → all generators), and the manual follow-up edits are symmetric across the affected SDKs.

Generated by SDK Consistency Review Agent for #2483 · sonnet50 35.4 AIC · ⌖ 6.46 AIC · ⊞ 8.8K ·

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@stephentoub
stephentoub added this pull request to the merge queue Sep 2, 2026
Merged via the queue into main with commit 5725e40 Sep 2, 2026
156 of 158 checks passed
@stephentoub
stephentoub deleted the update-copilot-1.0.83-2 branch September 2, 2026 23:31
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.

Expose catalogue APIs in the Copilot SDK

2 participants