restatedev / sdk-typescript

Restate SDK for JavaScript/Typescript
MIT License
46 stars 8 forks source link

Fix replaying detection in logger.ts #411

Closed jackkleeman closed 1 month ago

jackkleeman commented 1 month ago

isReplaying isn't always accurate as it transitions at the next journal entry. What we care about is whether the next entry will replay (if not, we should log)

github-actions[bot] commented 1 month ago

Test Results

102 files  ±0  102 suites  ±0   22m 58s :stopwatch: +10s  84 tests ±0   84 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0  217 runs  ±0  217 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit 2c80c74b. ± Comparison against base commit 17502750.