Skip to content

Update @github/copilot to 1.0.81-6 - #2367

Merged
stephentoub merged 7 commits into
mainfrom
update-copilot-1.0.81-6
Aug 20, 2026
Merged

Update @github/copilot to 1.0.81-6#2367
stephentoub merged 7 commits into
mainfrom
update-copilot-1.0.81-6

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated update of @github/copilot to version 1.0.81-6.

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 20, 2026 20:56
Copilot AI balanced review requested due to automatic review settings August 20, 2026 20:56
@stephentoub
stephentoub requested a review from a team as a code owner August 20, 2026 20:56
@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.

Pull request overview

Updates the Copilot CLI runtime dependency to 1.0.81-6 and regenerates cross-language RPC bindings.

Changes:

  • Updates npm dependencies and lockfiles.
  • Makes account login optional in generated APIs.
  • Adds the user_setting permission source.
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 Updates login documentation.
rust/src/generated/api_types.rs Regenerates login and permission types.
python/copilot/generated/rpc.py Regenerates Python RPC bindings.
nodejs/src/generated/rpc.ts Regenerates TypeScript RPC bindings.
nodejs/samples/package-lock.json Updates sample dependency lock.
nodejs/package.json Updates runtime dependency.
nodejs/package-lock.json Locks updated runtime binaries.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/ServerAccountApi.java Updates login documentation.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/PermissionsSetApproveAllSource.java Adds permission source.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/PermissionModeSource.java Adds permission source.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/AccountLoginParams.java Updates login schema.
java/scripts/codegen/package.json Updates codegen dependency.
java/scripts/codegen/package-lock.json Locks codegen dependency.
java/pom.xml Updates runtime reference property.
go/rpc/zrpc.go Regenerates Go RPC bindings.
dotnet/src/Generated/Rpc.cs Regenerates .NET RPC bindings.

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 (4)
  • 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: 5/18 changed files
  • Comments generated: 2
  • Review effort level: Balanced

Comment thread dotnet/src/Generated/Rpc.cs
Comment thread go/rpc/zrpc.go
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

This comment has been minimized.

stephentoub and others added 4 commits August 20, 2026 17:28
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@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

Cross-SDK Consistency Review

This PR is a dependency update (@github/copilot → 1.0.81-6) with regenerated types across all SDKs. The changes are well-coordinated — the three main behavioral changes are consistently applied:

  1. session.mcp.reloadWithConfig removed from resumeSession — correctly removed in Node.js, Python, Go, .NET, Java, and Rust. ✅
  2. New enum values (PermissionModeSource.user_setting, PermissionsSetApproveAllSource.user_setting) — consistently added across all SDKs. ✅
  3. AccountLoginRequest.login made optional — correctly updated in Node.js, Python, Go, .NET, and Rust — but one inconsistency found in Java:

⚠️ Java: AccountLoginParams.login not marked nullable

In java/sdk/src/generated/java/com/github/copilot/generated/rpc/AccountLoginParams.java, the login field is still typed as non-nullable String, while all other SDKs updated it to an optional type. I've left an inline comment on that file.

The record does have @JsonInclude(JsonInclude.Include.NON_NULL), so passing null would serialize correctly at the wire level, but the Java type contract doesn't express that null is a valid/intended value. The codegen script likely needs to emit @Nullable String (or similar) for optional fields.

Generated by SDK Consistency Review Agent for #2367 · sonnet46 57.6 AIC · ⌖ 5.6 AIC · ⊞ 6.6K ·

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generated by SDK Consistency Review Agent for #2367 · sonnet46 57.6 AIC · ⌖ 5.6 AIC · ⊞ 6.6K

@stephentoub
stephentoub added this pull request to the merge queue Aug 20, 2026
@stephentoub
stephentoub removed this pull request from the merge queue due to a manual request Aug 20, 2026
@stephentoub
stephentoub merged commit 21d738e into main Aug 20, 2026
113 of 115 checks passed
@stephentoub
stephentoub deleted the update-copilot-1.0.81-6 branch August 20, 2026 22:26
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