When a task is expired retrying it does not work - the expire time remains in the past.
So the question is should this work and what about the deadline? We have a few options
- Calculate the delta between create and expire and set a new expire matching that delta
- Accept a new deadline
- Fail as unretryable
We should probably support the first 2 options