Skip to content

.NET: Restore Copilot SessionLifecycleMode mapping with SDK 2.0.4 #10512

Todo

Description

@baywet

#10505 removed three resume-option mappings while pinning Microsoft.Copilot.SDK to 2.0.2. The upgrade to 2.0.3 in #10510 restores ExtensionPaths and ExtensionSources (commit 129399496), but SessionLifecycleMode is not available in 2.0.3 and is the only mapping still missing.

When upgrading Microsoft.Copilot.SDK to 2.0.4:

  • In MicrosoftCopilotAgent.ToResumeSessionOptions, restore SessionLifecycleMode = cloned.SessionLifecycleMode so resumed sessions preserve the configured lifecycle mode.
  • Run the Copilot unit tests, including ToResumeSessionOptions_PreservesEverySharedProperty, and verify that a non-default SessionLifecycleMode survives the create-to-resume mapping.

Activity

  1. added
    .NET
    on Dec 2, 2026
  2. added
    triage
    on Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

.NETtriage

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions