Skip to content

[dotnet-port-fixes] Add checkpoint identity workflow tests - #806

Merged
George Adams (gdams) merged 2 commits into
mainfrom
copilot/dotnet-port-fixes-checkpoint-identity-tests-331073bd80631d05
Aug 7, 2026
Merged

[dotnet-port-fixes] Add checkpoint identity workflow tests#806
George Adams (gdams) merged 2 commits into
mainfrom
copilot/dotnet-port-fixes-checkpoint-identity-tests-331073bd80631d05

Conversation

@michelle-clayton-work

Copy link
Copy Markdown
Contributor

Summary

Adds regression coverage for workflow-as-agent checkpoint resume when the inner hosted agents are reconstructed. The new Go tests lock in that resume succeeds when the hosted agent keeps a stable identity and fails when the hosted agent ID or configured name changes, matching the upstream .NET regression coverage from microsoft/agent-framework#7415 and commit 6a3d5352042959eb276dc52e1e7f69a6fe5e4e8a.

Ported .NET PRs

Breaking Changes

No.

Tests and Examples

  • go test ./workflow/agentworkflow -run 'TestNew_SerializedSession(ResumesHostedAgentCheckpointAcrossReconstruction|FailsAcrossReconstructionWithoutStableHostedAgentID|FailsAcrossReconstructionWhenHostedAgentNameChanges|ResumesFromCheckpoint|ResumesApprovalRequestFromCheckpoint)$'
  • Added workflow-agent checkpoint identity regression tests in workflow/agentworkflow/workflow_test.go

Notes

The Go runtime behavior was already aligned; this PR ports the upstream regression coverage so future changes do not break checkpoint compatibility for reconstructed hosted agents. No docs update was needed because the feature status did not change.

Generated by .NET to Go Fixes and Test Porting Agent · gpt54 · 218.9 AIC · ⌖ 13.2 AIC · ⊞ 24.2K ·

Closes #776

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Note

This error may be related to your runner configuration. You can now configure runners for Copilot code review separately from Copilot cloud agent by creating a copilot-code-review.yml file with your setup steps. Read the docs for details.

@github-actions github-actions Bot added the parity-approved Go API consistency review found no parity issues label Aug 7, 2026
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Parity Review: ✅ Approved

This PR adds regression test coverage to workflow/agentworkflow/workflow_test.go only — no exported Go APIs, types, or observable runtime behaviors were changed.

The new tests port upstream .NET regression coverage from microsoft/agent-framework#7415 for checkpoint-resume identity stability of hosted agents. The Go runtime behavior was already aligned; this PR locks it in with tests.

Scope: Test-only — no public API surface changed.
Cross-repo parity: ✅ Aligned with the upstream .NET regression tests this PR explicitly ports.
Labels: public-api-change not added (no exported API changes). parity-approved added.

Generated by Go API Consistency Review Agent for #806 · sonnet46 · 9.24 AIC · ⌖ 5.54 AIC · ⊞ 5.7K ·

@gdams
George Adams (gdams) added this pull request to the merge queue Aug 7, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Aug 7, 2026
@gdams

Copy link
Copy Markdown
Member

Copilot resolve the merge conflicts in this pull request

Co-authored-by: gdams <20224954+gdams@users.noreply.github.com>

Copilot AI commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Copilot resolve the merge conflicts in this pull request

Resolved the merge conflicts by merging latest main and keeping both the upstream workflow test helper and this PR’s checkpoint identity regression helpers. Addressed in commit 96dc744.

@gdams
George Adams (gdams) added this pull request to the merge queue Aug 7, 2026
Merged via the queue into main with commit 1e1b391 Aug 7, 2026
21 checks passed
@gdams
George Adams (gdams) deleted the copilot/dotnet-port-fixes-checkpoint-identity-tests-331073bd80631d05 branch August 7, 2026 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

parity-approved Go API consistency review found no parity issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[dotnet-port-fixes] Add checkpoint identity workflow tests

4 participants