You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- Describe what has changed in this PR -->
**What changed?**
The golang.org/x/exp module was updated to use the same function
signature as Go 1.21's upcoming slices.SortFunc function. This changed
the return value from a bool (less than) to an int (compare to). Update
Temporal to the latest version and fix the uses.
<!-- Tell your future self why have you made these changes -->
**Why?**
For more details about the upstream change, see the following issue and
commit:
- golang/go#61374
-
https://cs.opensource.google/go/x/exp/+/302865e7556b4ae5de27248ce625d443ef4ad3ed
<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
**How did you test it?**
I ran the tests locally on my machine.
<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
**Potential risks**
Worst case I may have switched the sort order somewhere accidentally.
<!-- Is this PR a hotfix candidate or require that a notification be
sent to the broader community? (Yes/No) -->
**Is hotfix candidate?**
No
---------
Co-authored-by: Yichao Yang <[email protected]>
0 commit comments