Upstream sync: port 15 commits from github/copilot-sdk (2026-03-15)#7
Draft
Upstream sync: port 15 commits from github/copilot-sdk (2026-03-15)#7
Conversation
…lemetryConfig, new events Co-authored-by: edburns <75821+edburns@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
edburns
March 15, 2026 12:45
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upstream Merge
Ports changes from the official Copilot SDK (github/copilot-sdk) since last merge (
062b61c→ea90f07).Upstream commits analyzed (15 commits)
ea90f07a0bbde9a29dc1838603f2d71ef4cf2d21a005dd60eb10033910c4d02skipPermission2a67eccb67e3e5e1ea0085a41532df59a0e0dd6bfbChanges ported
setModel(model, reasoningEffort)CopilotSessionfor switching model + reasoning effort in one callreasoningEffortin session eventsSessionStartData,SessionResumeData,SessionModelChangeData(+previousReasoningEffort)selectedModelinSessionResumeDataToolDefinition.createWithSkipPermission()skipPermissionfieldPermissionRequestResultKind.NO_RESULTTelemetryConfigclassCopilotClientOptions.setTelemetry()TelemetryConfiginto the CLI start-up env varsCliServerManagertelemetry env varsCOPILOT_OTEL_ENABLEDand friends when telemetry is configuredSessionToolsUpdatedEventsession.tools_updatedSessionBackgroundTasksChangedEventsession.background_tasks_changedtraceparent/tracestateinExternalToolRequestedDataautoRestartdeprecatedCopilotClientOptions.setAutoRestart()deprecated; default changed tofalseEventErrorPolicychangedPROPAGATE_AND_LOG_ERRORStoSUPPRESS_AND_LOG_ERRORS(handler exceptions no longer halt event delivery by default)Not ported (intentionally)
_disconnectedvolatile + ConnectionState — .NET-specific connection state tracking patternVerification
ErrorHandlingTest)Documentation Impact
Updated
src/site/markdown/advanced.mdwith:skipPermission/createWithSkipPermission()tool factory methodreasoningEffortparameter insetModel()examplePermissionRequestResultKind.NO_RESULTin permissions tableTelemetryConfigSUPPRESS_AND_LOG_ERRORS)