Skip to content

Update @github/copilot to 1.0.80-0 - #2332

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

Update @github/copilot to 1.0.80-0#2332
github-actions[bot] wants to merge 1 commit into
mainfrom
update-copilot-1.0.80-0

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated update of @github/copilot to version 1.0.80-0.

Changes

  • Updated @github/copilot in nodejs/package.json and test/harness/package.json
  • Re-ran all code generators (scripts/codegen)
  • Formatted generated output
  • Updated Java codegen dependency, POM property, and regenerated Java types

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 @github/copilot Dependency workflow.

- Updated nodejs and test harness dependencies
- Re-ran code generators
- Formatted generated code
@stephentoub
stephentoub marked this pull request as ready for review August 13, 2026 22:34
@stephentoub
stephentoub requested a review from a team as a code owner August 13, 2026 22:34
Copilot AI balanced review requested due to automatic review settings August 13, 2026 22:34

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.

Pull request overview

Updates @github/copilot to 1.0.80-0 and regenerates SDK protocol bindings.

Changes:

  • Updates Node, harness, and Java codegen dependencies and lockfiles.
  • Regenerates Rust, Go, TypeScript, and Java RPC/event contracts.
  • Adds authentication, MCP OAuth, canvas provider, telemetry, and permission protocol types.

J = java/sdk/src/generated/java/com/github/copilot/generated

Show a summary per file
File Description
test/harness/package.json Updates harness dependency.
test/harness/package-lock.json Locks updated runtime binaries.
rust/src/generated/rpc.rs Adds generated RPC methods.
nodejs/src/generated/session-events.ts Updates event contracts.
nodejs/samples/package-lock.json Updates sample lock metadata.
nodejs/package.json Updates Node runtime dependency.
nodejs/package-lock.json Locks updated runtime packages.
J/ToolExecutionStartEvent.java Adds RTE telemetry.
J/ToolExecutionCompleteUIResourceMetaUICsp.java Documents CSP fields.
J/ToolExecutionCompleteUIResourceMetaUI.java Documents UI metadata.
J/ToolExecutionCompleteEvent.java Adds RTE telemetry.
J/SessionModelChangeEvent.java Adds model-change source.
J/SessionEvent.java Registers new event variants.
J/SandboxDecisionEvent.java Adds sandbox decision event.
J/rpc/UserAuthInfo.java Adds user-auth variant.
J/rpc/UIElicitationResponse.java Adds MCP metadata.
J/rpc/TokenAuthInfo.java Adds token-auth variant.
J/rpc/SessionWorkspacesUpdateMetadataResult.java Documents workspace fields.
J/rpc/SessionWorkspacesTruncateSummariesResult.java Documents workspace fields.
J/rpc/SessionWorkspacesGetWorkspaceResult.java Documents workspace fields.
J/rpc/SessionWorkspacesEnsureResult.java Documents workspace fields.
J/rpc/SessionWorkspacesAddSummaryResult.java Documents summary result.
J/rpc/SessionUiElicitationResult.java Adds response metadata.
J/rpc/SessionUiElicitationParams.java Adds MCP elicitation fields.
J/rpc/SessionTasksStartAgentParams.java Clarifies agent name.
J/rpc/SessionSettingsValidationSnapshot.java Documents validation settings.
J/rpc/SessionSettingsSnapshotResult.java Documents settings snapshot.
J/rpc/SessionSettingsRepoSnapshot.java Documents repository settings.
J/rpc/SessionSettingsOnlineEvaluationSnapshot.java Documents evaluation settings.
J/rpc/SessionSettingsModelSnapshot.java Documents model settings.
J/rpc/SessionSettingsJobSnapshot.java Documents job settings.
J/rpc/SessionSettingsEvaluatePredicateResult.java Documents predicate result.
J/rpc/SessionSettingsBuiltInToolAvailabilitySnapshot.java Documents tool availability.
J/rpc/SessionQueueUpdateTextParams.java Documents queue update fields.
J/rpc/SessionQueueSetDrainPausedParams.java Documents pause state.
J/rpc/SessionQueueSendNowParams.java Documents queue identifier.
J/rpc/SessionQueueRemoveAtParams.java Documents queue identifier.
J/rpc/SessionQueueInsertAtParams.java Documents queued message.
J/rpc/SessionQueueDuplicateAtParams.java Documents queue identifier.
J/rpc/SessionOpenOptionsAdditionalContentExclusionPolicyRuleSource.java Documents policy source.
J/rpc/SessionOpenOptionsAdditionalContentExclusionPolicyRule.java Documents policy rules.
J/rpc/SessionOpenOptionsAdditionalContentExclusionPolicy.java Documents policy configuration.
J/rpc/SessionModelSwitchToParams.java Adds model-change source.
J/rpc/SessionModelPriceCategory.java Documents pricing category.
J/rpc/SessionMcpReloadWithConfigResult.java Adds failed MCP servers.
J/rpc/SessionMcpOauthProbeParams.java Adds OAuth probe parameters.
J/rpc/SessionMcpOauthApi.java Adds OAuth probe RPC.
J/rpc/SessionManagedSettings.java Documents managed permissions.
J/rpc/SessionLimitPredictionTierOption.java Documents usage tier.
J/rpc/SessionGitHubAuthSwitchToAuthParams.java Adds auth-switch parameters.
J/rpc/SessionGitHubAuthRefreshCopilotUserParams.java Adds refresh parameters.
J/rpc/SessionGitHubAuthLogoutUserParams.java Adds user-logout parameters.
J/rpc/SessionGitHubAuthLogoutParams.java Adds logout parameters.
J/rpc/SessionGitHubAuthLoginParams.java Adds login parameters.
J/rpc/SessionGitHubAuthLastAuthErrorsParams.java Adds validation-error parameters.
J/rpc/SessionGitHubAuthGetCurrentAuthInfoParams.java Adds current-auth parameters.
J/rpc/SessionGitHubAuthGetAllAuthAvailableParams.java Adds available-auth parameters.
J/rpc/SessionGitHubAuthApi.java Adds session-auth RPCs.
J/rpc/SessionFsSqliteTransactionResult.java Documents transaction result.
J/rpc/SessionFsSqliteTransactionParams.java Documents transaction statements.
J/rpc/SessionFsSqliteTransactionError.java Documents transaction error.
J/rpc/SessionFactoryListRunsResult.java Documents factory runs.
J/rpc/SessionFactoryGetRunProgressResult.java Documents progress pagination.
J/rpc/SessionFactoryGetRunDetailResult.java Documents run details.
J/rpc/SessionCanvasProviderUnregisterParams.java Adds provider unregister parameters.
J/rpc/SessionCanvasProviderRegisterParams.java Adds provider registration parameters.
J/rpc/SessionCanvasProviderApi.java Adds canvas provider RPCs.
J/rpc/SessionCanvasApi.java Exposes provider namespace.
J/rpc/SessionAuthStatus.java Adds authentication status.
J/rpc/ServerPluginsBuiltinApi.java Adds built-in plugin RPC.
J/rpc/ServerPluginsApi.java Exposes built-in namespace.
J/rpc/SandboxConfig.java Expands sandbox documentation.
J/rpc/RemoteSessionMetadataValue.java Adds host status metadata.
J/rpc/RemoteSessionHostStatus.java Adds host status enum.
J/rpc/PluginsBuiltinSetParams.java Adds plugin path parameters.
J/rpc/PermissionsConfigureAdditionalContentExclusionPolicyRuleSource.java Documents policy source.
J/rpc/PermissionsConfigureAdditionalContentExclusionPolicyRule.java Documents policy rules.
J/rpc/PermissionsConfigureAdditionalContentExclusionPolicy.java Documents policy configuration.
J/rpc/OptionsUpdateAdditionalContentExclusionPolicyRuleSource.java Documents policy source.
J/rpc/OptionsUpdateAdditionalContentExclusionPolicyRule.java Documents policy rules.
J/rpc/OptionsUpdateAdditionalContentExclusionPolicy.java Documents policy configuration.
J/rpc/ModelChangeSource.java Adds model-change source enum.
J/rpc/Model.java Adds model capability fields.
J/rpc/McpTaskMetadata.java Adds MCP task metadata.
J/rpc/McpOauthProbeResultNoAuthRequired.java Adds probe result variant.
J/rpc/McpOauthProbeResultNeedsAuth.java Adds probe result variant.
J/rpc/McpOauthProbeResultFailed.java Adds probe result variant.
J/rpc/McpOauthProbeResultAuthenticated.java Adds probe result variant.
J/rpc/McpOauthProbeResult.java Adds probe result hierarchy.
J/rpc/McpOauthProbeNeedsAuthReason.java Adds probe reason enum.
J/rpc/McpFailedServer.java Adds failed-server data.
J/rpc/McpElicitationFormMode.java Adds elicitation mode enum.
J/rpc/LlmInferenceHttpResponseStartParams.java Documents response headers.
J/rpc/LlmInferenceHttpRequestStartRequest.java Documents request headers.
J/rpc/HMACAuthInfo.java Adds HMAC-auth variant.
J/rpc/GhCliAuthInfo.java Adds CLI-auth variant.
J/rpc/FactoryRunTerminal.java Documents terminal outcome.
J/rpc/FactoryRunSummary.java Documents run summary.
J/rpc/FactoryRunConsumed.java Documents resource consumption.
J/rpc/FactoryProgressPage.java Documents progress pagination.
J/rpc/FactoryPhaseObservation.java Documents phase observations.
J/rpc/FactoryDeclaredLimits.java Documents factory limits.
J/rpc/FactoryCurrentPhase.java Documents current phase.
J/rpc/FactoryAgentSummary.java Adds agent display name.
J/rpc/EnvAuthInfo.java Adds environment-auth variant.
J/rpc/CopilotUserResponseQuotaSnapshotsPremiumInteractions.java Adds premium quota snapshot.
J/rpc/CopilotUserResponseQuotaSnapshotsCompletions.java Adds completion quota snapshot.
J/rpc/CopilotUserResponseQuotaSnapshotsChat.java Adds chat quota snapshot.
J/rpc/CopilotUserResponseQuotaSnapshots.java Adds quota snapshot map.
J/rpc/CopilotUserResponseEndpoints.java Adds endpoint metadata.
J/rpc/CopilotUserResponse.java Adds Copilot account metadata.
J/rpc/CopilotApiTokenAuthInfo.java Adds API-token auth variant.
J/rpc/AuthValidationError.java Adds auth validation error.
J/rpc/AuthInfo.java Adds auth-info hierarchy.
J/rpc/ApiKeyAuthInfo.java Adds API-key auth variant.
J/ModelChangeSource.java Adds event source enum.
J/ModelCallFailureEvent.java Adds RTE telemetry.
J/FactoryRunUpdatedEvent.java Documents run identifier.
J/ExitPlanModeRequestedEvent.java Adds authored model.
J/AssistantUsageTransport.java Adds usage transport enum.
J/AssistantUsageEvent.java Adds usage telemetry fields.
J/AssistantReasoningEvent.java Adds RTE telemetry.
J/AssistantMessageServerTools.java Documents server-tool fields.
J/AssistantMessageEvent.java Adds RTE telemetry.
J/AgentInterruptedEvent.java Adds interruption event.
J/AgentInterruptedCancelPhase.java Adds interruption phase enum.
J/AgentInterruptedActivity.java Adds interruption activity enum.
java/scripts/codegen/package.json Updates codegen dependency.
java/scripts/codegen/package-lock.json Locks codegen runtime packages.
java/pom.xml Updates reference implementation version.
go/zsession_events.go Exports new event types.
go/rpc/zsession_encoding.go Decodes new event variants.

Review details

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Files not reviewed (8)
  • 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
  • java/scripts/codegen/package-lock.json: Generated file
  • nodejs/package-lock.json: Generated file
  • nodejs/samples/package-lock.json: Generated file
  • test/harness/package-lock.json: Generated file
  • Files reviewed: 4/142 changed files
  • Comments generated: 0
  • Review effort level: Balanced

@github-actions

Copy link
Copy Markdown
Contributor Author

Cross-SDK Consistency Review

This PR is an automated codegen update and overall does a good job keeping generated types in sync across SDKs. However, there is one cross-SDK consistency gap worth noting:

⚠️ Missing agent.interrupted and sandbox.decision event types in Node.js

This PR adds two new session event types to Python, Go, .NET, Java, and Rust, but they are absent from the Node.js/TypeScript generated file:

Event Python Go .NET Java Rust Node.js
agent.interrupted AgentInterruptedData AgentInterruptedData AgentInterruptedEvent AgentInterruptedEvent.java AgentInterrupted(AgentInterruptedData) ❌ missing
sandbox.decision SandboxDecisionData SandboxDecisionData SandboxDecisionEvent SandboxDecisionEvent.java SandboxDecision(SandboxDecisionData) ❌ missing

Evidence:

  • Python diff adds AGENT_INTERRUPTED = "agent.interrupted" and SANDBOX_DECISION = "sandbox.decision" to SessionEventType + corresponding data classes
  • Go diff adds AgentInterruptedData and SandboxDecisionData re-exports in zsession_events.go
  • .NET diff adds [JsonDerivedType(typeof(AgentInterruptedEvent), "agent.interrupted")] and [JsonDerivedType(typeof(SandboxDecisionEvent), "sandbox.decision")]
  • Java adds AgentInterruptedEvent.java, SandboxDecisionEvent.java, AgentInterruptedActivity.java, AgentInterruptedCancelPhase.java
  • Rust diff adds AgentInterrupted and SandboxDecision variants to both the type enum and the data union
  • Node.js nodejs/src/generated/session-events.ts: the SessionEvent union type is unchanged, and no AgentInterruptedEvent or SandboxDecisionEvent interface was added

Suggested action: Re-run the Node.js code generator (cd nodejs && npm run generate:session-types) to check whether these events should be included. If the generator is intentionally excluding them (e.g., due to a filter or schema difference), please document why they are excluded from the TypeScript SDK.

Note: The ModelChangeSource and AssistantUsageTransport types were correctly added to Node.js in this PR, so this appears to be a generator gap rather than an intentional omission.

Generated by SDK Consistency Review Agent for #2332 · sonnet46 129.1 AIC · ⌖ 4.37 AIC · ⊞ 6.6K ·

@stephentoub
stephentoub deleted the update-copilot-1.0.80-0 branch August 14, 2026 15:20
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