Repository navigation
v3.34.7
·
8 commits
to release/3.34.x
since this release
task-write & queue correctness
- #1900 --
fix: close a Task Update race where a concurrent in-progress update could rewrite a just-completed task back to SCHEDULED and re-queue it after its workflow ended. Thanks @v1r3n. - #1885 --
fix: a rerun now saves the task it re-runs after queueing it. Thanks @v1r3n. - #1772 --
fix(queue): start the unack lease when a message is taken (mysql/postgres/sqlite). Thanks @grafke. - #1902 --
perf(sqlite): a waiting poll wakes the moment a message is pushed; write transactions begin IMMEDIATE. Thanks @v1r3n. - #1903 --
test(sqlite): repro guards for the IMMEDIATE write-transaction behavior. Thanks @mp-orkes.
Upgrade note: #1900 adds updateTaskIfNotTerminal as a default method on ExecutionDAO; existing persistence implementations compile unchanged.
Behavior note: a task update that loses a race to a concurrent update which finishes the task is now ignored (previously it could re-open the finished task). The call still succeeds and returns the task's stored terminal state.
Full Changelog: v3.34.6...v3.34.7