Skip to content

.NET Workflows - Minor updates to samples#2707

Merged
crickman merged 2 commits into
mainfrom
crickman/workfow-samples-minor-fixes
Dec 8, 2025
Merged

.NET Workflows - Minor updates to samples#2707
crickman merged 2 commits into
mainfrom
crickman/workfow-samples-minor-fixes

Conversation

@crickman

@crickman crickman commented Dec 8, 2025

Copy link
Copy Markdown
Contributor

Motivation and Context

Noticed a mix of minor clean-up and bug-fix issues as part of exploring a feature update.

Description

  • Removed extraneous project references
  • Fixed typo in DeepResearch.yaml workflow
  • Removed duplicate output
  • Removed solution reference to missing workflow
  • Add missing example workflow to solution

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.

@crickman crickman self-assigned this Dec 8, 2025
Copilot AI review requested due to automatic review settings December 8, 2025 20:02
@crickman crickman added bug Usage: [Issues], Target: all issues (Legacy, prefer issue type: bug) workflows Usage: [Issues, PRs], Target: Workflows samples labels Dec 8, 2025
@markwallace-microsoft markwallace-microsoft added the .NET Usage: [Issues, PRs], Target: .Net label Dec 8, 2025
@crickman crickman moved this to In Review in Agent Framework Dec 8, 2025

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.

Pull request overview

This PR performs minor clean-up and bug fixes across the .NET workflow samples, improving code quality and consistency without changing functionality.

  • Fixed a typo in the DeepResearch workflow YAML configuration
  • Added missing console color resets in WorkflowRunner for better terminal output handling
  • Removed extraneous project references from multiple sample projects
  • Removed duplicate workflow completion notification

Reviewed changes

Copilot reviewed 17 out of 17 changed files in this pull request and generated no comments.

Show a summary per file
File Description
workflow-samples/DeepResearch.yaml Fixed typo: changed "inputs:" to "input:" to match the correct InvokeAzureAgent schema
dotnet/src/Shared/Workflows/Execution/WorkflowRunner.cs Added Console.ResetColor() calls after setting console colors to properly restore terminal state
dotnet/samples/GettingStarted/Workflows/_Foundational/08_WriterCriticWorkflow/08_WriterCriticWorkflow.csproj Removed unused Microsoft.Agents.AI.AzureAI.Persistent project reference
dotnet/samples/GettingStarted/Workflows/_Foundational/07_MixedWorkflowAgentsAndExecutors/07_MixedWorkflowAgentsAndExecutors.csproj Removed unused Microsoft.Agents.AI.AzureAI.Persistent project reference
dotnet/samples/GettingStarted/Workflows/_Foundational/06_SubWorkflows/06_SubWorkflows.csproj Removed unused Microsoft.Agents.AI.AzureAI.Persistent project reference
dotnet/samples/GettingStarted/Workflows/_Foundational/05_MultiModelService/05_MultiModelService.csproj Removed unused Microsoft.Agents.AI.AzureAI.Persistent project reference
dotnet/samples/GettingStarted/Workflows/_Foundational/04_AgentWorkflowPatterns/04_AgentWorkflowPatterns.csproj Removed unused Microsoft.Agents.AI.AzureAI.Persistent project reference
dotnet/samples/GettingStarted/Workflows/_Foundational/03_AgentsInWorkflows/03_AgentsInWorkflows.csproj Removed unused Microsoft.Agents.AI.AzureAI.Persistent project reference
dotnet/samples/GettingStarted/Workflows/Observability/WorkflowAsAnAgent/WorkflowAsAnAgentObservability.csproj Removed unused Microsoft.Agents.AI.AzureAI.Persistent project reference
dotnet/samples/GettingStarted/Workflows/Declarative/ExecuteWorkflow/Program.cs Removed duplicate "Done!" notification (already output by WorkflowRunner)
dotnet/samples/GettingStarted/Workflows/ConditionalEdges/03_MultiSelection/03_MultiSelection.csproj Removed unused Microsoft.Agents.AI.AzureAI.Persistent project reference
dotnet/samples/GettingStarted/Workflows/ConditionalEdges/02_SwitchCase/02_SwitchCase.csproj Removed unused Microsoft.Agents.AI.AzureAI.Persistent project reference
dotnet/samples/GettingStarted/Workflows/ConditionalEdges/01_EdgeCondition/01_EdgeCondition.csproj Removed unused Microsoft.Agents.AI.AzureAI.Persistent project reference
dotnet/samples/GettingStarted/Workflows/Concurrent/Concurrent/Concurrent.csproj Removed unused Microsoft.Agents.AI.AzureAI.Persistent project reference
dotnet/samples/GettingStarted/Workflows/Agents/WorkflowAsAnAgent/WorkflowAsAnAgent.csproj Removed unused Microsoft.Agents.AI.AzureAI.Persistent project reference
dotnet/samples/GettingStarted/Workflows/Agents/CustomAgentExecutors/CustomAgentExecutors.csproj Removed unused Microsoft.Agents.AI.AzureAI.Persistent project reference
dotnet/agent-framework-dotnet.slnx Fixed incorrect workflow sample file reference (ConfirmInput.yaml → CustomerSupport.yaml) and reordered Client/Server project pairs for consistency

Comment thread dotnet/agent-framework-dotnet.slnx
@crickman crickman added this pull request to the merge queue Dec 8, 2025
github-merge-queue Bot pushed a commit that referenced this pull request Dec 8, 2025
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Dec 8, 2025
@crickman crickman added this pull request to the merge queue Dec 8, 2025
Merged via the queue into main with commit 1e6aedb Dec 8, 2025
14 checks passed
@github-project-automation github-project-automation Bot moved this from In Review to Done in Agent Framework Dec 8, 2025
arisng pushed a commit to arisng/agent-framework that referenced this pull request Feb 2, 2026
@moonbox3 moonbox3 added declarative Usage: [Issues, PRs], Target: declarative agents and workflows and removed declarative-workflow labels Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Usage: [Issues], Target: all issues (Legacy, prefer issue type: bug) declarative Usage: [Issues, PRs], Target: declarative agents and workflows .NET Usage: [Issues, PRs], Target: .Net workflows Usage: [Issues, PRs], Target: Workflows

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

6 participants