Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/celery/celery
/ functions
Functions
9,499 in github.com/celery/celery
⨍
Functions
9,499
◇
Types & classes
1,126
↳
Endpoints
406
Method
test_on_chord_part_return__restore_error_preserves_claim
Test that a GroupResult.restore() error after claim acquisition preserves the claim. When GroupResult.restore() or join() fails after claim a
t/unit/backends/test_redis.py:2846
Method
test_on_chord_part_return__same_task_id_at_two_indexes
(self, ordered)
t/unit/backends/test_redis.py:2733
Method
test_on_chord_part_return__same_task_id_at_two_indexes
(self)
t/unit/backends/test_redis.py:3090
Method
test_on_chord_part_return__success
(self)
t/unit/backends/test_redis.py:2506
Method
test_on_chord_part_return__success__ordered
(self)
t/unit/backends/test_redis.py:2524
Method
test_on_chord_part_return__success__unordered
(self)
t/unit/backends/test_redis.py:2513
Method
test_on_chord_part_return__unordered
(self)
t/unit/backends/test_redis.py:2317
Method
test_on_chord_part_return_callback_exception
Test on_chord_part_return when callback.delay raises exception (line 302).
t/unit/backends/test_gcs.py:584
Method
test_on_chord_part_return_expire_set_to_zero
(self)
t/unit/backends/test_redis.py:2387
Method
test_on_chord_part_return_join_exception
Test on_chord_part_return when join_native raises exception.
t/unit/backends/test_gcs.py:531
Method
test_on_chord_part_return_no_expiry
(self)
t/unit/backends/test_redis.py:2357
Method
test_on_chord_part_return_no_expiry__ordered
(self)
t/unit/backends/test_redis.py:2466
Method
test_on_chord_part_return_no_expiry__unordered
(self)
t/unit/backends/test_redis.py:2426
Method
test_on_chord_part_return_no_gid_or_tid
(self)
t/unit/backends/test_redis.py:1991
Method
test_on_chord_part_return_resets_header_results
(self, restore)
t/unit/backends/test_cache.py:149
Method
test_on_chord_part_return_retries_only_the_body_publish
(self, ordered)
t/unit/backends/test_redis.py:2536
Method
test_on_chord_part_return_timeout
(self, complex_header_result)
t/unit/backends/test_redis.py:3440
Method
test_on_chord_part_return_uses_chord_expires
( self, result_expires, group_expires)
t/unit/backends/test_redis.py:2294
Method
test_on_close
(self)
t/unit/concurrency/test_prefork.py:1452
Method
test_on_close__pool_not_running
(self)
t/unit/concurrency/test_prefork.py:1459
Method
test_on_close_cancels_pending_timer_entry_for_scheduled_requests
The ETA timer entry must be cancelled too, otherwise the stale callback can still fire on transports whose loop doesn't clear the time
t/unit/worker/test_consumer.py:781
Method
test_on_close_clears_semaphore_and_reqs
(self)
t/unit/worker/test_consumer.py:740
Method
test_on_close_keeps_running_task_that_is_also_scheduled
A request can be in both sets: with a threaded timer an ETA already in the past fires straight away, so the request can be reserved/ac
t/unit/worker/test_consumer.py:814
Method
test_on_close_logs_and_continues_if_timer_cancel_raises
A failing cancellation must not abort the rest of the cleanup.
t/unit/worker/test_consumer.py:802
Method
test_on_close_purges_orphan_reservations_from_requests_dict
A Request reserved but never accepted must be dropped from ``state.requests`` (regression for the broken loop in PR #7771, which compa
t/unit/worker/test_consumer.py:753
Method
test_on_close_purges_scheduled_requests_from_requests_dict
Scheduled (ETA/countdown) Requests never reach ``reserved_requests``, so they need their own cleanup or they leak in ``state.requests`
t/unit/worker/test_consumer.py:767
Method
test_on_connection_error
(self, logger)
t/unit/backends/test_redis.py:1837
Method
test_on_connection_error_skip_resets_prior_reduced_state
Skip path must clear state left over by an earlier legacy reduction. Edge case raised in PR review: if a previous reconnect took the
t/unit/worker/test_consumer.py:258
Method
test_on_consumer_ready
(self)
t/unit/worker/test_worker.py:741
Method
test_on_decode_error
(self, crit)
t/unit/worker/test_worker.py:250
Method
test_on_elect
(self)
t/unit/worker/test_consumer.py:2108
Method
test_on_elect_ack_lose
(self)
t/unit/worker/test_consumer.py:2169
Method
test_on_elect_ack_win
(self)
t/unit/worker/test_consumer.py:2161
Method
test_on_elect_ack_win_but_no_action
(self)
t/unit/worker/test_consumer.py:2177
Function
test_on_event_non_task
()
t/unit/events/test_dumper.py:57
Function
test_on_event_task_received
()
t/unit/events/test_dumper.py:38
Method
test_on_failure
(self)
t/unit/worker/test_request.py:2166
Method
test_on_failure_Ignore_acknowledges
(self)
t/unit/worker/test_request.py:346
Method
test_on_failure_Reject_marks_as_failure
(self)
t/unit/worker/test_request.py:371
Method
test_on_failure_Reject_marks_as_failure_when_already_acked
(self)
t/unit/worker/test_request.py:424
Method
test_on_failure_Reject_rejects
(self)
t/unit/worker/test_request.py:357
Method
test_on_failure_Reject_rejects_with_requeue
(self)
t/unit/worker/test_request.py:440
Method
test_on_failure_Reject_respects_send_failed_event
(self)
t/unit/worker/test_request.py:406
Method
test_on_failure_SystemExit_cancelled_request_stays_unacked
(self)
t/unit/worker/test_request.py:1407
Method
test_on_failure_SystemExit_from_task_itself_reject_on_worker_lost
(self)
t/unit/worker/test_request.py:1459
Method
test_on_failure_SystemExit_revoked_request_stays_unacked
(self)
t/unit/worker/test_request.py:1424
Method
test_on_failure_Terminated
(self)
t/unit/worker/test_request.py:321
Method
test_on_failure_TimeLimitExceeded_acks
(self)
t/unit/worker/test_request.py:683
Method
test_on_failure_TimeLimitExceeded_rejects_with_requeue
(self)
t/unit/worker/test_request.py:706
Method
test_on_failure_WorkerLostError
(self)
t/unit/worker/test_request.py:1228
Method
test_on_failure_WorkerLostError_after_success_skips_retry_on_worker_lost
(self)
t/unit/worker/test_request.py:1298
Method
test_on_failure_WorkerLostError_after_success_was_stored
(self)
t/unit/worker/test_request.py:1248
Method
test_on_failure_WorkerLostError_after_success_was_stored_acks_late
(self)
t/unit/worker/test_request.py:1267
Method
test_on_failure_WorkerLostError_backend_unavailable
(self)
t/unit/worker/test_request.py:1362
Method
test_on_failure_WorkerLostError_redelivered_None
(self)
t/unit/worker/test_request.py:614
Method
test_on_failure_WorkerLostError_redelivered_True
(self)
t/unit/worker/test_request.py:632
Method
test_on_failure_WorkerLostError_rejects_with_requeue
(self)
t/unit/worker/test_request.py:461
Method
test_on_failure_WorkerLostError_retry_on_worker_lost
(self)
t/unit/worker/test_request.py:494
Method
test_on_failure_WorkerLostError_retry_on_worker_lost_exhausted
(self)
t/unit/worker/test_request.py:533
Method
test_on_failure_WorkerLostError_retry_on_worker_lost_ignore_result
( self, ignored_by)
t/unit/worker/test_request.py:582
Method
test_on_failure_WorkerLostError_retry_on_worker_lost_no_acks_late
(self)
t/unit/worker/test_request.py:570
Method
test_on_failure_WorkerLostError_retry_on_worker_lost_options
(self)
t/unit/worker/test_request.py:521
Method
test_on_failure_WorkerLostError_retry_on_worker_lost_send_fails
(self)
t/unit/worker/test_request.py:545
Method
test_on_failure_WorkerLostError_retry_on_worker_lost_send_fails_no_reject
(self)
t/unit/worker/test_request.py:558
Method
test_on_failure_WorkerLostError_retry_on_worker_lost_store_errors_even_if_ignored
(self)
t/unit/worker/test_request.py:605
Method
test_on_failure_WorkerLostError_skips_lookup_for_rpc_backend
(self)
t/unit/worker/test_request.py:1329
Method
test_on_failure_WorkerLostError_skips_lookup_when_ignore_result
(self)
t/unit/worker/test_request.py:1344
Method
test_on_failure__WorkerLostError
(self)
t/unit/worker/test_request.py:2176
Method
test_on_failure__return_ok
(self)
t/unit/worker/test_request.py:2183
Method
test_on_failure__unicode_exception
(self)
t/unit/worker/test_request.py:2169
Method
test_on_failure__utf8_exception
(self)
t/unit/worker/test_request.py:2172
Method
test_on_failure_acks_late
(self)
t/unit/worker/test_request.py:1396
Method
test_on_failure_acks_late_reject_on_worker_lost_enabled
(self)
t/unit/worker/test_request.py:1376
Method
test_on_failure_acks_on_failure_false_rejects
acks_on_failure=False should reject (not requeue) on regular failure.
t/unit/worker/test_request.py:1553
Method
test_on_failure_acks_on_failure_or_timeout_disabled
(self)
t/unit/worker/test_request.py:1507
Method
test_on_failure_acks_on_failure_or_timeout_disabled_for_task
(self)
t/unit/worker/test_request.py:1475
Method
test_on_failure_acks_on_failure_or_timeout_enabled
(self)
t/unit/worker/test_request.py:1525
Method
test_on_failure_acks_on_failure_or_timeout_enabled_for_task
(self)
t/unit/worker/test_request.py:1493
Method
test_on_failure_acks_on_failure_true_independent_of_timeout
acks_on_failure=True should ack on regular failure regardless of acks_on_timeout.
t/unit/worker/test_request.py:1539
Method
test_on_failure_backward_compat_old_combined_flag
When only old combined flag is set, bind() resolves new flags from it.
t/unit/worker/test_request.py:1620
Method
test_on_failure_exit_from_task_itself_is_worker_lost
(self, exc, status)
t/unit/worker/test_request.py:1444
Method
test_on_failure_mixed_acks_on_failure_true_timeout_false
Main use case: ack failures (dead letter) but requeue timeouts.
t/unit/worker/test_request.py:1589
Method
test_on_failure_propagates_MemoryError
(self)
t/unit/worker/test_request.py:335
Method
test_on_failure_reads_the_backend_only_when_the_worker_is_lost
(self)
t/unit/worker/test_request.py:2361
Function
test_on_failure_returns_fast_with_unreachable_backend
Integration test: a real backend connection failure should not block on_failure() indefinitely. With the bounded retry, it should fail fast
t/integration/test_request_backend_down.py:27
Method
test_on_failure_should_terminate
(self)
t/unit/worker/test_request.py:1671
Method
test_on_failure_task_cancelled
(self)
t/unit/worker/test_request.py:1655
Method
test_on_failure_timelimit_uses_acks_on_timeout_not_failure
TimeLimitExceeded in on_failure should use acks_on_timeout, not acks_on_failure.
t/unit/worker/test_request.py:1570
Method
test_on_hard_timeout_acks_late
(self, patching)
t/unit/worker/test_request.py:1697
Method
test_on_hard_timeout_acks_on_failure_or_timeout
(self, patching)
t/unit/worker/test_request.py:1714
Method
test_on_hard_timeout_acks_on_timeout_false_requeues
on_timeout with acks_on_timeout=False should reject with requeue.
t/unit/worker/test_request.py:1764
Method
test_on_hard_timeout_acks_on_timeout_true
on_timeout with acks_on_timeout=True should acknowledge regardless of acks_on_failure.
t/unit/worker/test_request.py:1749
Method
test_on_hard_timeout_calls_after_return
Hard timeout must invoke task.after_return when overridden.
t/unit/worker/test_request.py:1855
Method
test_on_hard_timeout_calls_task_on_failure
Hard timeout must invoke task.on_failure so user hooks fire.
t/unit/worker/test_request.py:1810
Method
test_on_hard_timeout_clears_synthetic_traceback
exc.__traceback__ must be None after on_timeout returns (memory leak fix #8882). The synthetic traceback created to build ExceptionInfo captu
t/unit/worker/test_request.py:1882
Method
test_on_hard_timeout_sends_task_failed_event
Hard timeout must emit a task-failed monitoring event.
t/unit/worker/test_request.py:1841
Method
test_on_hard_timeout_sends_task_failure_signal
Hard timeout must send the task_failure signal.
t/unit/worker/test_request.py:1824
Method
test_on_import_modules
(self)
t/unit/fixups/test_django.py:48
Method
test_on_import_modules_fixup_with_proxy_app
(self)
t/unit/fixups/test_django.py:314
Method
test_on_import_modules_only_for_own_app
(self)
t/unit/fixups/test_django.py:300
← previous
next →
7,501–7,600 of 9,499, ranked by callers