Skip to content

Update @github/copilot to 1.0.71-0#1968

Merged
stephentoub merged 2 commits into
mainfrom
update-copilot-1.0.71-0
Jul 12, 2026
Merged

Update @github/copilot to 1.0.71-0#1968
stephentoub merged 2 commits into
mainfrom
update-copilot-1.0.71-0

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated update of @github/copilot to version 1.0.71-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/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
@github-actions

This comment has been minimized.

@stephentoub stephentoub marked this pull request as ready for review July 11, 2026 23:13
@stephentoub stephentoub requested a review from a team as a code owner July 11, 2026 23:13
Copilot AI review requested due to automatic review settings July 11, 2026 23:13
@stephentoub stephentoub self-assigned this Jul 11, 2026

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 repo’s pinned @github/copilot dependency to 1.0.71-0 and regenerates the language-specific RPC/type surfaces to match the updated schema (notably introducing ModelBillingPromo and a new promo field on ModelBilling across SDKs).

Changes:

  • Bumped @github/copilot to ^1.0.71-0 in Node packages used by the SDK and test harness, with lockfile updates.
  • Regenerated RPC/type definitions across Node/TS, Python, Rust, Go, .NET, and Java to reflect schema changes (adds ModelBillingPromo, ModelBilling.promo).
  • Updated Java codegen dependency inputs and Java POM property related to the reference implementation version.
Show a summary per file
File Description
test/harness/package.json Bumps harness devDependency on @github/copilot to ^1.0.71-0.
test/harness/package-lock.json Lockfile refresh for harness, including @github/copilot@1.0.71-0 and platform packages.
nodejs/package.json Bumps SDK Node dependency on @github/copilot to ^1.0.71-0.
nodejs/package-lock.json Lockfile refresh for Node SDK dependencies to @github/copilot@1.0.71-0.
nodejs/samples/package-lock.json Updates sample app lockfile to reference @github/copilot@^1.0.71-0.
nodejs/src/generated/rpc.ts Regenerated TS RPC types: adds ModelBillingPromo and ModelBilling.promo.
python/copilot/generated/rpc.py Regenerated Python RPC types: adds ModelBillingPromo and ModelBilling.promo.
rust/src/generated/api_types.rs Regenerated Rust API types: adds ModelBillingPromo and ModelBilling.promo.
go/rpc/zrpc.go Regenerated Go RPC types: adds ModelBillingPromo and ModelBilling.Promo.
dotnet/src/Generated/Rpc.cs Regenerated .NET RPC types: adds ModelBillingPromo and ModelBilling.Promo + serialization registration.
java/pom.xml Updates the reference-impl version property to ^1.0.71-0.
java/scripts/codegen/package.json Bumps Java codegen dependency on @github/copilot to ^1.0.71-0.
java/scripts/codegen/package-lock.json Lockfile refresh for Java codegen dependencies to @github/copilot@1.0.71-0.
java/src/generated/java/com/github/copilot/generated/rpc/ModelBilling.java Regenerated Java type: adds promo component to ModelBilling record.
java/src/generated/java/com/github/copilot/generated/rpc/ModelBillingPromo.java New generated Java record for ModelBillingPromo.

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

Exercise the new promotion field when constructing ModelBilling.

Generated by Copilot

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 93b921d6-55b4-4fdc-9583-17a69ad39d54
@github-actions

Copy link
Copy Markdown
Contributor Author

Cross-SDK Consistency Review ✅

This PR is an automated dependency update (@github/copilot 1.0.70 → 1.0.71-0) that regenerates type definitions across all SDK implementations.

Changes reviewed:

  • New ModelBillingPromo type added consistently across all 6 SDKs
  • New promo field on ModelBilling added consistently across all SDKs

Consistency status: All SDK generated files are in sync — the new type follows correct language conventions in each:

SDK Type Name Field Style
Node.js/TS ModelBillingPromo camelCase
Python ModelBillingPromo snake_case
Go ModelBillingPromo PascalCase fields
.NET ModelBillingPromo PascalCase properties
Java ModelBillingPromo camelCase record
Rust ModelBillingPromo snake_case fields

No consistency issues found. ✅

Generated by SDK Consistency Review Agent for issue #1968 · sonnet46 693K ·

@stephentoub stephentoub added this pull request to the merge queue Jul 12, 2026
Merged via the queue into main with commit edbe6c6 Jul 12, 2026
50 checks passed
@stephentoub stephentoub deleted the update-copilot-1.0.71-0 branch July 12, 2026 00:28
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