Skip to content

Commit

Permalink
Update workflow check with new function added in the SDK (#1403)
Browse files Browse the repository at this point in the history
  • Loading branch information
Quinn-With-Two-Ns authored Feb 29, 2024
1 parent 34ef0a7 commit d9a574d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions contrib/tools/workflowcheck/workflow/checker.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,15 @@ var DefaultIdentRefs = determinism.DefaultIdentRefs.Clone().SetAll(determinism.I
// Reported as non-deterministic because it iterates over a map, so mark
// deterministic explicitly
"(*go.temporal.io/sdk/internal.cancelCtx).cancel": false,
// Reported as non-deterministic because it iterates over a map, just takes
// the size of the map, so mark deterministic explicitly
"(go.temporal.io/sdk/internal.SearchAttributes).Size": false,
// Reported as non-deterministic because it iterates over a map, result is sorted
// so mark deterministic explicitly
"go.temporal.io/sdk/internal.DeterministicKeys": false,
// Reported as non-deterministic because it iterates over a map, result is sorted
// so mark deterministic explicitly
"go.temporal.io/sdk/internal.DeterministicKeysFunc": false,
})

// Config is config for NewChecker.
Expand Down

0 comments on commit d9a574d

Please sign in to comment.