Repository navigation
.NET Workflows - Introduce support for Local variable scope - #944
Merged
Chris (crickman) merged 12 commits intoSep 26, 2025
Merged
Chris (crickman) merged 12 commits into
Chris (crickman) merged 12 commits into
Conversation
Chris (crickman)
had a problem deploying
to
integration
September 26, 2025 17:20 — with
GitHub Actions
Failure
Chris (crickman)
had a problem deploying
to
integration
September 26, 2025 17:20 — with
GitHub Actions
Failure
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR introduces support for the Local variable scope in .NET workflows, replacing the previous default scope of Topic with Local. The change affects variable declarations, references, and internal workflow state management to use the new scoping model.
Key Changes:
- Updated default scope from
TopictoLocalin workflow execution context - Modified all sample workflows and test files to use
Localscope instead ofTopic - Added backward compatibility by maintaining
Topicscope support alongsideLocal
Reviewed Changes
Copilot reviewed 34 out of 34 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| workflow-samples/*.yaml | Updated variable declarations to use Local scope |
| dotnet/tests/.../Workflows/*.yaml | Modified test workflows to use Local scope |
| WorkflowFormulaState.cs | Changed default scope to Local and added scope mapping |
| WorkflowTest.cs | Updated test utilities to use new default scope |
| Various test files | Updated test code to use Local scope references |
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 26, 2025 17:25 — with
GitHub Actions
Error
Chris (crickman)
had a problem deploying
to
integration
September 26, 2025 17:25 — with
GitHub Actions
Error
Chris (crickman)
had a problem deploying
to
integration
September 26, 2025 17:26 — with
GitHub Actions
Failure
Chris (crickman)
had a problem deploying
to
integration
September 26, 2025 17:26 — with
GitHub Actions
Failure
Chris (crickman)
had a problem deploying
to
integration
September 26, 2025 17:52 — with
GitHub Actions
Failure
Chris (crickman)
had a problem deploying
to
integration
September 26, 2025 17:52 — with
GitHub Actions
Failure
Chris (crickman)
had a problem deploying
to
integration
September 26, 2025 18:11 — with
GitHub Actions
Error
Chris (crickman)
had a problem deploying
to
integration
September 26, 2025 18:11 — with
GitHub Actions
Failure
Chris (crickman)
requested review from
Tao Chen (TaoChenOSU) and
Ben Thomas (alliscode)
September 26, 2025 18:13
Chris (crickman)
had a problem deploying
to
integration
September 26, 2025 18:14 — with
GitHub Actions
Failure
Chris (crickman)
had a problem deploying
to
integration
September 26, 2025 18:14 — with
GitHub Actions
Failure
Chris (crickman)
requested review from
Ravi Teja Pidaparthi (RaviPidaparthi) and
Pradeep Kintali (pradeepkintali)
September 26, 2025 18:15
Tao Chen (TaoChenOSU)
approved these changes
Sep 26, 2025
Chris (crickman)
had a problem deploying
to
integration
September 26, 2025 18:30 — with
GitHub Actions
Failure
Chris (crickman)
had a problem deploying
to
integration
September 26, 2025 18:30 — with
GitHub Actions
Failure
Chris (crickman)
had a problem deploying
to
integration
September 26, 2025 21:07 — with
GitHub Actions
Error
Chris (crickman)
had a problem deploying
to
integration
September 26, 2025 21:07 — with
GitHub Actions
Error
…' of https://github.com/microsoft/agent-framework into crickman/workflows-declarative-objectmodel-update-scope
Chris (crickman)
temporarily deployed
to
integration
September 26, 2025 21:12 — with
GitHub Actions
Inactive
Chris (crickman)
temporarily deployed
to
integration
September 26, 2025 21:12 — with
GitHub Actions
Inactive
Chris (crickman)
enabled auto-merge
September 26, 2025 21:14
Ben Thomas (alliscode)
approved these changes
Sep 26, 2025
Chris (crickman)
deleted the
crickman/workflows-declarative-objectmodel-update-scope
branch
September 30, 2025 18:52
Reuben Bond (ReubenBond)
pushed a commit
to ReubenBond/agent-framework
that referenced
this pull request
Oct 28, 2025
…oft#944) * Prepare for update * Checkpoint * Comments * All fixed * Mixed casre test added * Rollback nuget * Remove redundant restorable * Namespace
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 latest Object Model update that enables
Localscope as an alias forTopic.Description
Localas active default scope.👉 SAMPLES UPDATED 👈
Contribution Checklist