Files
David ReissandYichao Yang 60dd7fa065 Fix schedule workflow to CAN after signals (#5799)
## What changed and why?
If a schedule was paused and received a large number of signals
(trigger, backfill, etc.), it wouldn't be able to continue-as-new and
history size could grow past the suggested limit.

For various reasons the main loop receives and processes signals across
iterations, with checking for CAN in between, so a wakeup due to a
signal (instead of a timer) would prevent CAN. Refactoring is hard due
to the determinism requirement, so the simplest fix is to do a second
check.

## How did you test it?
New unit test
2024-04-26 14:03:36 -07:00
..
2023-09-11 11:15:23 -07:00