Skip to content

Update Copilot CLI to 1.0.84-8 - #2662

Merged
stephentoub merged 2 commits into
mainfrom
update-copilot-1.0.84-8
Sep 15, 2026
Merged

stephentoub merged 2 commits into
mainfrom
update-copilot-1.0.84-8

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

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

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 marked this pull request as ready for review September 15, 2026 01:43
@stephentoub
stephentoub requested a review from a team as a code owner September 15, 2026 01:43
Copilot AI balanced review requested due to automatic review settings September 15, 2026 01:43

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 Rust test target no longer compiles, Python positional compatibility regresses, and new Java RPC wrappers lack established coverage.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Updates the pinned Copilot CLI to 1.0.84-8 and regenerates SDK protocol bindings.

Changes:

  • Updates the shared CLI version.
  • Adds workspace filesystem RPCs and shell execution metadata.
  • Extends shutdown, model capability, and permission-source schemas.
File summaries
File Description
nodejs/package.json Updates the CLI release pin.
nodejs/src/cliVersion.ts Updates the generated runtime version.
nodejs/src/generated/rpc.ts Regenerates RPC types and workspace methods.
nodejs/src/generated/session-events.ts Adds shell completion metadata.
python/copilot/generated/rpc.py Regenerates RPC models and methods.
python/copilot/generated/session_events.py Adds shell completion event data.
go/rpc/zrpc.go Regenerates RPC models and workspace methods.
go/rpc/zsession_events.go Adds shell completion event data.
go/zsession_events.go Re-exports the new event type.
dotnet/src/Generated/Rpc.cs Regenerates RPC models and APIs.
dotnet/src/Generated/SessionEvents.cs Adds shell completion event data.
rust/src/generated/api_types.rs Regenerates RPC types and constants.
rust/src/generated/rpc.rs Adds workspace RPC methods.
rust/src/generated/session_events.rs Adds shell completion event data.
java/sdk/src/generated/java/com/github/copilot/generated/ToolExecutionCompleteShellExecution.java Adds the shell completion record.
java/sdk/src/generated/java/com/github/copilot/generated/ToolExecutionCompleteEvent.java Adds shell metadata to completion events.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionWorkspacesStatFileResult.java Adds workspace metadata results.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionWorkspacesStatFileParams.java Adds stat-file parameters.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionWorkspacesRenamePathParams.java Adds rename parameters.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionWorkspacesRemovePathParams.java Adds removal parameters.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionWorkspacesReadFileParams.java Clarifies path formatting.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionWorkspacesListFilesResult.java Clarifies returned path formatting.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionWorkspacesCreateFileParams.java Clarifies path formatting.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionWorkspacesCreateDirectoryParams.java Adds directory-creation parameters.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionWorkspacesApi.java Adds workspace filesystem methods.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionShutdownParams.java Adds detached-hook shutdown control.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/PermissionModeSource.java Adds organization targeting.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/ModelCapabilitiesSupports.java Updates adaptive-thinking documentation.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/ModelCapabilitiesOverrideSupports.java Updates override documentation.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/AdaptiveThinkingSupport.java Adds adaptive-only support.
Review details

Files not reviewed (2)

  • go/rpc/zsession_events.go: Generated file
  • go/zsession_events.go: Generated file
  • Files reviewed: 3/30 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.

Default newly added shutdown options in the E2E request initializer.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@stephentoub stephentoub self-assigned this Sep 15, 2026
@github-actions

Copy link
Copy Markdown
Contributor Author

SDK Consistency Review — PR #2662

This PR is a generated-code regeneration bumping the pinned Copilot CLI schema version (1.0.84-61.0.84-8) plus one small Rust E2E test update. All changes are auto-generated from the shared schema, so cross-language parity is verified by construction rather than by manual per-SDK edits.

Reviewed the new/changed surface across all six SDKs and confirmed consistent parity:

  • session.workspaces new methods (statFile, createDirectory, removePath, renamePath) — present with matching semantics and idiomatic naming in .NET (StatFileAsync/CreateDirectoryAsync/...), Go (WorkspacesAPI.StatFile/CreateDirectory/...), Java (SessionWorkspacesApi.statFile/createDirectory/...), Node.js (session.workspaces.statFile/...), Python (stat_file/create_directory/...), and Rust (stat_file/create_directory/...).
  • ShutdownRequest.detachSessionEndHooks (opt-in flag to run deferred sessionEnd hooks in the background) — added consistently to all six SDKs' shutdown params/method signatures.
  • ToolExecutionCompleteData.shellExecution (experimental shell exit-code metadata) — added consistently to all six SDKs' generated tool-execution-complete event types.
  • AdaptiveThinkingSupport.adaptive_only enum value and updated doc comments — present in all six SDKs.
  • Only the Rust E2E test file (rust/tests/e2e/rpc_session_state.rs) received a non-generated change, adding ..Default::default() to satisfy the new ShutdownRequest field — this is a mechanical fixup required by the new field, not a behavioral change, and no equivalent test edit is needed in other languages since this is Rust's Default-derive idiom.

Conclusion: No cross-language inconsistencies found. The PR maintains full feature parity across Node.js, Python, Go, .NET, Java, and Rust.

Generated by SDK Consistency Review Agent for #2662 · copilot · sonnet50 · 41 AIC · ⌖ 12.2 AIC · ⊞ 8.3K ·

@stephentoub
stephentoub merged commit c03400d into main Sep 15, 2026
189 of 193 checks passed
@stephentoub
stephentoub deleted the update-copilot-1.0.84-8 branch September 15, 2026 02:57
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