Skip to content

Update Copilot CLI to 1.0.84-4 - #2609

Merged
stephentoub merged 3 commits into
mainfrom
update-copilot-1.0.84-4
Sep 10, 2026
Merged

Update Copilot CLI to 1.0.84-4#2609
stephentoub merged 3 commits into
mainfrom
update-copilot-1.0.84-4

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

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

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

This comment has been minimized.

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 compilation regressions, lossy metadata generation, positional API breaks, and an inconsistent sample lockfile must be corrected.

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

Pull request overview

Updates the bundled Copilot CLI pin to 1.0.84-4 and regenerates SDK protocol surfaces across supported languages.

Changes:

  • Updates the shared CLI version pin.
  • Regenerates RPC and session-event types for new metadata, factory pause, sandbox, model, and subagent features.
  • Refreshes Java wrappers, Go codecs, and .NET polymorphic event models.
File summaries
File Description
rust/src/generated/session_events.rs Updates Rust event models.
rust/src/generated/rpc.rs Adds generated Rust RPC methods.
rust/src/generated/api_types.rs Adds Rust protocol types.
python/copilot/generated/session_events.py Updates Python event dataclasses.
nodejs/src/generated/session-events.ts Updates Node.js event types.
nodejs/src/generated/rpc.ts Adds Node.js RPC types and wrappers.
nodejs/src/cliVersion.ts Updates the runtime CLI version.
nodejs/samples/package-lock.json Refreshes linked SDK dependency metadata.
nodejs/package.json Updates the shared CLI pin.
java/sdk/src/generated/java/com/github/copilot/generated/SubagentTaskModelSource.java Adds subagent model-source values.
java/sdk/src/generated/java/com/github/copilot/generated/SubagentStartedEvent.java Adds task model-source data.
java/sdk/src/generated/java/com/github/copilot/generated/SubagentModelSelectionSource.java Adds model-selection source values.
java/sdk/src/generated/java/com/github/copilot/generated/SubagentFailedEvent.java Adds model-selection metadata.
java/sdk/src/generated/java/com/github/copilot/generated/SubagentCompletedEvent.java Adds model-selection metadata.
java/sdk/src/generated/java/com/github/copilot/generated/SessionEvent.java Registers the new event subtype.
java/sdk/src/generated/java/com/github/copilot/generated/SessionCompactionCompleteEvent.java Adds factory compaction context.
java/sdk/src/generated/java/com/github/copilot/generated/SessionAutoTierRecommendationEvent.java Adds Auto-tier recommendations.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SubagentSettingsEntry.java Adds automatic invocation settings.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionsGetClientMetadataParams.java Adds metadata batch parameters.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionSandboxDisableForSessionResult.java Adds sandbox-disable results.
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 the sandbox-disable RPC.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionModelSetAllowedModelsResult.java Adds allowlist results.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionModelSetAllowedModelsParams.java Adds allowlist parameters.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionModelApi.java Adds the model-allowlist RPC.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionMetadataUpdateClientMetadataParams.java Adds metadata patch parameters.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionMetadataGetClientMetadataParams.java Adds metadata lookup parameters.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionMetadataApi.java Adds client-metadata RPCs.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionFsAppendFileParams.java Clarifies append behavior.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionFactoryRunResult.java Adds factory pause metadata.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionFactoryRunFromToolResult.java Adds factory pause metadata.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionFactoryPauseResult.java Adds factory pause results.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionFactoryPauseParams.java Adds factory pause parameters.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionFactoryPauseAtCheckpointResult.java Adds checkpoint results.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionFactoryPauseAtCheckpointParams.java Adds checkpoint parameters.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionFactoryGetRunResult.java Adds pause metadata.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionFactoryGetRunDetailResult.java Adds resume eligibility.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionFactoryCancelResult.java Adds pause metadata.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionFactoryApi.java Adds factory pause RPCs.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/ServerSessionsApi.java Adds batch metadata lookup.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/ServerPluginsApi.java Updates plugin RPC documentation.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/PluginsEnableParams.java Adds plugin working directory.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/PluginsDisableParams.java Adds plugin working directory.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/McpSourceRef.java Adds MCP source identity.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/McpSourcePlugin.java Adds MCP plugin identity.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/McpSourceFile.java Adds MCP source-file details.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/McpDiscoverParams.java Adds effective-source opt-in.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/FactoryRunTerminal.java Adds pause initiator metadata.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/FactoryRunSummary.java Adds resume eligibility.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/FactoryRunStatus.java Adds paused status.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/FactoryRunResult.java Adds pause metadata.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/FactoryPauseCheckpointAction.java Adds checkpoint actions.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/FactoryAgentOptions.java Updates supported-option documentation.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/FactoryAbortParams.java Adds execution tokens.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/DiscoveredMcpServer.java Adds effective MCP source.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/ClientMetadata.java Adds the metadata schema type.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CapiSessionOptions.java Documents the fast Auto tier.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/AutoTier.java Adds the fast Auto tier.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/AgentInfo.java Adds invocation-disable metadata.
java/sdk/src/generated/java/com/github/copilot/generated/RecommendedAutoTier.java Adds recommendation values.
java/sdk/src/generated/java/com/github/copilot/generated/FactoryRunSettledStatus.java Adds paused status.
java/sdk/src/generated/java/com/github/copilot/generated/CustomAgentsUpdatedAgent.java Adds invocation-disable metadata.
java/sdk/src/generated/java/com/github/copilot/generated/CompactionCompleteCompactionTokensUsedCopilotUsageTokenDetail.java Adds billing model details.
java/sdk/src/generated/java/com/github/copilot/generated/CompactionCompleteCompactionTokensUsedCopilotUsage.java Adds default billing model.
java/sdk/src/generated/java/com/github/copilot/generated/AutoTier.java Adds the fast Auto tier.
java/sdk/src/generated/java/com/github/copilot/generated/AssistantUsageCopilotUsageTokenDetail.java Adds billing model details.
java/sdk/src/generated/java/com/github/copilot/generated/AssistantUsageCopilotUsage.java Adds default billing model.
go/zsession_events.go Re-exports new Go event types.
go/rpc/zsession_events.go Adds generated Go event models.
go/rpc/zsession_encoding.go Adds Go event union codecs.
go/rpc/zrpc_encoding.go Adds Go RPC union codecs.
dotnet/src/Generated/SessionEvents.cs Updates .NET event models and converters.
Review details

Files not reviewed (5)

  • 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
  • nodejs/samples/package-lock.json: Generated file
  • Files reviewed: 3/75 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 nodejs/samples/package-lock.json
stephentoub and others added 2 commits September 10, 2026 13:52
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor Author

SDK Consistency Review

Reviewed the full changed-file set for PR #2609 across all pages (60 files total): dotnet/src/Generated/{Rpc.cs,SessionEvents.cs}, go/rpc/{zrpc.go,zrpc_encoding.go,zsession_encoding.go,zsession_events.go}, go/zsession_events.go, 47 java/sdk/src/generated/... files plus 4 Java tests, and nodejs/python/rust generated + e2e test files.

This PR is a codegen regeneration against an updated schema (following the prior Update Copilot CLI to 1.0.84-4 commit that already regenerated Node.js/Python/Rust/.NET/Go). It brings the Java generated sources up to date with that same schema, plus small non-generated Go/.NET/Rust adjustments (test updates) to match.

Cross-checked the key new/changed schema elements across all six SDKs:

  • FactoryAbortParams.executionToken — present in Node, Python, Rust, .NET, Go, and now Java. ✅
  • McpSourceRef / McpSourceFile / McpSourcePlugin (DiscoveredMcpServer.effectiveSource) — present in Node, Python, Rust, .NET, Go, and now Java, with consistent field naming per-language convention (effectiveSource/EffectiveSource/effective_source). ✅
  • PluginsEnableParams/PluginsDisableParams.workingDirectory — present in all six SDKs. ✅
  • SubagentSettingsEntry.autoInvoke/auto_invoke — present in all six SDKs (Java included). ✅
  • FactoryAgentOptions reasoningEffort/contextTier/agent doc updates (no longer "accepted but not yet honored") — reflected consistently in the regenerated Java docs, matching the other SDKs generated comments.

No cross-language inconsistencies found: every new field, type, and API surface change added in one SDK's generated code is mirrored in the others with idiomatic naming (camelCase JSON / PascalCase C#+Java types / snake_case Rust+Python). This looks like a clean, complete codegen sync PR — no action needed on any SDK.

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • github.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "github.com"

See Network Configuration for more information.

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

@stephentoub
stephentoub added this pull request to the merge queue Sep 10, 2026
@stephentoub
stephentoub removed this pull request from the merge queue due to a manual request Sep 10, 2026
@stephentoub
stephentoub added this pull request to the merge queue Sep 10, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 10, 2026
@stephentoub
stephentoub added this pull request to the merge queue Sep 10, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 10, 2026
@stephentoub
stephentoub added this pull request to the merge queue Sep 10, 2026
Merged via the queue into main with commit dcfbb93 Sep 10, 2026
269 of 272 checks passed
@stephentoub
stephentoub deleted the update-copilot-1.0.84-4 branch September 10, 2026 20:21
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