Skip to content

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

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

.NETUsage: [Issues, PRs], Target: .NetbugUsage: [Issues], Target: all issues (Legacy, prefer issue type: bug)reproducedUsage: [Issues], Target: all issues that can be reproduced by the triage workflow

Type

No fields configured for Bug.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions