Skip to content

Update Copilot CLI to 1.0.85 - #2688

Merged
stephentoub merged 2 commits into
mainfrom
update-copilot-1.0.85
Sep 16, 2026
Merged

stephentoub merged 2 commits into
mainfrom
update-copilot-1.0.85

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated update of the Copilot CLI release to version 1.0.85.

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 16, 2026 03:37
Copilot AI balanced review requested due to automatic review settings September 16, 2026 03:37
@stephentoub
stephentoub requested a review from a team as a code owner September 16, 2026 03:37

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.

🟢 Approval recommended

The version pins and generated protocol changes are consistent across all affected SDKs.

Pull request overview

Updates all SDKs to align with Copilot CLI 1.0.85 and its session-event schema.

Changes:

  • Updated the shared CLI version pin.
  • Added contextual authorization and assent-detection event models.
  • Added the optional extraction-activation field across generated SDK types.
File summaries
File Description
nodejs/package.json Updates the shared CLI version pin.
nodejs/src/cliVersion.ts Updates the runtime CLI version.
nodejs/src/generated/session-events.ts Regenerates TypeScript event types.
python/copilot/generated/session_events.py Regenerates Python event models and parsing.
rust/src/generated/session_events.rs Regenerates Rust event enums and payloads.
go/zsession_events.go Exposes new Go event aliases and constants.
go/rpc/zsession_events.go Adds Go RPC event payloads.
go/rpc/zsession_encoding.go Deserializes the new Go event variants.
dotnet/src/Generated/SessionEvents.cs Adds .NET event models and serialization metadata.
dotnet/src/Generated/Rpc.cs Registers new .NET JSON serialization types.
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/PermissionMessageAuthorizationReadEvent.java Adds extraction-activation data.
java/sdk/src/generated/java/com/github/copilot/generated/PermissionContextualAuthorizationEvent.java Adds the contextual authorization event.
java/sdk/src/generated/java/com/github/copilot/generated/PermissionAssentDetectedEvent.java Adds the assent-detected event.
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 (auto)

Note

Copilot is running an experiment and ran this review at 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.

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

Copy link
Copy Markdown
Contributor Author

SDK Consistency Review — PR #2688

This PR is a routine pinned Copilot CLI version bump (1.0.84-81.0.85) with regenerated types, plus two updated E2E snapshot fixtures. No hand-written SDK logic was touched.

Cross-SDK consistency: ✅ Good — no issues found.

  • All six generated-type surfaces (dotnet/src/Generated/*, go/rpc/zsession_*, go/zsession_events.go, java/sdk/src/generated/java/.../generated/*, nodejs/src/generated/session-events.ts, python/copilot/generated/session_events.py, rust/src/generated/session_events.rs) add the same two new experimental session events consistently:
    • permission.assentDetectedPermissionAssentDetectedEvent / PermissionAssentDetectedData (fields: requestId, turnIndex)
    • permission.contextualAuthorizationPermissionContextualAuthorizationEvent / PermissionContextualAuthorizationData (fields: polarity, recordId, requestId, spanEnd, spanStart, turnIndex)
  • The new optional activatesExtraction field on PermissionMessageAuthorizationReadData is present across all languages (C# bool? ActivatesExtraction, Go *bool with omitempty, Java Boolean activatesExtraction, TS activatesExtraction?: boolean, Python activates_extraction: bool | None, Rust equivalent), with matching updated doc comments in every language.
  • Naming follows each language's convention correctly (PascalCase in C#/Go/Java classes, camelCase in TS/Java methods & JSON props, snake_case in Python/Rust).
  • Only nodejs/package.json / nodejs/src/cliVersion.ts carry the literal CLI version string, which is expected since Node.js owns the pinned-version source of truth that other SDKs' codegen consumes.
  • The two test/snapshots/session_config/*.yaml changes ("You've reached the maximum number of images...""[image]") reflect an upstream CLI behavior change for the vision/image-limit case, exercised identically in both snapshot files — not an SDK-specific inconsistency.

No action needed; this PR maintains full feature parity across all six SDKs.

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

@stephentoub
stephentoub added this pull request to the merge queue Sep 16, 2026
Merged via the queue into main with commit 583f8f1 Sep 16, 2026
108 checks passed
@stephentoub
stephentoub deleted the update-copilot-1.0.85 branch September 16, 2026 04:24
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