Skip to content

Update Copilot CLI to 1.0.84-6 - #2658

Merged
stephentoub merged 3 commits into
mainfrom
update-copilot-1.0.84-6
Sep 14, 2026
Merged

stephentoub merged 3 commits into
mainfrom
update-copilot-1.0.84-6

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated update of the Copilot CLI release to version 1.0.84-6.

Changes

  • Updated the shared release pin in nodejs/package.json
  • Validated the release assets listed in SHA256SUMS.txt
  • Re-ran all code generators (scripts/codegen)
  • Formatted generated output
  • Regenerated Java types from the pinned CLI release schemas

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 shared CLI release pin
- Re-ran code generators
- Formatted generated code
@stephentoub stephentoub self-assigned this Sep 14, 2026
@stephentoub
stephentoub marked this pull request as ready for review September 14, 2026 20:04
@stephentoub
stephentoub requested a review from a team as a code owner September 14, 2026 20:04
Copilot AI balanced review requested due to automatic review settings September 14, 2026 20:04

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

Generated changes currently break Java and Rust test compilation, misdecode a Go union, and introduce public constructor compatibility regressions.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Updates the bundled Copilot CLI to 1.0.84-6 and regenerates protocol types across all SDKs.

Changes:

  • Updates the shared CLI version pin.
  • Regenerates RPC and session-event models.
  • Adds structured responses, managed MCP configuration, sandbox rules, and skill events.
File summaries
File Description
rust/src/generated/session_events.rs Regenerates Rust event types.
rust/src/generated/rpc.rs Updates Rust RPC methods.
rust/src/generated/api_types.rs Regenerates Rust protocol models.
python/copilot/generated/session_events.py Regenerates Python event types.
nodejs/src/generated/session-events.ts Updates TypeScript event types.
nodejs/src/generated/rpc.ts Regenerates TypeScript RPC types.
nodejs/src/cliVersion.ts Updates the runtime version constant.
nodejs/package.json Pins CLI 1.0.84-6.
java/sdk/src/generated/java/com/github/copilot/generated/ToolExecutionStartEvent.java Adds MCP provenance fields.
java/sdk/src/generated/java/com/github/copilot/generated/ToolExecutionCompleteResult.java Updates result documentation.
java/sdk/src/generated/java/com/github/copilot/generated/SubagentStartedEvent.java Adds model-selection provenance.
java/sdk/src/generated/java/com/github/copilot/generated/SkillInvokedRefEvent.java Adds referenced skill events.
java/sdk/src/generated/java/com/github/copilot/generated/SkillContextDeliveredRefEvent.java Adds referenced skill-context events.
java/sdk/src/generated/java/com/github/copilot/generated/SkillContextDeliveredEvent.java Adds delivered skill-context events.
java/sdk/src/generated/java/com/github/copilot/generated/SessionEvent.java Registers new Java event subtypes.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SlashCommandTextResult.java Adds sandbox session changes.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionsRegisterExtensionToolsOnSessionParams.java Removes obsolete extension RPC parameters.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionsRegisterExtensionToolsOnSessionOptions.java Removes obsolete extension options.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionSendParams.java Adds structured response formats.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionSendMessagesResult.java Clarifies message identity.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionSendMessagesParams.java Adds batch response formats.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionOpenOptions.java Adds managed MCP servers.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionDebugCollectLogsResult.java Updates debug-bundle documentation.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionDebugCollectLogsParams.java Supports configurable redaction.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionDebugApi.java Updates debug API documentation.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/ServerSessionsApi.java Removes the obsolete extension method.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SandboxSessionChange.java Adds sandbox transition values.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SandboxConfigUserPolicyNetwork.java Adds host allow/deny rules.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/ProviderModelConfig.java Adds model system messages.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/McpServerSource.java Adds managed provenance.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/McpServer.java Adds managed display names.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/ManagedMcpServerConfig.java Adds managed MCP configuration.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/JsonSchemaResponseFormat.java Adds JSON Schema responses.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/InstalledPluginInfo.java Adds plugin provenance.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/DebugCollectLogsRedaction.java Adds unredacted collection mode.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/DebugCollectLogsEntry.java Documents unredacted entries.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/DebugCollectLogsCollectedEntry.java Updates bundle documentation.
java/sdk/src/generated/java/com/github/copilot/generated/McpServerSource.java Adds managed event provenance.
java/sdk/src/generated/java/com/github/copilot/generated/McpServersLoadedServer.java Adds managed display names.
java/sdk/src/generated/java/com/github/copilot/generated/McpHeadersRefreshCompletedOutcome.java Adds refresh-error outcomes.
java/sdk/src/generated/java/com/github/copilot/generated/HookStartEvent.java Clarifies persisted hook input.
java/sdk/src/generated/java/com/github/copilot/generated/HookEndEvent.java Clarifies persisted hook output.
java/sdk/src/generated/java/com/github/copilot/generated/AssistantMessageEvent.java Adds originating message IDs.
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 skill events.
go/rpc/zrpc.go Regenerates Go RPC models.
go/rpc/zrpc_encoding.go Updates Go union encoding.
dotnet/src/Generated/SessionEvents.cs Regenerates .NET event models.
Review details

Files not reviewed (4)

  • 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
  • Files reviewed: 3/51 changed files
  • Comments generated: 1
  • Review effort level: Balanced

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

Comment thread go/rpc/zrpc_encoding.go
@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

Copy link
Copy Markdown
Contributor Author

SDK Consistency Review — PR #2658

This PR is a routine codegen sync (CLI pin bump 1.0.84-51.0.84-6) plus the corresponding E2E snapshot/test updates. I reviewed the full file list (get_files) and diff (get_diff) across all six SDKs.

Findings: consistent, no action needed.

  • All six generated-code trees (nodejs, python, go, dotnet, java, rust) were regenerated together and reflect the same new/changed wire types: ProtocolSystemMessageConfig (append/replace/customize variants) on ProviderModelConfig.systemMessage, ManagedMcpServerConfig.headersRefreshTtlMs / SessionMcpHeadersHandlePendingHeadersRefreshRequestHeaders.ttlMs, and the renamed/restructured MCP config types. All six languages picked up these additions in the same commit.
  • The MCP OAuth E2E test scope-string fixture change ("mcp.write""mcp.read mcp.write") was updated identically in all applicable languages: dotnet/test/E2E/McpOAuthE2ETests.cs, go/internal/e2e/mcp_oauth_e2e_test.go, nodejs/test/e2e/mcp_oauth.e2e.test.ts, python/e2e/test_mcp_oauth_e2e.py, java/sdk/src/test/java/.../McpOAuthE2ETest.java, and rust/tests/e2e/mcp_oauth.rs. No language was missed.
  • The new system_message field on ProviderModelConfig is emitted as an untyped Object (Java) / serde_json::Value (Rust) rather than the fully-typed ProtocolSystemMessageConfig union that TypeScript/Python/Go/.NET get. This is not new to this PR — it's an existing, systemic limitation of the shared codegen for recursive/self-referential union types in Java and Rust (dozens of other pre-existing fields in both generated trees already fall back to Object/serde_json::Value the same way). Since it's inherited generator behavior rather than something introduced here, I'm not flagging it as a PR-specific inconsistency, but it may be worth a follow-up codegen improvement if full typing for these two languages is desired.
  • scripts/codegen/rust.ts doc-sanitization tweak (wrapping bare <Type> references in backticks) is a Rust-specific codegen/doc-comment fix and doesn't need mirroring elsewhere.

Overall the PR maintains full cross-language feature parity — every generated surface and every test fixture update was applied uniformly across all six SDKs.

Generated by SDK Consistency Review Agent for #2658 · copilot · sonnet50 · 75.8 AIC · ⌖ 12.3 AIC · ⊞ 8.3K ·

@stephentoub
stephentoub merged commit e5c5379 into main Sep 14, 2026
108 checks passed
@stephentoub
stephentoub deleted the update-copilot-1.0.84-6 branch September 14, 2026 20:49
@emmanuelik0147-rgb

Copy link
Copy Markdown

Automated update of the Copilot CLI release to version 1.0.84-6.

Changes

  • Updated the shared release pin in nodejs/package.json
  • Validated the release assets listed in SHA256SUMS.txt
  • Re-ran all code generators (scripts/codegen)
  • Formatted generated output
  • Regenerated Java types from the pinned CLI release schemas

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 o 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 Ofunctionality 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.

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.

3 participants