You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Centralized internal workflow edge-connection construction behind unexported helpers and routed the builder's direct, fan-out, and fan-in edge creation through them. This keeps Go's internal construction shape closer to the .NET EdgeConnection constructor pattern while preserving the existing exported struct and behavior.
.NET Reference
dotnet/src/Microsoft.Agents.AI.Workflows/Execution/EdgeConnection.cs - defines EdgeConnection as an ordered source/sink connection object constructed from source and sink ID lists.
Public API and Behavior
No public Go API changed. No intentional behavior change was made.
Tests
go test ./workflow
go test ./workflow/...
Notes
Rejected sampled candidates:
dotnet/src/Microsoft.Agents.AI.Workflows/Execution/MessageDelivery.cs - the nearest Go delivery mapping structure is already internal but differs in runtime shape; changing it would risk churn beyond a tiny cleanup.
dotnet/src/Microsoft.Agents.AI.Workflows/SuperStepEvent.cs - closer alignment would imply string/event surface changes, which could affect behavior or public API expectations.
dotnet/src/Microsoft.Agents.AI.Workflows/Execution/RunnerStateData.cs - Go runner state includes additional request-owner maps, so structural alignment was not a safe tiny refactor.
This was originally intended as a pull request, but GitHub Actions is not permitted to create or approve pull requests in this repository.
The changes have been pushed to branch dotnet-code-edge-connection-helpers-1e727db462061ccd.
To fix the permissions issue, go to Settings → Actions → General and enable Allow GitHub Actions to create and approve pull requests. See also: gh-aw FAQ
Summary
Centralized internal workflow edge-connection construction behind unexported helpers and routed the builder's direct, fan-out, and fan-in edge creation through them. This keeps Go's internal construction shape closer to the .NET
EdgeConnectionconstructor pattern while preserving the existing exported struct and behavior..NET Reference
dotnet/src/Microsoft.Agents.AI.Workflows/Execution/EdgeConnection.cs- definesEdgeConnectionas an ordered source/sink connection object constructed from source and sink ID lists.Public API and Behavior
No public Go API changed. No intentional behavior change was made.
Tests
go test ./workflowgo test ./workflow/...Notes
Rejected sampled candidates:
dotnet/src/Microsoft.Agents.AI.Workflows/Execution/MessageDelivery.cs- the nearest Go delivery mapping structure is already internal but differs in runtime shape; changing it would risk churn beyond a tiny cleanup.dotnet/src/Microsoft.Agents.AI.Workflows/SuperStepEvent.cs- closer alignment would imply string/event surface changes, which could affect behavior or public API expectations.dotnet/src/Microsoft.Agents.AI.Workflows/Execution/RunnerStateData.cs- Go runner state includes additional request-owner maps, so structural alignment was not a safe tiny refactor.Note
This was originally intended as a pull request, but GitHub Actions is not permitted to create or approve pull requests in this repository.
The changes have been pushed to branch
dotnet-code-edge-connection-helpers-1e727db462061ccd.Click here to create the pull request
To fix the permissions issue, go to Settings → Actions → General and enable Allow GitHub Actions to create and approve pull requests. See also: gh-aw FAQ
Show patch preview (79 of 79 lines)