Skip to content

Update @github/copilot to 1.0.79-9 - #2299

Merged
stephentoub merged 4 commits into
mainfrom
update-copilot-1.0.79-9
Aug 9, 2026
Merged

Update @github/copilot to 1.0.79-9#2299
stephentoub merged 4 commits into
mainfrom
update-copilot-1.0.79-9

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Automated update of @github/copilot to version 1.0.79-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/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 August 9, 2026 12:17
@stephentoub
stephentoub requested a review from a team as a code owner August 9, 2026 12:17
Copilot AI balanced review requested due to automatic review settings August 9, 2026 12:17
@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.79-9 and regenerates SDK protocol bindings.

Changes:

  • Updates npm dependencies and lockfiles.
  • Regenerates cross-language factory, sandbox-auth, and session-event types.
  • Removes obsolete .NET in-process wire fields.
Show a summary per file
File Description
test/harness/package.json Updates harness dependency.
test/harness/package-lock.json Locks updated runtime packages.
rust/src/generated/session_events.rs Adds subagent cancellation status.
rust/src/generated/rpc.rs Adds factory-run pagination input.
rust/src/generated/api_types.rs Updates factory and sandbox types.
python/copilot/generated/session_events.py Adds cancellation serialization.
python/copilot/generated/rpc.py Regenerates RPC models and methods.
nodejs/src/generated/session-events.ts Adds cancellation status.
nodejs/src/generated/rpc.ts Regenerates RPC types and methods.
nodejs/samples/package-lock.json Updates linked SDK dependency metadata.
nodejs/package.json Updates runtime dependency.
nodejs/package-lock.json Locks updated runtime packages.
java/src/generated/java/com/github/copilot/generated/SubagentCompletedEvent.java Adds cancellation status.
java/src/generated/java/com/github/copilot/generated/rpc/SessionFactoryListRunsResult.java Adds pagination metadata.
java/src/generated/java/com/github/copilot/generated/rpc/SessionFactoryListRunsParams.java Adds pagination parameters.
java/src/generated/java/com/github/copilot/generated/rpc/SessionFactoryApi.java Accepts list-runs parameters.
java/src/generated/java/com/github/copilot/generated/rpc/SandboxConfigAuth.java Adds sandbox authentication options.
java/src/generated/java/com/github/copilot/generated/rpc/SandboxConfig.java Uses nested authentication configuration.
java/src/generated/java/com/github/copilot/generated/rpc/FactoryAgentOptions.java Adds subagent options.
java/scripts/codegen/package.json Updates codegen dependency.
java/scripts/codegen/package-lock.json Locks updated codegen runtime.
java/pom.xml Updates reference implementation version.
go/rpc/zsession_events.go Adds cancellation status.
go/rpc/zrpc.go Regenerates factory and sandbox APIs.
go/rpc/zrpc_encoding.go Encodes the new factory failure variant.
dotnet/src/Generated/SessionEvents.cs Adds cancellation status.
dotnet/src/Generated/Rpc.cs Regenerates RPC types and methods.

Review details

Tip

Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Files not reviewed (7)
  • go/rpc/zrpc.go: Generated file
  • go/rpc/zrpc_encoding.go: Generated file
  • go/rpc/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/27 changed files
  • Comments generated: 0
  • Review effort level: Balanced

Pass the generated RPC client's required paging request while preserving the SDK's existing listRuns API and wire behavior.

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

This comment has been minimized.

Fall back to ForceStopAsync when graceful in-process fixture cleanup stalls so a hung session.destroy cannot hold the macOS runner indefinitely. Cover the concurrent graceful/forced shutdown path with a lifetime regression test.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 781f5380-c114-40eb-a599-378b3f15cbea
@github-actions

This comment has been minimized.

Use a deterministic failing JavaScript CLI fixture instead of relying on the bundled CLI to parse an invalid flag within the TCP startup timeout on loaded Windows runners.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 781f5380-c114-40eb-a599-378b3f15cbea
@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor Author

Cross-SDK Consistency Review ✅

This PR applies an automated schema update (@github/copilot 1.0.79-9) that regenerates generated code across all six SDKs from the same source schema. All changes maintain cross-SDK consistency:

Change Node.js Python Go .NET Java Rust
SandboxConfigAuth new type (extracted from flat ghAuth/gitAuth)
FactoryAgentOptions: new agent, contextTier, reasoningEffort fields
FactoryListRunsRequest: pagination params (afterSeq, beforeSeq, limit)
FactoryListRunsResult: pagination metadata (hasMoreNewer, newestSeq, oldestSeq, omittedOlder)
FactoryRunFailureFactoryAccountingIncomplete new error variant
SubagentCompletedEvent new cancelled field

No cross-SDK consistency issues found. The code generation pipeline is correctly propagating all schema changes uniformly across every language implementation.

Generated by SDK Consistency Review Agent for #2299 · sonnet46 53.3 AIC · ⌖ 8.3 AIC · ⊞ 6.6K ·

@stephentoub
stephentoub added this pull request to the merge queue Aug 9, 2026
Merged via the queue into main with commit 8d0a9cc Aug 9, 2026
67 checks passed
@stephentoub
stephentoub deleted the update-copilot-1.0.79-9 branch August 9, 2026 14:45
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