Skip to content

.NET: Fixes for bug bash.#3927

Open
westey-m wants to merge 2 commits intomicrosoft:mainfrom
westey-m:2026-02-14-bugbash-fixes
Open

.NET: Fixes for bug bash.#3927
westey-m wants to merge 2 commits intomicrosoft:mainfrom
westey-m:2026-02-14-bugbash-fixes

Conversation

@westey-m
Copy link
Contributor

Motivation and Context

Description

  • A few small bug bash fixes.

Contribution Checklist

  • The code builds clean without any errors or warnings
  • The PR follows the Contribution Guidelines
  • All unit tests pass, and I have added new tests where possible
  • Is this a breaking change? If yes, add "[BREAKING]" prefix to the title of the PR.

Copilot AI review requested due to automatic review settings February 13, 2026 17:36
@markwallace-microsoft markwallace-microsoft added documentation Improvements or additions to documentation .NET labels Feb 13, 2026
@github-actions github-actions bot changed the title Fixes for bug bash. .NET: Fixes for bug bash. Feb 13, 2026
@westey-m westey-m enabled auto-merge February 13, 2026 17:37
Copy link
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 a few .NET GettingStarted samples to address bug-bash feedback by clarifying expected runtime behavior and adjusting sample instructions/output.

Changes:

  • Clarified chat-reduction sample behavior by adding additional chat history inspections and updating the follow-up prompt.
  • Adjusted persisted-conversation sample to avoid temp-file roundtrip and instead display serialized session data, then resume the session.
  • Updated MCP Inspector README command to explicitly run the sample under net10.0.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
dotnet/samples/GettingStarted/Agents/Agent_Step16_ChatReduction/Program.cs Adds explanatory comments and extra history checks to illustrate when reduction occurs.
dotnet/samples/GettingStarted/Agents/Agent_Step10_AsMcpTool/README.md Updates inspector command to include --framework net10.0 to match the project’s target.
dotnet/samples/GettingStarted/Agents/Agent_Step06_PersistedConversations/Program.cs Switches from temp-file persistence demo to console output + immediate session resume; adds CA1869 suppression.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation .NET

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants