Skip to content

[Bug] Using getVersion break determinism #613

@cv65kr

Description

@cv65kr

What are you really trying to do?

Use versioning of workflows

Describe the bug

Using

$version = Workflow::getVersion('test', -1, 1);

end up with

[TMPRL1100] No cached result found for side effectID=1. KnownSideEffects=[]

Minimal Reproduction

https://github.com/cv65kr/samples-php/tree/test-version
php ./app/app.php replay-activity-retry

Environment/Versions

rr version 2025.1.1 (build time: 2025-05-01T14:16:50+0000, go1.24.2), OS: darwin, arch: arm64
temporal/sdk 2.14.1

Additional context

--

Metadata

Metadata

Assignees

Labels

QuestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions