Skip to content

[Feature]: per context replay status #389

@zhongkechen

Description

@zhongkechen

What would you like?

I would like to have accurate per-context replay status

Currently the replay status is global, which means it's inaccurate when there are multiple branches running concurrently. When one branch exits REPLAY mode, the whole execution will be in EXECUTION mode although some other branches are still replaying existing operations. This leads to inaccurate logging behavior as well as a blocker to correct plugin behavior (blocking #370 #386 )

Possible Implementation

Implementation in JS for reference:

https://github.com/aws/aws-durable-execution-sdk-js/blob/5f951b1bae4a83c24a8d40a024d0a1b5346677fb/packages/aws-durable-execution-sdk-js/src/context/durable-context/durable-context.ts#L231-L239

Is this a breaking change?

No

Does this require an RFC?

No

Additional Context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions