Skip to content

agentHost: bump Copilot SDK to 1.0.14 preview - #336360

Draft
roblourens wants to merge 5 commits into
mainfrom
roblou/copilot-sdk-336322
Draft

roblourens wants to merge 5 commits into
mainfrom
roblou/copilot-sdk-336322

Conversation

@roblourens

Copy link
Copy Markdown
Member

Summary

  • Bump @github/copilot-sdk to 1.0.14-preview.1 and the Agent Host Copilot runtime to 1.0.84-9.
  • Update the Copilot OTel E2E expectations for the SDK's renamed agent span and batched export cadence.
  • Preserve and validate @github/copilot/sdk/index.js in packaged built-in Copilot extensions, restoring the staged SDK for desktop and remote builds when needed.

Validation

  • npm ci
  • npm run compile (0 errors)
  • npm run typecheck --prefix build
  • node --test build\lib\test\copilot.test.ts (22 passing)
  • Copilot Agent Host E2E replay suite (176 passing, 37 pending; one automation restart timeout passed on targeted rerun)
  • Azure Product build 474199 is in progress for Windows x64, Linux x64, and macOS x64 at the pre-merge SDK commit.

Full npm run hygiene is currently blocked in this Windows worktree by a pre-existing C:\C:\... path construction failure; the changed files passed the pre-commit hygiene hook.

(Written by Copilot)

github-actions Bot and others added 4 commits September 15, 2026 20:16
The bumped @github/copilot runtime now names the OTel root span
`invoke_agent {gen_ai.agent.name}` per GenAI semconv (verified in
copilot-agent-runtime session_tracker.rs), so the exact `"name":"invoke_agent"`
substring match no longer holds; match by prefix. The SDK span is also exported
via the runtime's AsyncBatchSpanProcessor (~5s scheduled delay), so widen the
poll budget past that cadence to avoid racing the batched export.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Restore the staged SDK after product packaging before target-native files are materialized, and fail if the SDK entrypoint is absent. (Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Refresh the SDK bump branch before opening the pull request. (Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings September 16, 2026 01:00

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.

Copilot review overview

🟡 Changes recommended

The OTel assertion still accepts the old span name and therefore does not validate the renamed SDK span.

Get a fresh assessment by requesting another Copilot review.

Review tier: Balanced
Findings: 1 Medium severity · 1 Low severity

Open (2)
What changed in this PR

Updates the Agent Host Copilot runtime/SDK and packaging support.

Changes:

  • Bumps Copilot dependencies and transitive native packages.
  • Updates OTel span timing/name expectations.
  • Preserves and restores the packaged Copilot SDK entrypoint.
File Description
package.json Bumps Copilot dependencies.
package-lock.json Locks updated dependencies.
remote/​package.json Bumps remote dependencies.
remote/​package-lock.json Locks remote dependencies.
build/​.moduleignore Preserves the SDK entrypoint.
build/​lib/​copilot.ts Restores missing staged SDK files.
build/​lib/​test/​copilot.test.ts Tests SDK restoration.
build/​gulpfile.vscode.ts Supplies the desktop staged SDK.
build/​gulpfile.reh.ts Supplies the remote staged SDK.
src/​vs/​platform/​agentHost/​test/​node/​e2e/​providers/​copilotOtelAgentHostE2E.integrationTest.ts Updates OTel expectations and polling.
Files not reviewed (1)
  • remote/package-lock.json: Generated file

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

github-actions Bot commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Base: c74ba73b Current: 86cc024c

No screenshot changes.

@roblourens
roblourens marked this pull request as draft September 16, 2026 04:41
Tighten OTel span matching, remove cross-chat ordering from the retained-subagent snapshot, and approve the SDK's updated koffi dependency. (Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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