Skip to content

.NET: [Bug]: The FileSystemJsonCheckpointStore did not save the "index.jsonl" file. #3169

@helloxubo

Description

@helloxubo

Description

Hello, when CheckpointManager uses FileSystemJsonCheckpointStore, the index.jsonl file will not be automatically saved.
In the CreateCheckpointAsync method, should we force a Flush operation after each write to the index?

Code Sample

const string CheckpointPath = "checkpoints";
        var checkpointManager = CheckpointManager.CreateJson(new FileSystemJsonCheckpointStore(new DirectoryInfo(CheckpointPath)));

Error Messages / Stack Traces

Package Versions

1.0.0

.NET Version

.Net 10

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

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions