Skip to content

Update @github/copilot to 1.0.42#1211

Merged
stephentoub merged 2 commits intomainfrom
update-copilot-1.0.42
May 6, 2026
Merged

Update @github/copilot to 1.0.42#1211
stephentoub merged 2 commits intomainfrom
update-copilot-1.0.42

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented May 6, 2026

Automated update of @github/copilot to version 1.0.42.

Changes

  • Updated @github/copilot in nodejs/package.json and test/harness/package.json
  • Re-ran all code generators (scripts/codegen)
  • Formatted generated output

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 May 6, 2026 15:32
@stephentoub stephentoub requested a review from a team as a code owner May 6, 2026 15:32
Copilot AI review requested due to automatic review settings May 6, 2026 15:32
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 Node/test-harness dependency on @github/copilot to 1.0.42 and propagates the resulting protocol/schema changes by re-running code generation across the SDKs (Node, Python, Go, .NET, Rust).

Changes:

  • Bumped @github/copilot to ^1.0.42 in Node SDK and the shared test harness (and updated lockfiles accordingly).
  • Regenerated session event models/types across languages, adding session.schedule_created / session.schedule_cancelled.
  • Extended tool-request payload models to include mcpToolName (mcp_tool_name / McpToolName) alongside the existing MCP server name field.
Show a summary per file
File Description
test/harness/package.json Updates harness devDependency to @github/copilot@^1.0.42.
test/harness/package-lock.json Locks harness dependency graph to @github/copilot@1.0.42 (+ platform optional deps).
nodejs/package.json Updates Node SDK dependency to @github/copilot@^1.0.42.
nodejs/package-lock.json Locks Node SDK dependency graph to @github/copilot@1.0.42 (+ platform optional deps).
nodejs/samples/package-lock.json Pulls updated Node SDK dependency tree into the sample lockfile.
nodejs/src/generated/session-events.ts Regenerates TS session-event typings to include schedule events and mcpToolName.
python/copilot/generated/session_events.py Regenerates Python session-event models to include schedule events and mcpToolName.
go/generated_session_events.go Regenerates Go session-event unmarshalling/types for schedule events and McpToolName.
dotnet/src/Generated/SessionEvents.cs Regenerates .NET derived event/data types and serialization context entries for schedule events + McpToolName.
rust/src/generated/session_events.rs Regenerates Rust event enums/data structs for schedule events + mcp_tool_name.

Copilot's findings

Files not reviewed (3)
  • nodejs/package-lock.json: Language not supported
  • nodejs/samples/package-lock.json: Language not supported
  • test/harness/package-lock.json: Language not supported
  • Files reviewed: 3/10 changed files
  • Comments generated: 0

The test 'session created with onElicitationRequest reports elicitation
capability' was flaky on Windows CI runners, timing out at 20s. The
explicit 20s timeout was lower than the global vitest default of 30s.
Increase all timeouts in this file to 60s to account for slower Windows
CI runners.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown
Contributor Author

github-actions Bot commented May 6, 2026

Cross-SDK Consistency Review ✅

This PR updates @github/copilot to 1.0.42 and re-runs all code generators. The changes are fully consistent across all five SDK implementations (Node.js/TypeScript, Python, Go, .NET, Rust).

Changes verified as consistent:

1. New session events: session.schedule_created / session.schedule_cancelled

All SDKs correctly add the new event types following each language's naming conventions:

SDK Event types Data types
TypeScript ScheduleCreatedEvent, ScheduleCancelledEvent ScheduleCreatedData, ScheduleCancelledData
Python SESSION_SCHEDULE_CREATED/CANCELLED enum values SessionScheduleCreatedData, SessionScheduleCancelledData
Go SessionEventTypeSessionScheduleCreated/Cancelled constants SessionScheduleCreatedData, SessionScheduleCancelledData
.NET SessionScheduleCreatedEvent, SessionScheduleCancelledEvent SessionScheduleCreatedData, SessionScheduleCancelledData
Rust SessionScheduleCreated/Cancelled enum variants SessionScheduleCreatedData, SessionScheduleCancelledData

2. New mcpToolName field in AssistantMessageToolRequest

All SDKs correctly add the new optional field following each language's naming conventions:

SDK Field
TypeScript mcpToolName?: string
Python mcp_tool_name: str | None
Go McpToolName *string \json:"mcpToolName,omitempty"``
.NET public string? McpToolName { get; set; }
Rust pub mcp_tool_name: Option<String>

No consistency issues found. All SDK implementations are in alignment. 🎉

Generated by SDK Consistency Review Agent for issue #1211 · ● 319.1K ·

@stephentoub stephentoub added this pull request to the merge queue May 6, 2026
Merged via the queue into main with commit 45666cc May 6, 2026
44 checks passed
@stephentoub stephentoub deleted the update-copilot-1.0.42 branch May 6, 2026 16:30
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