Skip to content

Update @github/copilot to 1.0.81-9 - #2390

Draft
github-actions[bot] wants to merge 3 commits into
mainfrom
update-copilot-1.0.81-9
Draft

Update @github/copilot to 1.0.81-9#2390
github-actions[bot] wants to merge 3 commits into
mainfrom
update-copilot-1.0.81-9

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

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

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
@github-actions

This comment has been minimized.

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>

Copilot-Session: e2ffce58-35b6-4bb8-a5f3-0bb4e5b5ada4
@github-actions

Copy link
Copy Markdown
Contributor Author

Cross-SDK Consistency Review ✅

This PR is an automated schema-driven codegen update (@github/copilot1.0.81-9) that regenerates types across all six SDK implementations:

SDK Files updated
Node.js/TypeScript nodejs/src/generated/rpc.ts, session-events.ts
Python python/copilot/generated/rpc.py, session_events.py
Go go/rpc/zrpc.go, zsession_encoding.go, zsession_events.go, types.go, zsession_events.go
.NET dotnet/src/Generated/Rpc.cs, SessionEvents.cs
Java Multiple files under java/sdk/src/generated/
Rust rust/src/generated/api_types.rs, rpc.rs, session_events.rs

Key changes introduced consistently across all SDKs include:

  • ConnectClientInfo — new type for host identity on the server.connect handshake (telemetry attribution)
  • ModelMessage / ModelWarningText — new types for service-published model notices
  • ModelCallFinishedEvent / ModelCallFinishedOutcome — new lifecycle event for model dispatches
  • output_ttft field on AssistantUsageData
  • New MODEL_CALL_FINISHED session event type

All of these are code-generated from the shared schema and appear consistently across all six languages. No cross-SDK consistency issues found.

Generated by SDK Consistency Review Agent for #2390 · sonnet46 33.4 AIC · ⌖ 5.48 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.

1 participant