Repository navigation
.NET Workflow - Integrated updated CPS Object Model - #681
Merged
Chris (crickman) merged 28 commits intoSep 15, 2025
Merged
Conversation
Chris (crickman)
had a problem deploying
to
integration
September 10, 2025 03:21 — with
GitHub Actions
Failure
Chris (crickman)
had a problem deploying
to
integration
September 10, 2025 03:21 — with
GitHub Actions
Failure
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR integrates an updated CPS Object Model by migrating from the deprecated AnswerQuestionWithAI action to the new InvokeAzureAgent action throughout the workflow system.
- Replaces all
AnswerQuestionWithAIusage withInvokeAzureAgentin workflow YAML files - Adds new conversation management capabilities and PowerFx functions for agent invocation
- Updates package dependencies to newer preview versions
Reviewed Changes
Copilot reviewed 19 out of 19 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| workflows/Question.yaml | Migrates from AnswerQuestionWithAI to InvokeAzureAgent for single agent interaction |
| workflows/MathChat.yaml | Updates multi-agent workflow to use new agent invocation pattern |
| workflows/DeepResearch.yaml | Converts complex orchestrator workflow to new object model with conversation management |
| dotnet/src/.../WorkflowAgentProvider.cs | Adds conversation creation capability to agent provider |
| dotnet/src/.../SystemScope.cs | Removes unused internal conversation ID methods |
| dotnet/src/.../RecalcEngineFactory.cs | Registers new UserMessage PowerFx function |
| dotnet/src/.../UserMessage.cs | Implements PowerFx function for creating user message objects |
| dotnet/src/.../InvokeAzureAgentExecutor.cs | Implements executor for new InvokeAzureAgent action |
| dotnet/src/.../CreateConversationExecutor.cs | Implements executor for conversation creation |
| dotnet/src/.../WorkflowActionVisitor.cs | Updates visitor pattern to handle new actions and deprecate old ones |
| dotnet/src/.../DeclarativeActionExecutor.cs | Makes target path nullable for optional assignment operations |
| dotnet/src/.../ChatMessageExtensions.cs | Adds conversion methods between PowerFx data types and chat messages |
| dotnet/nuget.config | Updates package source URL for CopilotStudio packages |
| dotnet/Directory.Packages.props | Updates package versions to newer preview releases |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Chris (crickman)
had a problem deploying
to
integration
September 10, 2025 03:39 — with
GitHub Actions
Failure
Chris (crickman)
had a problem deploying
to
integration
September 10, 2025 03:39 — with
GitHub Actions
Failure
Chris (crickman)
had a problem deploying
to
integration
September 10, 2025 03:39 — with
GitHub Actions
Failure
Chris (crickman)
had a problem deploying
to
integration
September 10, 2025 03:39 — with
GitHub Actions
Failure
Co-authored-by: Copilot <[email protected]>
Chris (crickman)
had a problem deploying
to
integration
September 10, 2025 03:47 — with
GitHub Actions
Error
Chris (crickman)
had a problem deploying
to
integration
September 10, 2025 03:47 — with
GitHub Actions
Error
Chris (crickman)
had a problem deploying
to
integration
September 10, 2025 03:47 — with
GitHub Actions
Failure
Chris (crickman)
had a problem deploying
to
integration
September 10, 2025 03:47 — with
GitHub Actions
Failure
Chris (crickman)
had a problem deploying
to
integration
September 10, 2025 03:47 — with
GitHub Actions
Failure
Chris (crickman)
had a problem deploying
to
integration
September 10, 2025 03:47 — with
GitHub Actions
Failure
Chris (crickman)
requested review from
Mike Stall (MikeStall),
Marius de Vogel (madevoge) and
Pradeep Kintali (pradeepkintali)
September 10, 2025 03:49
Chris (crickman)
had a problem deploying
to
integration
September 10, 2025 17:48 — with
GitHub Actions
Failure
Chris (crickman)
had a problem deploying
to
integration
September 10, 2025 17:48 — with
GitHub Actions
Failure
Chris (crickman)
temporarily deployed
to
integration
September 11, 2025 15:41 — with
GitHub Actions
Inactive
Chris (crickman)
had a problem deploying
to
integration
September 11, 2025 15:41 — with
GitHub Actions
Failure
Chris (crickman)
had a problem deploying
to
integration
September 11, 2025 15:41 — with
GitHub Actions
Failure
Chris (crickman)
temporarily deployed
to
integration
September 11, 2025 15:41 — with
GitHub Actions
Inactive
Chris (crickman)
temporarily deployed
to
integration
September 11, 2025 17:15 — with
GitHub Actions
Inactive
Chris (crickman)
had a problem deploying
to
integration
September 11, 2025 17:15 — with
GitHub Actions
Failure
Chris (crickman)
had a problem deploying
to
integration
September 11, 2025 17:15 — with
GitHub Actions
Failure
Chris (crickman)
temporarily deployed
to
integration
September 11, 2025 17:15 — with
GitHub Actions
Inactive
Chris (crickman)
temporarily deployed
to
integration
September 11, 2025 20:56 — with
GitHub Actions
Inactive
Chris (crickman)
had a problem deploying
to
integration
September 11, 2025 20:56 — with
GitHub Actions
Failure
Chris (crickman)
temporarily deployed
to
integration
September 11, 2025 20:56 — with
GitHub Actions
Inactive
Chris (crickman)
had a problem deploying
to
integration
September 11, 2025 20:56 — with
GitHub Actions
Failure
Chris (crickman)
had a problem deploying
to
integration
September 14, 2025 23:44 — with
GitHub Actions
Error
Chris (crickman)
had a problem deploying
to
integration
September 14, 2025 23:44 — with
GitHub Actions
Failure
Ben Thomas (alliscode)
approved these changes
Sep 15, 2025
Jacob Alber (lokitoth)
approved these changes
Sep 15, 2025
This branch was previously deployed
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.
Motivation and Context
Integrate Foundry specific actions from updated package:
Microsoft.Bot.ObjectModelSource: https://msazure.visualstudio.com/CCI/_git/ObjectModel/pullrequest/13137388
Description
🤖 Actions being introduced:
CreateConversationAddConversationMessageCopyConversationMessagesInvokeAzureAgentRetrieveConversationMessageRetrieveConversationMessagesAlso picking up:
QuestionSetMultipleVariables👉 SAMPLES UPDATED 👈
🧪 Introduced integration tests - lightweight. Next step: More validation logic / more testcases.
Contribution Checklist