Skip to content

Update @github/copilot to 1.0.81-2 - #2358

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

Update @github/copilot to 1.0.81-2#2358
github-actions[bot] wants to merge 6 commits into
mainfrom
update-copilot-1.0.81-2

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

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

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
@tiagonbotelho
tiagonbotelho marked this pull request as ready for review August 19, 2026 05:10
@tiagonbotelho
tiagonbotelho requested a review from a team as a code owner August 19, 2026 05:10
Copilot AI balanced review requested due to automatic review settings August 19, 2026 05:10
@stephentoub stephentoub self-assigned this Aug 19, 2026
@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 @github/copilot to 1.0.81-2 and regenerates Java protocol bindings.

Changes:

  • Updates Node.js, harness, and Java codegen dependency versions.
  • Regenerates Java RPC/event types for the new runtime schema.
  • Adds new authentication, model, tool, MCP, factory, and session APIs.
Show a summary per file
File Description
nodejs/package.json Updates the runtime dependency.
nodejs/samples/package-lock.json Updates the sample lockfile.
test/harness/package.json Updates the harness runtime dependency.
java/pom.xml Updates the reference implementation version.
java/scripts/codegen/package.json Updates the Java codegen dependency.
java/sdk/src/generated/java/com/github/copilot/generated/** Regenerates session-event models and enums.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/** Regenerates RPC models, namespaces, and methods.

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/228 changed files
  • Comments generated: 0
  • Review effort level: Balanced

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

This comment has been minimized.

stephentoub and others added 2 commits August 19, 2026 01:40
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
assert!(!prompt.prompt.trim().is_empty());
}
SlashCommandInvocationResult::Completed(_) => {}
unexpected => panic!("unexpected command result: {unexpected:?}"),
let auth_info = current.auth_info.expect("auth info after login");
assert_eq!(auth_info["login"], json!("rust-account-user"));
assert_eq!(auth_info["host"], json!("https://github.com"));
let AuthInfo::User(user_auth_info) = &auth_info else {
stephentoub and others added 2 commits August 19, 2026 01:47
Co-authored-by: Copilot App <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

Cross-SDK Consistency Review ✅

This PR is an automated dependency update that bumps @github/copilot to 1.0.81-2 and re-runs all code generators across every SDK. All six language implementations (Node.js/TypeScript, Python, Go, .NET, Java, and Rust) are updated together in this single PR.

No cross-SDK consistency issues found. The changes are uniformly applied via code generation, ensuring all SDKs remain in sync.

Generated by SDK Consistency Review Agent for #2358 · sonnet46 21.2 AIC · ⌖ 5.36 AIC · ⊞ 6.6K ·

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.

3 participants