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
Everything is OK—the changes have been pushed to branch dotnet-code-compaction-equality-20260915223009-f396d162ede52596. Please review the changes, including any protected files, before creating the pull request.
Extracts unexported per-content comparison helpers from agent/compaction/equality.go. This keeps the existing compaction equality behavior while making the Go implementation structurally closer to .NET's ChatMessageContentEquality helper layout for future ports.
.NET Reference
dotnet/src/Microsoft.Agents.AI/Compaction/ChatMessageContentEquality.cs - defines per-content comparison helpers used by compaction message matching.
Public API and Behavior
No public Go API changed. No intentional behavior change was made.
Tests
go test ./agent/compaction
Notes
Rejected candidates:
dotnet/src/Microsoft.Agents.AI.Abstractions/AgentResponse.cs / AgentResponseUpdate.cs - comparable Go response assembly already had aligned behavior; changing update metadata handling would risk observable behavior changes.
dotnet/src/Microsoft.Agents.AI.Workflows/MessageMerger.cs - comparable Go workflow merging internals were close, but usage/raw representation parity questions were behavior-affecting rather than safe cleanup.
dotnet/src/Microsoft.Agents.AI/Skills/* - inspected as a sampled area from the upstream directory listing, but no safer small cleanup was found before the compaction equality candidate.
The direct upstream git fetch was blocked by the environment, so the .NET reference was inspected through the read-only GitHub bridge after checking local refs.
Note
GitHub Actions is not permitted to create or approve pull requests in this repository.
The changes have been pushed to branch dotnet-code-compaction-equality-20260915223009-f396d162ede52596 and are ready to review.
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
Tip
Your pull request is ready to create! 🎉 ✅
Everything is OK—the changes have been pushed to branch
dotnet-code-compaction-equality-20260915223009-f396d162ede52596. Please review the changes, including any protected files, before creating the pull request.Create the pull request
The original pull request description is below.
Summary
Extracts unexported per-content comparison helpers from
agent/compaction/equality.go. This keeps the existing compaction equality behavior while making the Go implementation structurally closer to .NET'sChatMessageContentEqualityhelper layout for future ports..NET Reference
dotnet/src/Microsoft.Agents.AI/Compaction/ChatMessageContentEquality.cs- defines per-content comparison helpers used by compaction message matching.Public API and Behavior
No public Go API changed. No intentional behavior change was made.
Tests
go test ./agent/compactionNotes
Rejected candidates:
dotnet/src/Microsoft.Agents.AI.Abstractions/AgentResponse.cs/AgentResponseUpdate.cs- comparable Go response assembly already had aligned behavior; changing update metadata handling would risk observable behavior changes.dotnet/src/Microsoft.Agents.AI.Workflows/MessageMerger.cs- comparable Go workflow merging internals were close, but usage/raw representation parity questions were behavior-affecting rather than safe cleanup.dotnet/src/Microsoft.Agents.AI/Skills/*- inspected as a sampled area from the upstream directory listing, but no safer small cleanup was found before the compaction equality candidate.The direct upstream
git fetchwas blocked by the environment, so the .NET reference was inspected through the read-only GitHub bridge after checking local refs.Note
GitHub Actions is not permitted to create or approve pull requests in this repository.
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 (37 of 104 lines)
Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
github.comTo allow these domains, add them to the
network.allowedlist in your workflow frontmatter:See Network Configuration for more information.