Skip to content

.NET: Promote Workflows.Declarative packages to stable versions#6254

Merged
peibekwe merged 3 commits into
mainfrom
peibekwe/declarative-no-experimental-tag
Jun 2, 2026
Merged

.NET: Promote Workflows.Declarative packages to stable versions#6254
peibekwe merged 3 commits into
mainfrom
peibekwe/declarative-no-experimental-tag

Conversation

@peibekwe
Copy link
Copy Markdown
Contributor

@peibekwe peibekwe commented Jun 1, 2026

Motivation and Context

Promote Workflows Declarative packages to stable versions

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.

@peibekwe peibekwe self-assigned this Jun 1, 2026
Copilot AI review requested due to automatic review settings June 1, 2026 23:46
@moonbox3 moonbox3 added .NET workflows Related to Workflows in agent-framework labels Jun 1, 2026
@github-actions github-actions Bot changed the title Promote Workflows.Declarative packages to stable versions .NET: Promote Workflows.Declarative packages to stable versions Jun 1, 2026
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated Code Review

Reviewers: 4 | Confidence: 93% | Result: All clear

Reviewed: Correctness, Security Reliability, Test Coverage, Design Approach


Automated review by peibekwe's agents

Copy link
Copy Markdown
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

Promotes the .NET Workflows.Declarative NuGet packages toward stable (GA) release behavior by switching release markers in the project files, while keeping the Foundry-specific declarative package in preview due to its dependency chain.

Changes:

  • Mark Microsoft.Agents.AI.Workflows.Declarative and .Declarative.Mcp as released (<IsReleased>true</IsReleased>).
  • Add/retain package validation suppression settings intended for “first release” scenarios.
  • Keep Microsoft.Agents.AI.Workflows.Declarative.Foundry in preview (removes RC flag and leaves it non-released, with an explanatory comment).

Reviewed changes

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

File Description
dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Microsoft.Agents.AI.Workflows.Declarative.csproj Switches package to GA via IsReleased and adds package validation override block.
dotnet/src/Microsoft.Agents.AI.Workflows.Declarative.Mcp/Microsoft.Agents.AI.Workflows.Declarative.Mcp.csproj Switches package to GA via IsReleased (with existing validation-disable behavior).
dotnet/src/Microsoft.Agents.AI.Workflows.Declarative.Foundry/Microsoft.Agents.AI.Workflows.Declarative.Foundry.csproj Removes RC flag and documents why the package remains preview (Foundry dependency).

…ages

Both Workflows.Declarative and Workflows.Declarative.Mcp set IsReleased=true

but were disabling package validation, bypassing the repo's GA convention

(see dotnet/nuget/nuget-package.props which auto-enables validation when

IsReleased=true).

Re-enable validation by removing the local EnablePackageValidation=false

overrides and pointing PackageValidationBaselineVersion at 1.8.0-rc1 (the

latest published version of each package). This catches accidental breaking

changes between RC and the first GA. Future GAs should bump the baseline to

the previous GA version.

Verified locally: dotnet build -c Release on both projects runs

RunPackageValidation -> APICompat ran successfully without finding any

breaking changes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@peibekwe peibekwe marked this pull request as ready for review June 2, 2026 02:26
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated Code Review

Reviewers: 4 | Confidence: 93% | Result: All clear

Reviewed: Correctness, Security Reliability, Test Coverage, Design Approach


Automated review by peibekwe's agents

@peibekwe peibekwe added this pull request to the merge queue Jun 2, 2026
Merged via the queue into main with commit 6de4c24 Jun 2, 2026
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

.NET workflows Related to Workflows in agent-framework

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants