Skip to content

Update @github/copilot to 1.0.67#1860

Merged
stephentoub merged 5 commits into
mainfrom
update-copilot-1.0.67
Jul 1, 2026
Merged

Update @github/copilot to 1.0.67#1860
stephentoub merged 5 commits into
mainfrom
update-copilot-1.0.67

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated update of @github/copilot to version 1.0.67.

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/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/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 June 30, 2026 22:27
Copilot AI review requested due to automatic review settings June 30, 2026 22:27
@stephentoub stephentoub requested a review from a team as a code owner June 30, 2026 22:27

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 monorepo’s pinned @github/copilot dependency to 1.0.67 and refreshes generated RPC/types across SDKs to match the updated schema (notably adding GitHub-shaped telemetry forwarding types/handlers and a new CopilotUserResponse.te flag).

Changes:

  • Bumped @github/copilot to ^1.0.67 across Node/Java codegen/test-harness packages and lockfiles.
  • Regenerated SDK wire types for Node, Python, Go, Rust, and .NET, including new gitHubTelemetry.event client-global handler shapes.
  • Updated Java’s reference implementation version property in pom.xml.
Show a summary per file
File Description
test/harness/package.json Bumps devDependency on @github/copilot to ^1.0.67.
test/harness/package-lock.json Updates resolved @github/copilot tarballs/integrities to 1.0.67.
nodejs/package.json Bumps Node SDK dependency on @github/copilot to ^1.0.67.
nodejs/package-lock.json Updates resolved @github/copilot tarballs/integrities to 1.0.67.
nodejs/samples/package-lock.json Updates samples lockfile to align with @github/copilot@^1.0.67.
nodejs/src/generated/rpc.ts Regenerates TS RPC types; adds CopilotUserResponse.te and GitHub telemetry types/handler wiring.
python/copilot/generated/rpc.py Regenerates Python RPC types; adds telemetry dataclasses + handler registration and CopilotUserResponse.te.
go/rpc/zrpc.go Regenerates Go RPC types; adds telemetry structs/handler registration and CopilotUserResponse.Te.
rust/src/generated/api_types.rs Regenerates Rust API types; adds telemetry structs and CopilotUserResponse.te.
dotnet/src/Generated/Rpc.cs Regenerates .NET RPC types; adds telemetry types/handler interface + registration and CopilotUserResponse.Te.
java/scripts/codegen/package.json Bumps Java codegen dependency on @github/copilot to ^1.0.67.
java/scripts/codegen/package-lock.json Updates resolved @github/copilot tarballs/integrities to 1.0.67 for Java codegen.
java/pom.xml Updates Java POM property tracking the reference implementation version to ^1.0.67.

Review details

Files not reviewed (5)
  • go/rpc/zrpc.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/13 changed files
  • Comments generated: 1
  • Review effort level: Low
Comment thread go/rpc/zrpc.go
@github-actions

This comment has been minimized.

Adapt hook E2E coverage to assert SDK callbacks are invoked now that the runtime accepts hook handlers. Include missing client-global RPC types generated from the updated schema.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Comment thread rust/tests/e2e/hooks_extended.rs Fixed
Comment thread rust/tests/e2e/hooks_extended.rs Fixed
Comment thread rust/tests/e2e/hooks_extended.rs Fixed
Include experimental annotations emitted by the Go code generator for newly generated RPC types so generated-file verification stays clean.

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

This comment has been minimized.

Comment thread dotnet/test/E2E/HooksE2ETests.cs Fixed
Comment thread dotnet/test/E2E/HooksE2ETests.cs Fixed
Comment thread dotnet/test/E2E/HooksE2ETests.cs Fixed
Comment thread dotnet/test/E2E/HooksE2ETests.cs Fixed
Comment thread dotnet/test/E2E/PreMcpToolCallHookE2ETests.cs Fixed
Comment thread dotnet/test/E2E/PreMcpToolCallHookE2ETests.cs Fixed
Comment thread dotnet/test/E2E/SubagentHooksE2ETests.cs Fixed
Use Path.replace in the E2E provider so Windows can overwrite existing workspace metadata files when the runtime renames temporary files into place.

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

This comment has been minimized.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@stephentoub stephentoub merged commit b168366 into main Jul 1, 2026
49 of 52 checks passed
@stephentoub stephentoub deleted the update-copilot-1.0.67 branch July 1, 2026 04:28
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

Cross-SDK Consistency Review

This PR is an automated update of @github/copilot to 1.0.67, re-generating RPC types and handler registration code across SDKs. The generated changes for Node.js, Go, and .NET (and Java for types) are consistent with each other. Python was already up-to-date from a prior update.

The core new feature is GitHubTelemetryHandler — a client-global handler that lets host applications receive forwarded telemetry events from the runtime via gitHubTelemetry.event RPC requests.

✅ SDKs with full GitHubTelemetryHandler support

SDK Status
Node.js Added in this PR (rpc.ts: GitHubTelemetryHandler, ClientGlobalApiHandlers.gitHubTelemetry)
Python Already present (not modified in this PR)
Go Added in this PR (zrpc.go: GitHubTelemetryHandler, ClientGlobalAPIHandlers.GitHubTelemetry)
.NET Already present (not modified in this PR; Rpc.cs: IGitHubTelemetryHandler, ClientGlobalApiHandlers.GitHubTelemetry)

⚠️ SDKs missing GitHubTelemetryHandler handler support

Java — The generated types (GitHubTelemetryClientInfo, GitHubTelemetryEvent, GitHubTelemetryNotification) are added in this PR, but there is no handwritten adapter (analogous to LlmInferenceAdapter) or user-facing API to handle incoming gitHubTelemetry.event requests. Without a handler, the runtime's telemetry forwarding events will be silently dropped for Java clients.

Rust — The generated types are already present in rust/src/generated/api_types.rs, but router.rs only routes llmInference.* client-global requests and has no path for gitHubTelemetry.event. Similarly, Rust's codegen script (scripts/codegen/rust.ts) doesn't generate client-global handler registration (unlike the TypeScript, Go, Python, and C# codegens). Telemetry events will be silently dropped.

Suggested follow-up

To complete feature parity:

  • Java: Add a GitHubTelemetryAdapter (similar to LlmInferenceAdapter) and expose a user-facing callback (e.g., CopilotClientOptions.setOnGitHubTelemetryEvent) that registers the gitHubTelemetry.event request handler.
  • Rust: Update router.rs (and the Rust codegen script if a generated approach is preferred) to route gitHubTelemetry.event requests, and expose a GitHubTelemetryHandler trait in the public API.

Neither gap is introduced by this PR — both pre-date it — but this PR makes them newly apparent because it brings the other four SDKs to full support. Tracking these as follow-up issues would help keep the SDKs consistent.

Generated by SDK Consistency Review Agent for issue #1860 · sonnet46 3.7M ·

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants