iwf icon indicating copy to clipboard operation
iwf copied to clipboard

Replace firingUnixTimestampSeconds with duration field

Open longquanzheng opened this issue 1 year ago • 1 comments

  1. more accurate to use relative time
  2. easier for unit test
  3. cleaner and easier to read the history events

longquanzheng avatar Feb 27 '24 17:02 longquanzheng

https://github.com/indeedeng/iwf/pull/388 NOTE: This will need more work than this PR due to continueAsNew -- the duration value cannot be used in next run, because after continueAsNew, the workflow.now() has changed. We have to also write down the start time, or convert it to firingUnixTimestamp when the timer started, in order to pass to next run

longquanzheng avatar May 20 '24 17:05 longquanzheng

https://github.com/indeedeng/iwf/pull/393

longquanzheng avatar May 30 '24 21:05 longquanzheng