Skip to content

[Bug] Unexpected "History is out of order" error during nondeterministic code change #855

@Sushisource

Description

@Sushisource

What are you really trying to do?

Describe the bug

User reported that a nondeterministic code change (adding a timer) they made triggered this error:

return Err(WFMachinesError::Fatal(format!(

However, that error should really only happen in the event we receive malformed history from server.

Specifically, their workflow looks like it runs a local activity first, then they added this timer (and seemingly, another invocation of the same local activity) between that and a normal activity.

Minimal Reproduction

Need more info from user. Workflow history + code sample would help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions