Distributed Task Queue (development branch)
This report summarizes scanner evidence for celery/celery, a Python project with 28,939 GitHub stars. SynthScan examined 126,938 lines of code across 551 source files, recording 3458 pattern matches distributed across 22 syntactic categories. The legacy adjusted pattern signal is 32.8 (High pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 2855 finding(s).
Are imports declared and package/API names verified? 216 finding(s).
Are wrappers, guards, and repeated structures necessary? 3065 finding(s).
Which changes need focused human review? 3458 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 3458 distinct pattern matches across 22 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/conf.py | 90 | def configcheck_project_settings(): | CODE |
| LOW | docs/conf.py | 103 | def configcheck_should_ignore(setting): | CODE |
| LOW | docs/_ext/celerydocs.py | 127 | def maybe_resolve_abbreviations(app, env, node, contnode): | CODE |
| LOW | t/smoke/signals.py | 13 | def worker_process_init_handler(sender, **kwargs): | CODE |
| LOW | t/smoke/signals.py | 18 | def worker_process_shutdown_handler(sender, pid, exitcode, **kwargs): | CODE |
| LOW | t/smoke/tasks.py | 23 | def add_with_explicit_lazy_option(x, y): | CODE |
| LOW | t/smoke/tasks.py | 47 | def soft_time_limit_lower_than_time_limit(): | CODE |
| LOW | t/smoke/tasks.py | 52 | def soft_time_limit_must_exceed_time_limit(): | CODE |
| LOW⚡ | t/smoke/tasks.py | 70 | def self_termination_system_exit(): | CODE |
| LOW⚡ | t/smoke/tasks.py | 76 | def countdown_task_with_retry(self): | CODE |
| LOW⚡ | t/smoke/tasks.py | 84 | def non_eta_task_with_retries(self): | CODE |
| LOW | t/smoke/tasks.py | 98 | def self_termination_delay_timeout(): | CODE |
| LOW | t/smoke/tasks.py | 104 | def self_termination_exhaust_memory(): | CODE |
| LOW | t/smoke/tests/test_revoked_sync.py | 42 | def test_received_ids_are_stamped_locally(self, celery_setup: CeleryTestSetup): | CODE |
| LOW | t/smoke/tests/test_revoked_sync.py | 98 | def test_sync_with_another_version(self, celery_setup: CeleryTestSetup): | CODE |
| LOW | t/smoke/tests/test_redis_backend_reentrant.py | 155 | def test_results_collected_during_pubsub_calls(self, celery_setup: CeleryTestSetup, concurrency: str): | STRING |
| LOW | t/smoke/tests/test_gossip.py | 20 | def test_worker_event_across_timezones_causes_no_drift_warning( | CODE |
| LOW | t/smoke/tests/test_signals.py | 45 | def before_task_publish_handler(*args, **kwargs): | CODE |
| LOW | t/smoke/tests/test_signals.py | 57 | def after_task_publish_handler(*args, **kwargs): | CODE |
| LOW⚡ | t/smoke/tests/test_beat_remote_control.py | 41 | def test_answers_ping_like_a_worker( | CODE |
| LOW⚡ | t/smoke/tests/test_beat_remote_control.py | 48 | def test_coexists_with_a_worker_on_the_exchange( | CODE |
| LOW⚡ | t/smoke/tests/test_beat_remote_control.py | 57 | def test_ignores_worker_only_commands( | CODE |
| LOW⚡ | t/smoke/tests/test_beat_remote_control.py | 66 | def test_stops_replying_once_the_scheduler_stalls( | CODE |
| LOW | t/smoke/tests/test_rpc_backend.py | 23 | def default_rabbitmq_broker_image() -> str: | CODE |
| LOW | t/smoke/tests/test_rpc_backend.py | 28 | def default_rabbitmq_broker_ports() -> dict: | CODE |
| LOW | t/smoke/tests/test_rpc_backend.py | 85 | def test_repeated_final_polls_do_not_recirculate(self, celery_setup: CeleryTestSetup): | CODE |
| LOW | t/smoke/tests/test_task_queue_max_priority.py | 25 | def test_messages_are_delivered_in_priority_order( | CODE |
| LOW | t/smoke/tests/test_concurrency_auto.py | 69 | def default_worker_container_cls() -> type[CeleryWorkerContainer]: | CODE |
| LOW | t/smoke/tests/test_concurrency_auto.py | 74 | def default_worker_container_session_cls() -> type[CeleryWorkerContainer]: | CODE |
| LOW | t/smoke/tests/test_concurrency_auto.py | 109 | def test_pool_size_matches_cgroup_quota(self, celery_setup: CeleryTestSetup): | CODE |
| LOW | t/smoke/tests/test_concurrency_auto.py | 132 | def test_fractional_quota_rounds_up_to_one(self, celery_setup: CeleryTestSetup): | CODE |
| LOW | t/smoke/tests/test_concurrency_auto.py | 154 | def test_no_quota_falls_back_to_host_cpu_count(self, celery_setup: CeleryTestSetup): | CODE |
| LOW | t/smoke/tests/test_concurrency_auto.py | 181 | def test_cpuset_caps_pool_size(self, celery_setup: CeleryTestSetup): | CODE |
| LOW | t/smoke/tests/test_concurrency_auto.py | 200 | def test_threads_pool_ignores_quota(self, celery_setup: CeleryTestSetup): | CODE |
| LOW | t/smoke/tests/test_concurrency_auto.py | 238 | def test_default_ignores_cgroup_quota(self, celery_setup: CeleryTestSetup): | CODE |
| LOW | t/smoke/tests/test_concurrency_auto.py | 256 | def test_explicit_int_overrides_quota(self, celery_setup: CeleryTestSetup): | CODE |
| LOW | t/smoke/tests/test_control.py | 23 | def test_shutdown_exit_with_zero(self, celery_setup: CeleryTestSetup): | CODE |
| LOW | t/smoke/tests/test_control.py | 35 | def test_report_with_multiserver_result_backend(self, celery_setup: CeleryTestSetup): | CODE |
| LOW | t/smoke/tests/test_control.py | 74 | def test_add_then_cancel_consumer_preserves_order( | CODE |
| LOW | t/smoke/tests/test_control.py | 94 | def wait_until_pending_operations_are_drained() -> None: | CODE |
| LOW | t/smoke/tests/test_control.py | 124 | def test_chord_completes_when_reserved_member_is_revoked( | CODE |
| LOW | t/smoke/tests/test_canvas.py | 38 | def test_chain_gets_last_task_id_with_failing_tasks_in_chain(self, celery_setup: CeleryTestSetup): | CODE |
| LOW | t/smoke/tests/test_canvas.py | 56 | def test_upgrade_to_chord_inside_chains(self, celery_setup: CeleryTestSetup): | CODE |
| LOW | t/smoke/tests/test_canvas.py | 70 | def test_chain_of_implicit_chords_runs_each_step_once_in_order(self, celery_setup: CeleryTestSetup): | CODE |
| LOW | t/smoke/tests/test_canvas.py | 94 | def test_chain_skips_empty_group_on_worker(self, celery_setup: CeleryTestSetup): | CODE |
| LOW | t/smoke/tests/test_canvas.py | 179 | def test_chord_error_propagation_with_different_body_types( | CODE |
| LOW | t/smoke/tests/test_canvas.py | 220 | def test_pending_tasks_released_on_forget(self, celery_setup: CeleryTestSetup): | CODE |
| LOW | t/smoke/tests/test_memcached_backend.py | 42 | def test_too_large_result_is_not_silently_dropped(self, celery_setup: CeleryTestSetup): | CODE |
| LOW⚡ | t/smoke/tests/test_worker.py | 41 | def test_tasks_run_in_spawned_children(self, celery_setup: CeleryTestSetup): | CODE |
| LOW⚡ | t/smoke/tests/test_worker.py | 47 | def test_child_is_replaced_after_hard_time_limit(self, celery_setup: CeleryTestSetup): | CODE |
| LOW⚡ | t/smoke/tests/test_worker.py | 55 | def test_spawn_worker_executes_task_with_explicit_lazy_option(self, celery_setup: CeleryTestSetup): | CODE |
| LOW | t/smoke/tests/test_worker.py | 73 | def test_restart_during_task_execution( | CODE |
| LOW | t/smoke/tests/test_worker.py | 84 | def test_restart_between_task_execution( | CODE |
| LOW | t/smoke/tests/test_worker.py | 122 | def test_multiple_warm_shutdown_does_nothing(self, celery_setup: CeleryTestSetup): | CODE |
| LOW | t/smoke/tests/test_worker.py | 151 | def test_hard_shutdown_from_warm(self, celery_setup: CeleryTestSetup): | CODE |
| LOW | t/smoke/tests/test_worker.py | 167 | def test_hard_shutdown_from_cold(self, celery_setup: CeleryTestSetup): | CODE |
| LOW | t/smoke/tests/test_worker.py | 198 | def test_shutdown_with_long_running_tasks(self, celery_setup: CeleryTestSetup): | CODE |
| LOW | t/smoke/tests/test_worker.py | 235 | def test_hard_shutdown_from_cold(self, celery_setup: CeleryTestSetup): | CODE |
| LOW | t/smoke/tests/test_worker.py | 274 | def test_hard_shutdown_from_soft(self, celery_setup: CeleryTestSetup): | CODE |
| LOW | t/smoke/tests/test_worker.py | 289 | def test_task_completes_during_soft_shutdown(self, celery_setup: CeleryTestSetup): | CODE |
| 2567 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | docs/conf.py | 99 | except KeyError: | CODE |
| HIGH | docs/_ext/celerydocs.py | 93 | except AttributeError: | CODE |
| HIGH | docs/_ext/celerydocs.py | 75 | except KeyError: | CODE |
| HIGH | docs/_ext/celerydocs.py | 84 | except KeyError: | CODE |
| HIGH | t/unit/conftest.py | 312 | except ImportError: | CODE |
| HIGH | t/unit/conftest.py | 322 | except OSError: | CODE |
| HIGH | t/unit/conftest.py | 450 | except AttributeError: | CODE |
| HIGH | t/unit/conftest.py | 559 | except KeyError: | CODE |
| HIGH | t/unit/conftest.py | 358 | except ImportError: | CODE |
| HIGH | t/unit/conftest.py | 460 | except AttributeError: | CODE |
| HIGH | t/unit/conftest.py | 572 | except KeyError: | CODE |
| HIGH | t/unit/tasks/test_chord.py | 188 | except Retry: | CODE |
| HIGH | t/unit/tasks/test_tasks.py | 1880 | except Retry: | CODE |
| HIGH | t/unit/tasks/test_tasks.py | 481 | except AttributeError: | CODE |
| HIGH | t/unit/app/test_amqp.py | 31 | except AttributeError: | CODE |
| HIGH | t/unit/app/test_amqp.py | 49 | except AttributeError: | CODE |
| HIGH | t/unit/app/test_loaders.py | 184 | except ValueError: | CODE |
| HIGH | t/unit/app/test_beat.py | 117 | except TypeError: | CODE |
| HIGH | t/unit/security/test_security.py | 41 | except SerializerNotInstalled: | CODE |
| HIGH | t/unit/backends/test_asynchronous.py | 568 | except Exception: | CODE |
| HIGH | t/unit/utils/test_platforms.py | 99 | except OSError: | CODE |
| HIGH | t/unit/utils/test_platforms.py | 121 | except OSError: | CODE |
| HIGH | t/unit/utils/test_platforms.py | 544 | except AttributeError: | CODE |
| HIGH | t/unit/concurrency/test_eventlet.py | 33 | except KeyError: | CODE |
| HIGH | t/unit/concurrency/test_prefork.py | 98 | except OSError: | CODE |
| HIGH | t/unit/worker/test_native_delayed_delivery.py | 193 | except StopIteration: | CODE |
| HIGH | t/unit/worker/test_native_delayed_delivery.py | 216 | except ConnectionRefusedError: | CODE |
| HIGH | t/unit/worker/test_request.py | 1546 | except AttributeError: | CODE |
| HIGH | t/unit/worker/test_worker.py | 561 | except RuntimeError: | CODE |
| HIGH | t/unit/apps/test_multi.py | 442 | except AssertionError: | CODE |
| HIGH | t/integration/conftest.py | 96 | except OSError: | CODE |
| HIGH | t/integration/test_mem_leak_in_exception_handling.py | 113 | except Exception: | CODE |
| HIGH | t/integration/test_mem_leak_in_exception_handling.py | 136 | except Exception: | CODE |
| HIGH | t/integration/test_mem_leak_in_exception_handling.py | 189 | except Exception: | CODE |
| HIGH | t/integration/test_mem_leak_in_exception_handling.py | 230 | except Exception: | CODE |
| HIGH | t/integration/test_tasks.py | 40 | except RuntimeError: | CODE |
| HIGH | t/integration/test_connection_recovery.py | 174 | except Exception: | CODE |
| HIGH | t/benchmarks/bench_worker.py | 102 | except IndexError: | CODE |
| HIGH | celery/bootsteps.py | 183 | except IGNORE_ERRORS: | CODE |
| HIGH | celery/platforms.py | 111 | except AttributeError: | CODE |
| HIGH | celery/platforms.py | 554 | except Exception: # pylint: disable=broad-except | CODE |
| HIGH | celery/platforms.py | 749 | except (AttributeError, ValueError): | CODE |
| HIGH | celery/platforms.py | 782 | except OSError: | CODE |
| HIGH | celery/platforms.py | 236 | except AttributeError: # pragma: no cover | CODE |
| HIGH | celery/local.py | 338 | except AttributeError: | CODE |
| HIGH | celery/local.py | 333 | except AttributeError: # pragma: no cover | CODE |
| HIGH | celery/local.py | 348 | except AttributeError: # pragma: no cover | CODE |
| HIGH | celery/__init__.py | 135 | except KeyError: | CODE |
| HIGH | celery/__init__.py | 140 | except KeyError: | CODE |
| HIGH | celery/result.py | 635 | except KeyError: | CODE |
| HIGH | celery/result.py | 915 | except IndexError: | CODE |
| HIGH | celery/beat.py | 936 | except socket.timeout: | CODE |
| HIGH | celery/canvas.py | 2444 | except (AttributeError, KeyError): | CODE |
| HIGH | celery/canvas.py | 1414 | except (LookupError, AttributeError): | CODE |
| HIGH | celery/canvas.py | 2082 | except LookupError: | CODE |
| HIGH | celery/app/amqp.py | 534 | except AttributeError: | CODE |
| HIGH | celery/app/trace.py | 838 | except AttributeError: | CODE |
| HIGH | celery/app/trace.py | 842 | except KeyError: | CODE |
| HIGH | celery/app/trace.py | 338 | except RuntimeError: | CODE |
| HIGH | celery/app/trace.py | 517 | except BackendGetMetaError: | CODE |
| 113 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL⚡ | t/unit/tasks/test_canvas.py | 366 | x.type.app.control.election.assert_called() | CODE |
| CRITICAL | t/unit/app/test_app.py | 2000 | self.app.amqp.queues.select.assert_called_with({'foo', 'bar'}) | CODE |
| CRITICAL⚡ | t/unit/backends/test_redis.py | 223 | consumer.backend.client.connection_pool.reset.assert_called_once() | CODE |
| CRITICAL⚡ | t/unit/backends/test_redis.py | 229 | consumer.backend.client.connection_pool.reset.reset_mock() | CODE |
| CRITICAL⚡ | t/unit/backends/test_redis.py | 232 | consumer.backend.client.connection_pool.reset.assert_called_once() | CODE |
| CRITICAL⚡ | t/unit/backends/test_redis.py | 238 | consumer.backend.client.connection_pool.reset.reset_mock() | CODE |
| CRITICAL⚡ | t/unit/backends/test_redis.py | 2363 | self.b.client.pipeline.return_value.zadd().zcount().get().get().expire( | CODE |
| CRITICAL⚡ | t/unit/backends/test_redis.py | 2375 | self.b.client.pipeline.return_value.zadd().zcount().get().get().expire( | CODE |
| CRITICAL⚡ | t/unit/backends/test_redis.py | 2391 | self.b.client.pipeline.return_value.rpush().llen().get().get().expire( | CODE |
| CRITICAL⚡ | t/unit/backends/test_redis.py | 2407 | self.b.client.pipeline.return_value.zadd().zcount().get().get().expire( | CODE |
| CRITICAL | t/unit/backends/test_redis.py | 2331 | self.b.client.pipeline.return_value.zadd().zcount().get().get().expire( | CODE |
| CRITICAL | t/unit/backends/test_redis.py | 2347 | self.b.client.pipeline.return_value.rpush().llen().get().get().expire( | CODE |
| CRITICAL⚡ | t/unit/worker/test_loops.py | 750 | x.obj.event_dispatcher.connection.drain_events.assert_called_once() | CODE |
| CRITICAL⚡ | t/unit/worker/test_loops.py | 762 | x.obj.event_dispatcher.connection.drain_events.assert_not_called() | CODE |
| CRITICAL | t/unit/worker/test_loops.py | 706 | x.obj.event_dispatcher.connection.drain_events.assert_called_once_with(timeout=0.1) | CODE |
| CRITICAL | t/unit/worker/test_strategy.py | 319 | C.consumer.controller.state.revoked.add(task.id) | CODE |
| CRITICAL⚡ | t/unit/worker/test_worker.py | 759 | self.app.amqp.queues.select_add.assert_called_with( | CODE |
| CRITICAL | t/integration/test_canvas.py | 2211 | root_id, parent_id, value = res.parent.parent.parent.parent.get( | CODE |
| CRITICAL | celery/backends/azureblockblob.py | 13 | from azure.core.exceptions import ResourceExistsError, ResourceNotFoundError | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/changelog_formatter.py | 22 | print(f"Error: {filename} file not found.") | CODE |
| LOW | t/smoke/tests/test_tasks.py | 120 | except Exception as err: | CODE |
| LOW | …smoke/tests/quorum_queues/test_chord_unlock_routing.py | 62 | except Exception as exc: | CODE |
| LOW⚡ | t/unit/tasks/test_tasks.py | 112 | except Exception as exc: | CODE |
| LOW⚡ | t/unit/tasks/test_tasks.py | 125 | except Exception as exc: | CODE |
| LOW⚡ | t/unit/tasks/test_tasks.py | 186 | except Exception as exc: | CODE |
| LOW⚡ | t/unit/app/test_schedules.py | 877 | except Exception as exc: | CODE |
| LOW | t/unit/app/test_log.py | 137 | except Exception: | CODE |
| LOW | t/unit/app/test_trace.py | 32 | except Exception as e: | CODE |
| LOW⚡ | t/unit/app/test_trace.py | 92 | except Exception: | CODE |
| LOW⚡ | t/unit/app/test_trace.py | 109 | except Exception: | CODE |
| LOW⚡ | t/unit/app/test_trace.py | 132 | except Exception as exc: | CODE |
| LOW⚡ | t/unit/bin/test_control.py | 153 | except Exception as exc: | CODE |
| LOW | t/unit/backends/test_database.py | 394 | except Exception as exc: | CODE |
| LOW⚡ | t/unit/backends/test_elasticsearch.py | 904 | except Exception as exc: | CODE |
| LOW | t/unit/backends/test_elasticsearch.py | 857 | except Exception as exc: | CODE |
| LOW | t/unit/backends/test_base.py | 2028 | except Exception as exc: | CODE |
| LOW | t/unit/backends/test_base.py | 2091 | except Exception as exc: | CODE |
| LOW | t/unit/backends/test_base.py | 2122 | except Exception as exc: | CODE |
| MEDIUM | t/unit/backends/test_asynchronous.py | 563 | def teardown_thread(self, thread): | CODE |
| LOW | t/unit/backends/test_asynchronous.py | 568 | except Exception: | CODE |
| LOW | t/unit/utils/test_sysinfo.py | 13 | except Exception: | CODE |
| MEDIUM | t/unit/utils/test_collections.py | 275 | def test_exception_info(self): | CODE |
| LOW | t/unit/utils/test_collections.py | 279 | except Exception: | CODE |
| MEDIUM | t/unit/worker/test_request.py | 104 | def test_retry_semipredicate(self): | CODE |
| MEDIUM | t/unit/worker/test_request.py | 416 | def test_on_failure_WorkerLostError_rejects_with_requeue(self): | CODE |
| MEDIUM | t/unit/worker/test_request.py | 947 | def get_ei(): | CODE |
| LOW⚡ | t/unit/worker/test_request.py | 934 | except Exception: | CODE |
| LOW⚡ | t/unit/worker/test_request.py | 1572 | except Exception as exc: | CODE |
| LOW | t/unit/worker/test_request.py | 107 | except Exception as exc: | CODE |
| LOW | t/unit/worker/test_request.py | 1595 | except Exception as exc: | CODE |
| MEDIUM | t/unit/events/test_events.py | 367 | def send(): | CODE |
| MEDIUM | t/unit/events/test_events.py | 423 | def publish(): | CODE |
| LOW | t/unit/events/test_events.py | 373 | except Exception as exc: # pragma: no cover - asserted below | CODE |
| LOW | t/unit/events/test_events.py | 380 | except Exception as exc: # pragma: no cover - asserted below | CODE |
| LOW | t/unit/events/test_events.py | 426 | except Exception as exc: # pragma: no cover - asserted below | CODE |
| LOW | t/integration/conftest.py | 128 | except Exception as e: | CODE |
| MEDIUM | t/integration/test_canvas.py | 300 | def test_replace_with_chain_that_contains_a_group(self, manager): | CODE |
| LOW | t/integration/test_canvas.py | 3561 | except Exception as exc: | CODE |
| LOW | t/integration/test_canvas.py | 4096 | except Exception: | CODE |
| LOW | t/integration/test_mem_leak_in_exception_handling.py | 113 | except Exception: | CODE |
| LOW | t/integration/test_mem_leak_in_exception_handling.py | 125 | except Exception: | CODE |
| LOW | t/integration/test_mem_leak_in_exception_handling.py | 136 | except Exception: | CODE |
| LOW | t/integration/test_mem_leak_in_exception_handling.py | 189 | except Exception: | CODE |
| LOW | t/integration/test_mem_leak_in_exception_handling.py | 230 | except Exception: | CODE |
| LOW | t/integration/test_tasks.py | 518 | except Exception as exc: | CODE |
| LOW | t/integration/test_tasks.py | 797 | except Exception: | CODE |
| LOW | t/integration/test_tasks.py | 819 | except Exception: | CODE |
| LOW | t/integration/test_tasks.py | 844 | except Exception: | CODE |
| LOW | t/integration/test_redis_backend.py | 61 | except Exception as exc: | CODE |
| LOW | t/integration/test_redis_backend.py | 99 | except Exception as exc: | CODE |
| LOW | t/integration/test_redis_backend.py | 185 | except Exception as exc: | CODE |
| MEDIUM | t/integration/test_redis_backend.py | 58 | def collect(res): | CODE |
| MEDIUM | t/integration/test_redis_backend.py | 180 | def run(): | CODE |
| LOW | t/integration/test_connection_recovery.py | 174 | except Exception: | CODE |
| LOW | celery/bootsteps.py | 149 | except Exception as exc: # pylint: disable=broad-except | CODE |
| LOW | celery/platforms.py | 554 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | celery/local.py | 326 | except Exception: | CODE |
| MEDIUM | celery/local.py | 69 | def __name__(self): | CODE |
| LOW | celery/beat.py | 289 | except Exception as exc: # pylint: disable=broad-except | CODE |
| 128 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | t/smoke/conftest.py | 1 | CODE | |
| LOW | t/smoke/conftest.py | 18 | CODE | |
| LOW | t/smoke/conftest.py | 19 | CODE | |
| LOW | t/smoke/conftest.py | 20 | CODE | |
| LOW | t/smoke/conftest.py | 21 | CODE | |
| LOW | t/smoke/tasks.py | 3 | CODE | |
| LOW | t/smoke/tasks.py | 13 | CODE | |
| LOW | t/smoke/tests/test_revoked_sync.py | 8 | CODE | |
| LOW | t/smoke/tests/test_redis_backend_reentrant.py | 10 | CODE | |
| LOW | t/smoke/tests/test_gossip.py | 1 | CODE | |
| LOW | t/smoke/tests/test_beat_remote_control.py | 1 | CODE | |
| LOW | t/smoke/tests/test_rpc_backend.py | 11 | CODE | |
| LOW | t/smoke/tests/test_redis_backend_gevent.py | 9 | CODE | |
| LOW | t/smoke/tests/test_task_queue_max_priority.py | 1 | CODE | |
| LOW | t/smoke/tests/test_concurrency_auto.py | 11 | CODE | |
| LOW | t/smoke/tests/test_control.py | 1 | CODE | |
| LOW | t/smoke/tests/test_memcached_backend.py | 8 | CODE | |
| LOW | t/smoke/tests/test_chord_headers_exchange.py | 1 | CODE | |
| LOW | t/smoke/tests/test_task_queue_routing_key.py | 1 | CODE | |
| LOW | t/smoke/tests/test_tasks.py | 1 | CODE | |
| LOW | t/smoke/tests/test_worker_shutdown_acks.py | 12 | CODE | |
| LOW | t/smoke/tests/test_dedup_chain_dispatch.py | 10 | CODE | |
| LOW | t/smoke/tests/test_worker_heartbeats.py | 1 | CODE | |
| LOW | t/smoke/tests/test_beat_shutdown.py | 1 | CODE | |
| LOW | t/smoke/tests/test_thread_safe.py | 1 | CODE | |
| LOW | t/smoke/tests/test_task_queue_default_exchange.py | 1 | CODE | |
| LOW | t/smoke/tests/stamping/test_revoke.py | 1 | CODE | |
| LOW | t/smoke/tests/stamping/conftest.py | 4 | CODE | |
| LOW | t/smoke/tests/stamping/test_hybrid_cluster.py | 1 | CODE | |
| LOW | t/smoke/tests/stamping/test_visitor.py | 1 | CODE | |
| LOW | t/smoke/tests/quorum_queues/test_cycle_detection.py | 6 | CODE | |
| LOW | t/smoke/tests/quorum_queues/conftest.py | 1 | CODE | |
| LOW | …smoke/tests/quorum_queues/test_chord_unlock_routing.py | 8 | CODE | |
| LOW | …/quorum_queues/test_native_delayed_delivery_binding.py | 8 | CODE | |
| LOW | t/smoke/tests/quorum_queues/test_qos.py | 8 | CODE | |
| LOW | t/smoke/tests/quorum_queues/test_default_queue_type.py | 6 | CODE | |
| LOW | t/smoke/tests/failover/test_worker_failover.py | 1 | CODE | |
| LOW | t/smoke/operations/worker_kill.py | 1 | CODE | |
| LOW | t/smoke/operations/task_termination.py | 1 | CODE | |
| LOW | t/smoke/operations/worker_restart.py | 1 | CODE | |
| LOW | t/smoke/workers/alias.py | 8 | CODE | |
| LOW | t/smoke/workers/other.py | 1 | CODE | |
| LOW | t/smoke/workers/alt.py | 1 | CODE | |
| LOW | t/unit/conftest.py | 23 | CODE | |
| LOW | t/unit/conftest.py | 23 | CODE | |
| LOW | t/unit/conftest.py | 23 | CODE | |
| LOW | t/unit/bin/test_daemonization.py | 1 | CODE | |
| LOW | t/unit/bin/proj/app2.py | 1 | CODE | |
| LOW | t/unit/contrib/test_sphinx.py | 6 | CODE | |
| LOW | t/unit/contrib/test_worker.py | 7 | CODE | |
| LOW | t/unit/contrib/proj/foo.py | 1 | CODE | |
| LOW | t/integration/conftest.py | 9 | CODE | |
| LOW | examples/celery_http_gateway/urls.py | 2 | CODE | |
| LOW | examples/celery_http_gateway/urls.py | 2 | CODE | |
| LOW | examples/celery_http_gateway/urls.py | 2 | CODE | |
| LOW | examples/stamping/myapp.py | 34 | CODE | |
| LOW | examples/django/proj/__init__.py | 3 | CODE | |
| LOW | examples/django/proj/urls.py | 1 | CODE | |
| LOW | examples/django/proj/urls.py | 1 | CODE | |
| LOW | examples/django/proj/urls.py | 2 | CODE | |
| 114 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 64 | CODE | |
| LOW | t/smoke/tests/test_gossip.py | 20 | CODE | |
| LOW | t/smoke/tests/test_beat_shutdown.py | 19 | CODE | |
| LOW | t/unit/conftest.py | 335 | CODE | |
| LOW | t/unit/conftest.py | 546 | CODE | |
| LOW | t/unit/tasks/test_chord.py | 160 | CODE | |
| LOW | t/unit/app/test_schedules.py | 873 | CODE | |
| LOW | t/unit/backends/test_couchdb.py | 129 | CODE | |
| LOW | t/unit/contrib/test_rdb.py | 33 | CODE | |
| LOW | t/unit/fixups/test_django.py | 374 | CODE | |
| LOW | t/unit/worker/test_native_delayed_delivery.py | 179 | CODE | |
| LOW | t/integration/test_canvas.py | 84 | CODE | |
| LOW | t/integration/test_tasks.py | 336 | CODE | |
| LOW | examples/quorum-queues/myapp.py | 71 | CODE | |
| LOW | celery/bootsteps.py | 137 | CODE | |
| LOW | celery/platforms.py | 115 | CODE | |
| LOW | celery/local.py | 320 | CODE | |
| LOW | celery/__init__.py | 84 | CODE | |
| LOW | celery/beat.py | 464 | CODE | |
| LOW | celery/beat.py | 616 | CODE | |
| LOW | celery/beat.py | 650 | CODE | |
| LOW | celery/beat.py | 941 | CODE | |
| LOW | celery/beat.py | 1023 | CODE | |
| LOW | celery/canvas.py | 115 | CODE | |
| LOW | celery/canvas.py | 1015 | CODE | |
| LOW | celery/canvas.py | 1178 | CODE | |
| LOW | celery/canvas.py | 1820 | CODE | |
| LOW | celery/canvas.py | 2324 | CODE | |
| LOW | celery/schedules.py | 442 | CODE | |
| LOW | celery/app/trace.py | 137 | CODE | |
| LOW | celery/app/trace.py | 344 | CODE | |
| LOW | celery/app/trace.py | 426 | CODE | |
| LOW | celery/app/trace.py | 475 | CODE | |
| LOW | celery/app/task.py | 547 | CODE | |
| LOW | celery/app/control.py | 512 | CODE | |
| LOW | celery/app/utils.py | 338 | CODE | |
| LOW | celery/app/utils.py | 426 | CODE | |
| LOW | celery/app/utils.py | 477 | CODE | |
| LOW | celery/app/utils.py | 428 | CODE | |
| LOW | celery/app/defaults.py | 436 | CODE | |
| LOW | celery/app/base.py | 945 | CODE | |
| LOW | celery/bin/control.py | 26 | CODE | |
| LOW | celery/bin/shell.py | 120 | CODE | |
| LOW | celery/bin/logtool.py | 78 | CODE | |
| LOW | celery/backends/gcs.py | 251 | CODE | |
| LOW | celery/backends/filesystem.py | 101 | CODE | |
| LOW | celery/backends/cache.py | 40 | CODE | |
| LOW | celery/backends/cache.py | 49 | CODE | |
| LOW | celery/backends/redis.py | 209 | CODE | |
| LOW | celery/backends/redis.py | 236 | CODE | |
| LOW | celery/backends/redis.py | 320 | CODE | |
| LOW | celery/backends/redis.py | 767 | CODE | |
| LOW | celery/backends/base.py | 338 | CODE | |
| LOW | celery/backends/base.py | 451 | CODE | |
| LOW | celery/backends/base.py | 549 | CODE | |
| LOW | celery/backends/base.py | 703 | CODE | |
| LOW | celery/backends/base.py | 757 | CODE | |
| LOW | celery/backends/base.py | 1349 | CODE | |
| LOW | celery/backends/database/session.py | 83 | CODE | |
| LOW | celery/backends/database/session.py | 107 | CODE | |
| 49 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | t/smoke/tests/test_canvas.py | 195 | # Create the failing group header (same for all tests) | COMMENT |
| MEDIUM | t/smoke/tests/test_canvas.py | 204 | # Create the chord | COMMENT |
| MEDIUM | t/unit/tasks/test_canvas.py | 2834 | # Create a chord with header group and body chain | COMMENT |
| MEDIUM | t/unit/tasks/test_canvas.py | 2855 | # Create a chord with header group and body chain (no task_id set) | COMMENT |
| MEDIUM | t/unit/tasks/test_tasks.py | 1837 | # Create a mock parent task with no root_id | COMMENT |
| MEDIUM | t/unit/app/test_trace.py | 21 | # Create a nested call stack to have frames to clear | COMMENT |
| MEDIUM | t/unit/bin/proj/pyramid_celery_app.py | 7 | # This module defines a mocked Celery application to replicate | COMMENT |
| MEDIUM | t/unit/backends/test_redis.py | 645 | # Create a mock result object with _iter_meta | COMMENT |
| MEDIUM | t/unit/backends/test_redis.py | 675 | # Create a mock result object with _iter_meta | COMMENT |
| MEDIUM | t/unit/backends/test_redis.py | 705 | # Create a mock result object with _iter_meta | COMMENT |
| MEDIUM | t/unit/backends/test_redis.py | 734 | # Create a mock result object with _iter_meta | COMMENT |
| MEDIUM | t/unit/backends/test_redis.py | 772 | # Create a mock result object with _iter_meta | COMMENT |
| MEDIUM | t/unit/backends/test_base.py | 1076 | # Create a mock that properly implements the | COMMENT |
| MEDIUM | t/unit/concurrency/test_prefork.py | 715 | # Create a mock generator (already started, so not gen_not_started) | COMMENT |
| MEDIUM | t/unit/worker/test_strategy.py | 136 | # Create a proper mock for task_buckets that supports __getitem__ | COMMENT |
| MEDIUM | t/unit/worker/test_native_delayed_delivery.py | 167 | # Create a dummy float iterator | COMMENT |
| MEDIUM | t/unit/worker/test_native_delayed_delivery.py | 183 | # Define a custom errback to check types | COMMENT |
| MEDIUM | t/unit/worker/test_native_delayed_delivery.py | 427 | # Create a queue | COMMENT |
| MEDIUM | t/unit/worker/test_autoscale.py | 244 | # Create a mock consumer with autoscale and disable_prefetch enabled | COMMENT |
| MEDIUM | t/integration/test_canvas.py | 3511 | # Create the failing group header (same for all tests) | COMMENT |
| MEDIUM | celery/app/trace.py | 483 | # This function is very long because we've unrolled all the calls | COMMENT |
| MEDIUM | celery/concurrency/asynpool.py | 571 | # This method is called whenever the process sentinel is readable. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | t/unit/tasks/test_canvas.py | 1785 | _task_stack.push(self.add) | CODE |
| HIGH | t/unit/app/test_log.py | 413 | _task_stack.push(test_task) | CODE |
| HIGH | t/unit/app/test_app.py | 728 | _state._task_stack.push(foo) | CODE |
| HIGH | t/unit/app/test_app.py | 1150 | _task_stack.push(a3cX1) | CODE |
| HIGH | t/unit/backends/test_rpc.py | 253 | _task_stack.push(task) | CODE |
| HIGH | t/unit/utils/test_threads.py | 202 | x.push(['foo']) | CODE |
| HIGH | t/unit/utils/test_threads.py | 213 | x.push(['foo']) | CODE |
| HIGH | t/unit/utils/test_threads.py | 214 | x.push(['bar']) | CODE |
| HIGH | t/unit/worker/test_request.py | 474 | req.task.request_stack.push(sentinel) | CODE |
| HIGH | celery/app/task.py | 507 | _task_stack.push(self) | CODE |
| HIGH | celery/app/task.py | 1248 | self.request_stack.push(Context(*args, **{**self.request.__dict__, **kwargs})) | CODE |
| HIGH | celery/utils/threads.py | 217 | >>> ls.push(42) | STRING |
| HIGH | celery/utils/threads.py | 220 | >>> ls.push(23) | STRING |
| HIGH | celery/worker/request.py | 743 | self.task.request_stack.push(self._context) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | t/unit/tasks/test_context.py | 88 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | t/unit/tasks/test_context.py | 90 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | t/unit/backends/test_asynchronous.py | 33 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | t/unit/backends/test_asynchronous.py | 35 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | t/unit/backends/test_asynchronous.py | 190 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | t/unit/backends/test_asynchronous.py | 192 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | t/unit/backends/test_asynchronous.py | 344 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | t/unit/backends/test_asynchronous.py | 346 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | t/unit/worker/test_consumer.py | 1819 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | t/unit/worker/test_consumer.py | 1821 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | t/unit/worker/test_consumer.py | 1841 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | t/unit/worker/test_consumer.py | 1843 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | t/unit/worker/test_consumer.py | 1909 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | t/unit/worker/test_consumer.py | 1911 | # ------------------------------------------------------------------ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | t/unit/app/test_control.py | 73 | CODE | |
| LOW | t/integration/tasks.py | 355 | CODE | |
| LOW | t/integration/test_canvas.py | 931 | CODE | |
| LOW | t/integration/test_canvas.py | 3821 | CODE | |
| LOW | t/integration/test_canvas.py | 3873 | CODE | |
| LOW | celery/result.py | 191 | CODE | |
| LOW | celery/result.py | 728 | CODE | |
| LOW | celery/result.py | 744 | CODE | |
| LOW | celery/result.py | 851 | CODE | |
| LOW | celery/beat.py | 123 | CODE | |
| LOW | celery/canvas.py | 364 | CODE | |
| LOW | celery/canvas.py | 1106 | CODE | |
| LOW | celery/canvas.py | 1178 | CODE | |
| LOW | celery/canvas.py | 1874 | CODE | |
| LOW | celery/canvas.py | 2270 | CODE | |
| LOW | celery/canvas.py | 2364 | CODE | |
| LOW | celery/app/amqp.py | 62 | CODE | |
| LOW | celery/app/amqp.py | 326 | CODE | |
| LOW | celery/app/amqp.py | 420 | CODE | |
| LOW | celery/app/amqp.py | 508 | CODE | |
| LOW | celery/app/trace.py | 344 | CODE | |
| LOW | celery/app/task.py | 880 | CODE | |
| LOW | celery/app/control.py | 82 | CODE | |
| LOW | celery/app/control.py | 755 | CODE | |
| LOW | celery/app/base.py | 384 | CODE | |
| LOW | celery/app/base.py | 945 | CODE | |
| LOW | celery/app/base.py | 1156 | CODE | |
| LOW | celery/app/base.py | 1199 | CODE | |
| LOW | celery/bin/worker.py | 130 | CODE | |
| LOW | celery/bin/worker.py | 340 | CODE | |
| LOW | celery/security/__init__.py | 44 | CODE | |
| LOW | celery/utils/time.py | 431 | CODE | |
| LOW | celery/contrib/migrate.py | 127 | CODE | |
| LOW | celery/contrib/migrate.py | 337 | CODE | |
| LOW | celery/contrib/migrate.py | 249 | CODE | |
| LOW | celery/contrib/testing/manager.py | 48 | CODE | |
| LOW | celery/contrib/testing/mocks.py | 11 | CODE | |
| LOW | celery/concurrency/gevent.py | 28 | CODE | |
| LOW | celery/concurrency/asynpool.py | 112 | CODE | |
| LOW | celery/concurrency/base.py | 22 | CODE | |
| LOW | celery/worker/worker.py | 432 | CODE | |
| LOW | celery/worker/control.py | 53 | CODE | |
| LOW | celery/worker/request.py | 96 | CODE | |
| LOW | celery/worker/consumer/consumer.py | 192 | CODE | |
| LOW | celery/events/dispatcher.py | 58 | CODE | |
| LOW | celery/events/receiver.py | 38 | CODE | |
| LOW | celery/events/state.py | 161 | CODE | |
| LOW | celery/events/state.py | 407 | CODE | |
| LOW | celery/events/state.py | 190 | CODE | |
| LOW | celery/apps/multi.py | 402 | CODE | |
| LOW | celery/apps/beat.py | 46 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/resultgraph/tasks.py | 1 | # Example:: | COMMENT |
| LOW | examples/django/proj/urls.py | 1 | from django.conf.urls import handler404, handler500 # noqa | COMMENT |
| LOW | .github/workflows/codeql-analysis.yml | 1 | # For most projects, this workflow file will not need changing; you simply need | COMMENT |
| LOW | celery/canvas.py | 621 | COMMENT | |
| LOW | celery/canvas.py | 941 | # ) | tsum.s() | add.s(1) | group(add.s(1), add.s(1)) | COMMENT |
| LOW | celery/canvas.py | 961 | # to begin with. | COMMENT |
| LOW | celery/canvas.py | 1801 | # | COMMENT |
| LOW | celery/app/trace.py | 841 | BaseTask.__call__ = _patched.pop('BaseTask.__call__') | COMMENT |
| LOW | celery/app/task.py | 241 | max_retries = 3 | COMMENT |
| LOW | celery/app/task.py | 261 | COMMENT | |
| LOW | celery/app/task.py | 281 | COMMENT | |
| LOW | celery/app/task.py | 301 | COMMENT | |
| LOW | celery/app/task.py | 321 | #: :setting:`task_acks_on_failure_or_timeout` setting. | COMMENT |
| LOW | celery/app/task.py | 341 | #: Configuring this setting only applies to tasks that are | COMMENT |
| LOW | celery/app/task.py | 361 | #: Tuple of expected exceptions. | COMMENT |
| LOW | celery/backends/cassandra.py | 241 | # differs from other authorization failures, so we | COMMENT |
| LOW | celery/backends/dynamodb.py | 361 | )) | COMMENT |
| LOW | celery/backends/dynamodb.py | 381 | # | COMMENT |
| LOW | celery/backends/base.py | 41 | COMMENT | |
| LOW | celery/backends/base.py | 181 | #: Time to sleep between polling each individual item | COMMENT |
| LOW | celery/backends/base.py | 301 | already_failed = ( | COMMENT |
| LOW | celery/backends/base.py | 581 | cls = getattr(cls, name) | COMMENT |
| LOW | celery/utils/functional.py | 361 | # In Python 3.14+, inspect.getfullargspec evaluates annotations by default | COMMENT |
| LOW | celery/concurrency/asynpool.py | 881 | total_write_count = [0] | COMMENT |
| LOW | celery/concurrency/asynpool.py | 1161 | # written job._write_to points at the same process, so prefer it | COMMENT |
| LOW | celery/worker/request.py | 581 | 'task-failed', | COMMENT |
| LOW | celery/worker/loops.py | 101 | COMMENT | |
| LOW | celery/worker/state.py | 81 | #: set of all reserved :class:`~celery.worker.request.Request`'s. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | t/smoke/workers/other.py | 0 | creates a pytest-celery worker node from the worker container. | STRING |
| HIGH | t/smoke/workers/alt.py | 0 | creates a pytest-celery worker node from the worker container. | STRING |
| HIGH | t/smoke/workers/latest.py | 0 | creates a pytest-celery worker node from the worker container. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | t/unit/backends/test_elasticsearch.py | 729 | url = 'elasticsearch+https://fake_user:fake_pass@localhost:9200/index/doc_type' | CODE |
| LOW⚡ | t/unit/backends/test_elasticsearch.py | 733 | assert x.username == 'fake_user' | CODE |
| LOW⚡ | t/unit/backends/test_elasticsearch.py | 740 | http_auth=('fake_user', 'fake_pass'), | CODE |
| LOW | t/unit/apps/test_multi.py | 285 | self.node = Node('foo@bar.com', options={'-A': 'proj'}) | CODE |
| LOW | t/unit/apps/test_multi.py | 292 | 'foo@bar.com', | CODE |
| LOW⚡ | t/unit/apps/test_multi.py | 312 | 'foo@bar.com', | CODE |
| LOW⚡ | t/unit/apps/test_multi.py | 322 | 'foo@bar.com', | CODE |
| LOW | t/unit/apps/test_multi.py | 426 | 'foo@bar.com', | CODE |
| LOW | t/unit/apps/test_multi.py | 435 | 'foo@bar.com', | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | t/integration/conftest.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | t/integration/test_mem_leak_in_exception_handling.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | celery/backends/rpc.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | celery/backends/database/__init__.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | celery/utils/time.py | 31 | logger = logging.getLogger(__name__) | CODE |
| LOW | celery/worker/consumer/delayed_delivery.py | 112 | def _setup_delayed_delivery(self, c: Consumer, broker_url: str) -> None: | CODE |
| LOW | celery/apps/beat.py | 161 | def set_process_title(self) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/celery_http_gateway/settings.py | 90 | # Don't forget to use absolute paths, not relative paths. | COMMENT |
| MEDIUM | celery/app/amqp.py | 245 | # For example, you can use ``autoexchange = lambda n: None`` to use the | COMMENT |
| LOW | celery/app/task.py | 357 | #: Warning: Enabling this can cause message loops; make sure you know | COMMENT |
| MEDIUM | celery/bin/multi.py | 71 | $ # but you can also modify the options for ranges of, or specific workers | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | t/unit/tasks/test_canvas.py | 1922 | # In the following tests, getting the group ID is a pain so we just use | COMMENT |
| LOW | celery/app/utils.py | 271 | # no settings, just use new format. | COMMENT |
| LOW | celery/utils/threads.py | 387 | # since each thread has its own greenlet we can just use those as | COMMENT |
| LOW | celery/worker/consumer/consumer.py | 642 | # Retry disabled, just call connect directly. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | t/unit/app/test_trace.py | 87 | def test_function(): | CODE |
| LOW⚡ | t/unit/app/test_trace.py | 104 | def test_function(): | CODE |
| LOW⚡ | t/unit/app/test_trace.py | 127 | def test_function(): | CODE |
| LOW | t/unit/concurrency/test_pool.py | 10 | def do_something(i): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | celery/worker/consumer/delayed_delivery.py | 232 | Validate and split broker URLs. Args: broker_urls: Broker URLs, either as a semicolon-separated str | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | t/unit/utils/test_functional.py | 210 | CODE | |
| MEDIUM | t/unit/worker/test_loops.py | 423 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | celery/bin/worker.py | 76 | # we need to check if the worker pool was configured. | COMMENT |
| LOW | celery/worker/request.py | 654 | # According to the comment below, we need to check if the task | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | t/integration/test_canvas.py | 3532 | # Check if the message appears in the logs (it shouldn't) | COMMENT |
| LOW | examples/django/demoapp/tasks.py | 48 | retry_jitter=False, # Set False to disable randomization (use exact values: 5s, 10s, 20s) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | celery/canvas.py | 984 | # WARNING: Be careful not to mutate `options['chain']`. | COMMENT |