Skip to content

Update @github/copilot to 1.0.40-0#1171

Merged
stephentoub merged 2 commits intomainfrom
update-copilot-1.0.40-0
Apr 30, 2026
Merged

Update @github/copilot to 1.0.40-0#1171
stephentoub merged 2 commits intomainfrom
update-copilot-1.0.40-0

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Automated update of @github/copilot to version 1.0.40-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 30, 2026 01:46
@stephentoub stephentoub requested a review from a team as a code owner April 30, 2026 01:46
Copilot AI review requested due to automatic review settings April 30, 2026 01:46
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

Automated dependency bump of @github/copilot to 1.0.40-0, with regenerated multi-language session event types to match the updated upstream schema.

Changes:

  • Updated @github/copilot dependency version in Node SDK + test harness (and corresponding lockfiles).
  • Regenerated session event types across Node/TypeScript, Python, Go, and .NET to include the new instruction_discovered system notification shape.
  • Updated sample lockfile to reflect the Node SDK’s updated dependency graph.
Show a summary per file
File Description
test/harness/package.json Bumps @github/copilot used by the test harness.
test/harness/package-lock.json Lockfile update for the harness dependency bump.
nodejs/package.json Bumps @github/copilot dependency for the Node SDK package.
nodejs/package-lock.json Lockfile update for the Node SDK dependency bump.
nodejs/samples/package-lock.json Updates sample lockfile to align with updated Node SDK dependencies.
nodejs/src/generated/session-events.ts Adds SystemNotificationInstructionDiscovered variant to generated TS session-events types.
python/copilot/generated/session_events.py Extends generated Python session event models/enums with instruction_discovered and related fields.
go/generated_session_events.go Extends generated Go session event structs/enums with instruction_discovered and related fields.
dotnet/src/Generated/SessionEvents.cs Adds generated .NET derived type + polymorphic registration for instruction_discovered.

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

Add sync.Mutex to protect concurrent access to the events slice
in all three subtests, matching the pattern used throughout the
rest of the E2E test suite.

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

Cross-SDK Consistency Review ✅

This automated codegen PR (@github/copilot 1.0.39 → 1.0.40-0) maintains cross-SDK consistency. The new instruction_discovered system notification type is correctly propagated to all four SDK implementations:

Field Node.js Python Go .NET
description (optional) description? description (pre-existing flat field) Description (pre-existing flat field) Description?
sourcePath (required) sourcePath source_path SourcePath SourcePath
triggerFile (required) triggerFile trigger_file TriggerFile TriggerFile
triggerTool (required) triggerTool trigger_tool TriggerTool TriggerTool
Type constant "instruction_discovered" INSTRUCTION_DISCOVERED SystemNotificationTypeInstructionDiscovered "instruction_discovered"

The implementation styles appropriately differ by language (flat union struct in Go/Python vs. polymorphic derived classes in Node.js/.NET), which is consistent with each SDK's codegen strategy.

The Go test fix adding sync.Mutex protection in streaming_fidelity_test.go is an internal correctness improvement and not an API surface concern.

No cross-SDK inconsistencies found.

Generated by SDK Consistency Review Agent for issue #1171 · ● 517.3K ·

@stephentoub stephentoub merged commit e42b726 into main Apr 30, 2026
36 checks passed
@stephentoub stephentoub deleted the update-copilot-1.0.40-0 branch April 30, 2026 02:15
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