Skip to content

Conversation

@shawnhathaway
Copy link
Contributor

@shawnhathaway shawnhathaway commented Aug 11, 2020

What changed?

  • MutableState pendingActivityTimerHeartbeats map moves from map[int64]int64 to map[int64]time.Time; Methods/Interfaces exposing this change to time.Time as well.
  • make go-generate
  • Logging/Formatting Fixes

Why?
We should support time.Time natively where possible

How did you test it?
Unit tests; build kite integ tests

Potential risks
Exposing higher granularity time leading to possible race conditions.

@shawnhathaway shawnhathaway changed the title Timestamp Comparison Granularity Fixes Support time.Time in MutableState#ActivityWithTimerHeartbeat methods Aug 12, 2020
@shawnhathaway shawnhathaway marked this pull request as ready for review August 12, 2020 02:34
@shawnhathaway shawnhathaway merged commit 503f037 into temporalio:master Aug 13, 2020
@shawnhathaway shawnhathaway deleted the time_test branch August 13, 2020 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants