Skip to content

Update Copilot CLI to 1.0.84-1 - #2549

Open
github-actions[bot] wants to merge 2 commits into
mainfrom
update-copilot-1.0.84-1
Open

Update Copilot CLI to 1.0.84-1#2549
github-actions[bot] wants to merge 2 commits into
mainfrom
update-copilot-1.0.84-1

Conversation

@github-actions

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

Copy link
Copy Markdown
Contributor

Automated update of the Copilot CLI release to version 1.0.84-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
@stephentoub
stephentoub marked this pull request as ready for review September 6, 2026 14:46
@stephentoub
stephentoub requested a review from a team as a code owner September 6, 2026 14:46
Copilot AI balanced review requested due to automatic review settings September 6, 2026 14:46
@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor Author

SDK Consistency Review

This PR regenerates code from an updated api.schema.json/CLI pin bump (1.0.831.0.84-1) and is fully generated across all six SDKs. No manual, language-specific implementation was found.

Changes verified for cross-language parity:

  1. New session.sandbox.disableForSession RPC — present and consistently implemented in all SDKs:

    • Node: SandboxSessionRpc.disableForSession(params)connection.sendRequest(...)
    • Python: SessionSandboxApi.disable_for_session(self, params, ...)
    • Go: SandboxAPI.DisableForSession(ctx, params)
    • .NET: DisableForSessionAsync(requestId, decisionContext, cancellationToken)
    • Java: SessionSandboxApi.disableForSession(SessionSandboxDisableForSessionParams)
    • Rust: SessionRpcSandbox::disable_for_session(params)

    All correctly inject sessionId from the session-scoped wrapper and return an {enabled, success} result type, following each language's naming convention (camelCase/PascalCase/snake_case as appropriate). Marked experimental consistently (@experimental, Experimental attribute, CopilotExperimental, doc warnings, etc.) in every SDK.

  2. New AgentInfo.disableModelInvocation / CustomAgentsUpdatedAgent.disableModelInvocation field — added identically (as an optional/nullable boolean) in all six SDKs.

  3. New AutoTier.fast enum value (with accompanying doc clarifying it's an integrator-only latency preset) — added consistently across all six SDKs' AutoTier type/enum, including the Go zsession_events.go re-export alias AutoTierFast.

  4. FactoryAgentOptions doc clarifications (agent, contextTier, reasoningEffort now described as honored rather than "accepted but not yet honored") — updated uniformly in all SDKs' generated docs/comments.

Conclusion: No cross-SDK inconsistencies found. Feature parity and naming conventions are well-maintained across Node.js, Python, Go, .NET, Java, and Rust.

Generated by SDK Consistency Review Agent for #2549 · copilot · sonnet50 · 54.8 AIC · ⌖ 12 AIC · ⊞ 9.7K ·

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

Java test compilation, handwritten API parity, compatibility, and session-scoping issues remain unresolved.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Updates the SDKs to Copilot CLI 1.0.84-1 and regenerates cross-language protocol bindings.

Changes:

  • Updates the shared CLI version pin.
  • Adds sandbox session-disable RPC support and agent metadata.
  • Adds the fast auto-routing tier and refreshed factory documentation.
File summaries
File Description
rust/src/generated/session_events.rs Adds agent metadata and fast tier.
rust/src/generated/rpc.rs Adds sandbox-disable RPC wrapper.
rust/src/generated/api_types.rs Adds corresponding Rust protocol types.
python/copilot/generated/session_events.py Adds agent metadata and fast tier.
python/copilot/generated/rpc.py Adds sandbox-disable RPC and refreshed types.
nodejs/src/generated/session-events.ts Adds agent metadata and fast tier.
nodejs/src/generated/rpc.ts Adds sandbox-disable RPC and related types.
nodejs/src/cliVersion.ts Updates the runtime version constant.
nodejs/package.json Updates the shared CLI release pin.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionSandboxDisableForSessionResult.java Adds sandbox-disable result record.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionSandboxDisableForSessionParams.java Adds sandbox-disable parameters.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionSandboxApi.java Adds sandbox-disable API method.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/FactoryAgentOptions.java Refreshes factory option documentation.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CapiSessionOptions.java Documents the fast tier.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/AutoTier.java Adds the FAST enum value.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/AgentInfo.java Adds model-invocation metadata.
java/sdk/src/generated/java/com/github/copilot/generated/CustomAgentsUpdatedAgent.java Adds model-invocation metadata.
java/sdk/src/generated/java/com/github/copilot/generated/AutoTier.java Adds the event-side FAST value.
go/zsession_events.go Re-exports the fast tier.
go/rpc/zsession_events.go Adds agent event metadata.
go/rpc/zrpc.go Adds generated RPC types and sandbox method.
dotnet/src/Generated/SessionEvents.cs Adds agent metadata and fast tier.
dotnet/src/Generated/Rpc.cs Adds sandbox-disable APIs and protocol types.
Review details

Files not reviewed (2)

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

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