Skip to content

.NET: [Bug]: The parent parameters of the methods RetrieveIndexAsync and CreateCheckpointAsync in the ICheckpointStore interface are always null. #3796

Description

@helloxubo

Description

When using the InProcessExecution.ResumeStreamAsync method to resume the workflow, the checkpoint lacks the 'parent' field.

Code Sample

csharp
 await using Checkpointed<StreamingRun> newCheckpointedRun =
     await InProcessExecution.ResumeStreamAsync(newWorkflow, savedCheckpoint!, checkpointManager);

 await foreach (WorkflowEvent evt in newCheckpointedRun.Run.WatchStreamAsync())
 {
     if (evt is ExecutorCompletedEvent executorCompletedEvt)
     {
         Console.WriteLine($"* Executor {executorCompletedEvt.ExecutorId} completed.");
     }

     if (evt is WorkflowOutputEvent workflowOutputEvt)
     {
         Console.WriteLine($"Workflow completed with result: {workflowOutputEvt.Data}");
     }
 }

Error Messages / Stack Traces

Package Versions

Microsoft.Agents.AI.Workflows

.NET Version

.net 10.0

Additional Context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

.NETUsage: [Issues, PRs], Target: .NetbugUsage: [Issues], Target: all issues (Legacy, prefer issue type: bug)workflowsUsage: [Issues, PRs], Target: Workflows

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions