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
Commit 0468583
Browse filesBrowse the repository at this point in the historyBrowse files
Bind both histories with process_handoffs= (pytest-obligation 0.20.0)
pytest-obligation 0.20.0 binds several worker histories directly, so the
contract no longer copies the chord onto a one-history contract, and
history=/gap= (deprecated there) are gone from it.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copy file name to clipboardExpand all lines: t/due_work/test_worker_contract.py
+18-25Lines changed: 18 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -149,31 +149,24 @@ def settled(task_id):
149
149
150
150
CONTRACT=worker_contract(
151
151
name='celery: the worker running a task',
152
-
history=SEND_MESSAGE,
153
-
gap=(
154
-
'once the link is published, a failure still runs the failure path: a child lost after the link, before '
155
-
'the store, records FAILURE for a task whose effect and link happened, and fires the error callback '
156
-
'beside the link (https://github.com/celery/celery/issues/10949); and a link the broker refuses records '
157
-
'FAILURE and acknowledges the message, so the link is never sent '
'once the link is published, a failure still runs the failure path: a child lost after the link, before '
156
+
'the store, records FAILURE for a task whose effect and link happened, and fires the error callback '
157
+
'beside the link (https://github.com/celery/celery/issues/10949); and a link the broker refuses records '
158
+
'FAILURE and acknowledges the message, so the link is never sent '
0 commit comments