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
Refactored the message workflow Configure route registration so each incoming route delegates to a small unexported helper for accumulating messages or taking a turn. This keeps the registration shape closer to the .NET workflow router separation while preserving the existing accepted message types and turn-token behavior.
No public Go API changed. No intentional behavior change was made.
Tests
go test ./message/messageworkflow
Notes
Rejected candidates from the random sample:
dotnet/src/Microsoft.Agents.AI/Harness/FileStore/FileLineEdit.cs - no close Go file-store editing counterpart in the current sampled Go areas, so a portability cleanup would have been speculative.
dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/IdGenerator.cs - no corresponding Go ID generator was found in the sampled repository paths.
dotnet/src/Microsoft.Agents.AI/Harness/FileMemory/FileMemoryProvider.cs - the nearby Go Foundry memory provider is a different provider surface; changing it based on the file-memory reference risked unrelated behavior churn.
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/messageworkflow-route-helpers-30670671754-257c6cc1164bb57e.
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
Refactored the message workflow
Configureroute registration so each incoming route delegates to a small unexported helper for accumulating messages or taking a turn. This keeps the registration shape closer to the .NET workflow router separation while preserving the existing accepted message types and turn-token behavior..NET Reference
dotnet/src/Microsoft.Agents.AI.Workflows/IMessageRouter.cs- internal workflow router interface separates route capability from message dispatch.Public API and Behavior
No public Go API changed. No intentional behavior change was made.
Tests
go test ./message/messageworkflowNotes
Rejected candidates from the random sample:
dotnet/src/Microsoft.Agents.AI/Harness/FileStore/FileLineEdit.cs- no close Go file-store editing counterpart in the current sampled Go areas, so a portability cleanup would have been speculative.dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/IdGenerator.cs- no corresponding Go ID generator was found in the sampled repository paths.dotnet/src/Microsoft.Agents.AI/Harness/FileMemory/FileMemoryProvider.cs- the nearby Go Foundry memory provider is a different provider surface; changing it based on the file-memory reference risked unrelated behavior churn.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/messageworkflow-route-helpers-30670671754-257c6cc1164bb57e.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 (124 of 124 lines)