Skip to content

Update Copilot CLI to 1.0.86-1 - #2702

Closed
github-actions[bot] wants to merge 1 commit into
mainfrom
update-copilot-1.0.86-1
Closed

github-actions[bot] wants to merge 1 commit into
mainfrom
update-copilot-1.0.86-1

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated update of the Copilot CLI release to version 1.0.86-1.

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

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

The generated Python field ordering and exhaustive public Rust structs introduce compatibility breaks.

Pull request overview

Updates the pinned Copilot CLI to 1.0.86-1 and regenerates cross-language session-event models.

Changes:

  • Updates synchronized Node.js CLI version pins.
  • Adds ResponsesReasoning event metadata across SDKs.
  • Regenerates serialization and public type exports.
File summaries
File Description
rust/src/generated/session_events.rs Adds reasoning metadata to Rust events.
python/copilot/generated/session_events.py Adds Python reasoning models and serialization.
nodejs/src/generated/session-events.ts Adds TypeScript reasoning interfaces.
nodejs/src/cliVersion.ts Updates the runtime CLI pin.
nodejs/package.json Updates the shared CLI release pin.
java/sdk/src/generated/java/com/github/copilot/generated/UserMessageEvent.java Extends user-message event data.
java/sdk/src/generated/java/com/github/copilot/generated/SystemNotificationEvent.java Extends notification event data.
java/sdk/src/generated/java/com/github/copilot/generated/SessionCompactionCompleteEvent.java Extends compaction event data.
java/sdk/src/generated/java/com/github/copilot/generated/ResponsesReasoning.java Adds the generated Java reasoning record.
go/zsession_events.go Exports the new Go type.
go/rpc/zsession_events.go Adds Go RPC event fields and type.
go/rpc/zsession_encoding.go Updates custom Go decoding.
dotnet/src/Generated/SessionEvents.cs Adds .NET event properties and model.
dotnet/src/Generated/Rpc.cs Registers .NET serialization metadata.
Review details

Files not reviewed (3)

  • go/rpc/zsession_encoding.go: Generated file
  • go/rpc/zsession_events.go: Generated file
  • go/zsession_events.go: Generated file
  • Files reviewed: 2/14 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.

@aurokin

aurokin commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Superseded by CLI 1.0.86-2 adoption. Preserving the separately reproduced pre-existing native SIGCHLD/SA_ONSTACK defect investigation; closing this version bump does not resolve that defect.

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