Skip to content

Update @github/copilot to 1.0.39-0#1157

Merged
stephentoub merged 4 commits intomainfrom
update-copilot-1.0.39-0
Apr 29, 2026
Merged

Update @github/copilot to 1.0.39-0#1157
stephentoub merged 4 commits intomainfrom
update-copilot-1.0.39-0

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Automated update of @github/copilot to version 1.0.39-0.

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 April 28, 2026 22:35
@stephentoub stephentoub requested a review from a team as a code owner April 28, 2026 22:35
Copilot AI review requested due to automatic review settings April 28, 2026 22:35
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 @github/copilot dependency to 1.0.39-0 and regenerates the language SDK bindings/types from the updated schemas.

Changes:

  • Bumped @github/copilot to ^1.0.39-0 in Node/test harness packages (and lockfiles).
  • Regenerated schema-driven outputs across Node/TS, Python, Go, and .NET (new events + new experimental Tasks RPC surface).
  • Updated generated session-event models to include model.call_failure and extended info payloads (e.g., tip).
Show a summary per file
File Description
test/harness/package.json Updates harness devDependency on @github/copilot to ^1.0.39-0.
test/harness/package-lock.json Lockfile update for @github/copilot@1.0.39-0 and platform optional deps.
python/copilot/generated/session_events.py Adds model.call_failure event/data + SessionInfoData.tip.
python/copilot/generated/rpc.py Adds experimental Tasks RPC types/API; extends AgentInfo and Workspace.
nodejs/src/generated/session-events.ts Adds ModelCallFailureEvent/data + InfoData.tip and related enums.
nodejs/src/generated/rpc.ts Adds experimental Tasks RPC types and createSessionRpc().tasks methods; extends AgentInfo and workspace shape.
nodejs/samples/package-lock.json Updates lockfile resolution reflecting new @github/copilot version.
nodejs/package.json Updates @github/copilot dependency to ^1.0.39-0.
nodejs/package-lock.json Lockfile update for @github/copilot@1.0.39-0 and optional platform deps.
go/rpc/generated_rpc.go Adds experimental Tasks RPC types and session Tasks API; extends AgentInfo and workspace.
go/generated_session_events.go Adds model.call_failure event/data and SessionInfoData.tip + enum.
dotnet/src/Generated/SessionEvents.cs Adds ModelCallFailureEvent/data + SessionInfoData.Tip and enum.
dotnet/src/Generated/Rpc.cs Adds experimental Tasks RPC request/response/types and SessionRpc.Tasks; extends AgentInfo and workspace.

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: 4/13 changed files
  • Comments generated: 0

Normalize CLI system reminders in replay matching and isolate E2E tests from user-level Copilot state by setting COPILOT_HOME in each SDK harness.

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

This comment has been minimized.

stephentoub and others added 2 commits April 28, 2026 22:55
Use a writable temp-backed session state path for SessionFs E2E tests on non-Windows so the updated runtime can create its internal state without writing to /session-state. Keep the existing /session-state path on Windows, isolate Node COPILOT_HOME from per-test cleanup, and normalize temp-backed large-output paths for stable snapshots.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Wrap long SessionFs assertions so the Python e2e test passes ruff after the Unix session state path update.

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

Cross-SDK Consistency Review ✅

This PR is an automated codegen update and maintains full feature parity across all four SDK implementations (Node.js/TypeScript, Python, Go, .NET).

Changes reviewed for consistency

Feature Node.js Python Go .NET
model.call_failure session event (ModelCallFailureEvent, ModelCallFailureData, ModelCallFailureSource)
TasksApi with startAgent, list, promoteToBackground, cancel, remove
Task types (TaskAgentInfo, TaskShellInfo, TaskInfo, TaskList, enums)
user_named field on Workspace/WorkspacesGetWorkspaceResultWorkspace
path field on AgentInfo
tip field on session warning message type
Updated NameGetResult doc string

API naming consistency

All new APIs follow each language's idiomatic conventions correctly:

  • Node.js: tasks.startAgent(...), tasks.promoteToBackground(...) (camelCase)
  • Python: tasks.start_agent(...), tasks.promote_to_background(...) (snake_case)
  • Go: Tasks.StartAgent(...), Tasks.PromoteToBackground(...) (PascalCase exported)
  • .NET: Tasks.StartAgentAsync(...), Tasks.PromoteToBackgroundAsync(...) (PascalCase + Async suffix)

No consistency issues found.

Generated by SDK Consistency Review Agent for issue #1157 · ● 882.6K ·

@stephentoub stephentoub merged commit 02ff69b into main Apr 29, 2026
36 checks passed
@stephentoub stephentoub deleted the update-copilot-1.0.39-0 branch April 29, 2026 03:11
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