You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Queue semantics: TestQueue::fail_job and fail_job_dependencies diverge from documented behaviour #59
TestQueue::fail_job contradicts the DatabaseQueue trait. The trait documents fail_job as a terminal Failed; TestQueue instead retries the job or marks it dead. Code tested against TestQueue therefore sees different behaviour than on PostgreSQL/MySQL. The statistics scenario in the generic queue API tests currently skips TestQueue because of this. About 20 existing TestQueue tests rely on the current behaviour.
PostgreSQL/MySQL fail_job_dependencies ignores the workflow failure policy, although its doc comment says it follows it (fail_fast / continue_on_failure / manual).
Fix both so that all three backends behave identically and as documented, with tests that are generic over DatabaseQueue (running on TestQueue, PostgreSQL and MySQL).
Activity
fix(queue): apply workflow failure policies and terminal fail_job on …