Skip to content

.NET: [Bug]: FileSystemJsonCheckPointStore for Agent Workflow , RetrieveIndexAsync() returns all checkpoint entries instead of filtering by SessionId #5942

@Sachin-Nand

Description

@Sachin-Nand

Description

RetrieveIndexAsync(sessionId) appears to return all checkpoint entries from index.jsonl instead of filtering entries based on the provided sessionId.

only the checkpoint entries belonging to the filtered session should be returned but the method returns all entries from the index file.

Code Sample

var store_checkpoint = new FileSystemJsonCheckpointStore(dirinfo);
string sessionId= "some_sessionId"
List<CheckpointInfo> checkpoints = [.. await store_checkpoint.RetrieveIndexAsync(sessionId!)];

Error Messages / Stack Traces

Package Versions

Microsoft.Agents.AI.Workflows 1.0.0-rc1

.NET Version

No response

Additional Context

No response

Metadata

Metadata

Assignees

Labels

Type

No fields configured for Bug.

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions