Update @github/copilot to 1.0.42#1211
Conversation
- Updated nodejs and test harness dependencies - Re-ran code generators - Formatted generated code
There was a problem hiding this comment.
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/copilotto^1.0.42in 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>
Cross-SDK Consistency Review ✅This PR updates Changes verified as consistent:1. New session events: All SDKs correctly add the new event types following each language's naming conventions:
2. New All SDKs correctly add the new optional field following each language's naming conventions:
No consistency issues found. All SDK implementations are in alignment. 🎉
|
Automated update of
@github/copilotto version1.0.42.Changes
@github/copilotinnodejs/package.jsonandtest/harness/package.jsonscripts/codegen)Next steps
When ready, click Ready for review to trigger CI checks.