Skip to content

Update @github/copilot to 1.0.72#2035

Merged
MackinnonBuck merged 3 commits into
mainfrom
update-copilot-1.0.72
Jul 21, 2026
Merged

Update @github/copilot to 1.0.72#2035
MackinnonBuck merged 3 commits into
mainfrom
update-copilot-1.0.72

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated update of @github/copilot to version 1.0.72.

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
@MackinnonBuck
MackinnonBuck marked this pull request as ready for review July 20, 2026 21:52
@MackinnonBuck
MackinnonBuck requested a review from a team as a code owner July 20, 2026 21:52
Copilot AI review requested due to automatic review settings July 20, 2026 21:52

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.72 and regenerates SDK wire-protocol types and RPC surfaces.

Changes:

  • Updates Node.js, test harness, and Java codegen dependencies and locks.
  • Regenerates session events across Node.js, Python, Go, Rust, and Java.
  • Adds generated factory RPCs and related models.
Show a summary per file
File Description
test/harness/package.json Updates harness dependency.
test/harness/package-lock.json Locks 1.0.72 platform packages.
rust/src/generated/session_events.rs Adds new event models and fields.
rust/src/generated/rpc.rs Adds factory RPC methods and documentation.
python/copilot/generated/session_events.py Regenerates Python event types.
nodejs/src/generated/session-events.ts Regenerates TypeScript event types.
nodejs/src/generated/rpc.ts Adds factory and updated RPC contracts.
nodejs/samples/package-lock.json Updates sample dependency lock.
nodejs/package.json Updates the runtime dependency.
nodejs/package-lock.json Locks 1.0.72 runtime packages.
java/src/generated/java/com/github/copilot/generated/UsageCheckpointModelCacheState.java Adds cache checkpoint state.
java/src/generated/java/com/github/copilot/generated/ToolSearchActivatedEvent.java Adds tool-search event.
java/src/generated/java/com/github/copilot/generated/SessionUsageCheckpointEvent.java Adds model cache state.
java/src/generated/java/com/github/copilot/generated/SessionManagedSettingsEnforcedEvent.java Adds managed-policy event.
java/src/generated/java/com/github/copilot/generated/SessionEvent.java Registers new event subtypes.
java/src/generated/java/com/github/copilot/generated/rpc/UsageMetricsModelMetric.java Adds cache expiration metric.
java/src/generated/java/com/github/copilot/generated/rpc/SkillsDiscoverResult.java Adds skill loading errors.
java/src/generated/java/com/github/copilot/generated/rpc/SessionRpc.java Exposes factory RPC namespace.
java/src/generated/java/com/github/copilot/generated/rpc/SessionFactoryRunResult.java Adds factory run result.
java/src/generated/java/com/github/copilot/generated/rpc/SessionFactoryRunParams.java Adds factory run parameters.
java/src/generated/java/com/github/copilot/generated/rpc/SessionFactoryLogParams.java Adds factory log parameters.
java/src/generated/java/com/github/copilot/generated/rpc/SessionFactoryJournalPutParams.java Adds journal write parameters.
java/src/generated/java/com/github/copilot/generated/rpc/SessionFactoryJournalGetResult.java Adds journal read result.
java/src/generated/java/com/github/copilot/generated/rpc/SessionFactoryJournalGetParams.java Adds journal read parameters.
java/src/generated/java/com/github/copilot/generated/rpc/SessionFactoryJournalApi.java Adds journal RPC methods.
java/src/generated/java/com/github/copilot/generated/rpc/SessionFactoryGetRunResult.java Adds run lookup result.
java/src/generated/java/com/github/copilot/generated/rpc/SessionFactoryGetRunParams.java Adds run lookup parameters.
java/src/generated/java/com/github/copilot/generated/rpc/SessionFactoryCancelResult.java Adds cancellation result.
java/src/generated/java/com/github/copilot/generated/rpc/SessionFactoryCancelParams.java Adds cancellation parameters.
java/src/generated/java/com/github/copilot/generated/rpc/SessionFactoryApi.java Adds factory RPC client.
java/src/generated/java/com/github/copilot/generated/rpc/SessionFactoryAgentResult.java Adds factory-agent result.
java/src/generated/java/com/github/copilot/generated/rpc/SessionFactoryAgentParams.java Adds factory-agent parameters.
java/src/generated/java/com/github/copilot/generated/rpc/SandboxConfig.java Adds sandbox authentication options.
java/src/generated/java/com/github/copilot/generated/rpc/RunOptions.java Adds factory run options.
java/src/generated/java/com/github/copilot/generated/rpc/LlmInferenceHttpRequestStartRequest.java Adds agent invocation identity.
java/src/generated/java/com/github/copilot/generated/rpc/HookType.java Adds transformed-prompt hook type.
java/src/generated/java/com/github/copilot/generated/rpc/FactoryRunStatus.java Adds factory run statuses.
java/src/generated/java/com/github/copilot/generated/rpc/FactoryRunLimits.java Adds factory resource limits.
java/src/generated/java/com/github/copilot/generated/rpc/FactoryLogLineKind.java Adds factory log kinds.
java/src/generated/java/com/github/copilot/generated/rpc/FactoryLogLine.java Adds factory log model.
java/src/generated/java/com/github/copilot/generated/rpc/FactoryExecuteResult.java Adds execution result.
java/src/generated/java/com/github/copilot/generated/rpc/FactoryExecuteParams.java Adds execution parameters.
java/src/generated/java/com/github/copilot/generated/rpc/FactoryAgentOptions.java Adds factory-agent options.
java/src/generated/java/com/github/copilot/generated/rpc/FactoryAbortParams.java Adds factory abort parameters.
java/src/generated/java/com/github/copilot/generated/ModelCallStartEvent.java Adds model-call-start event.
java/src/generated/java/com/github/copilot/generated/ModelCallFailureTransport.java Adds failure transport enum.
java/src/generated/java/com/github/copilot/generated/ModelCallFailureKind.java Adds failure kind enum.
java/src/generated/java/com/github/copilot/generated/ModelCallFailureEvent.java Extends failure telemetry.
java/src/generated/java/com/github/copilot/generated/ManagedSettingsEnforcedEscalation.java Adds policy escalation enum.
java/src/generated/java/com/github/copilot/generated/ManagedSettingsEnforcedAction.java Adds policy action enum.
java/src/generated/java/com/github/copilot/generated/AssistantUsageEvent.java Adds cache expiration data.
java/src/generated/java/com/github/copilot/generated/AssistantTurnRetryEvent.java Adds assistant retry event.
java/scripts/codegen/package.json Updates Java codegen dependency.
java/scripts/codegen/package-lock.json Locks Java codegen dependencies.
java/pom.xml Updates reference implementation version.
go/zsession_events.go Re-exports new event types.
go/rpc/zsession_events.go Adds generated event models.
go/rpc/zsession_encoding.go Decodes new event variants.
go/rpc/zrpc.go Adds factory RPC contracts and handlers.
go/rpc/zrpc_encoding.go Adds factory failure union encoding.

Review details

Files not reviewed (9)
  • go/rpc/zrpc.go: Generated file
  • 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/64 changed files
  • Comments generated: 1
  • Review effort level: Medium

Comment thread go/rpc/zrpc_encoding.go
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: b518a351-2110-47a8-98be-371b1e8e5608
@github-actions

This comment has been minimized.

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

Copilot-Session: b518a351-2110-47a8-98be-371b1e8e5608
@github-actions

Copy link
Copy Markdown
Contributor Author

Cross-SDK Consistency Review ✅

This PR fixes a race condition in the abort recovery E2E tests for Go, Node.js, and Rust — subscribing to the event stream before calling send() to avoid missing the assistant.message response.

Consistency Check

SDK Status Notes
Node.js ✅ Fixed in this PR Changed from sendAndWait to subscribe-then-send
Go ✅ Fixed in this PR Changed from SendAndWait to subscribe-then-send
Rust ✅ Fixed in this PR Changed from send_and_wait to subscribe-then-send
Python ✅ Already correct Uses asyncio.create_task(get_next_event_of_type(...)) before session.send()
.NET ✅ Not affected Uses SendAndWaitAsync which subscribes internally before sending
Java ✅ Not affected Uses sendAndWait which subscribes internally before sending (confirmed in CopilotSession.java line 560)

The fix is consistent across all SDKs. Languages that had the race condition are fixed; languages that use a sendAndWait-style helper were already safe because those helpers subscribe before invoking send internally.

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • awmgmcpg

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "awmgmcpg"

See Network Configuration for more information.

Generated by SDK Consistency Review Agent for #2035 · 26.9 AIC · ⌖ 5.14 AIC · ⊞ 5K ·

@MackinnonBuck
MackinnonBuck added this pull request to the merge queue Jul 21, 2026
Merged via the queue into main with commit 29b071b Jul 21, 2026
59 checks passed
@MackinnonBuck
MackinnonBuck deleted the update-copilot-1.0.72 branch July 21, 2026 00:23
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