Skip to content

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

@helloxubo

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

Metadata

Metadata

Assignees

Labels

.NETbugSomething isn't workingv1.0Features being tracked for the version 1.0 GAworkflowsRelated to Workflows in agent-framework

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions