mirror of
https://github.com/makeplane/plane.git
synced 2026-09-01 19:48:42 +02:00
Follow-up review fixes for #9419: - _is_prefork_worker() only read argv, so a pool selected through CELERY_WORKER_POOL (notably `threads`, which runs tasks in the main process and never dispatches worker_process_init) was misclassified as prefork. The providers were then deferred to a signal that never fires and the worker exported nothing. _effective_pool() now applies Celery's own precedence: -P/--pool flag, then worker_pool from settings, then the prefork default. - Pass OTEL_EXPORTER_OTLP_TRACES_ENDPOINT / _METRICS_ENDPOINT through x-otel-env. is_otel_active() and the exporters both honor them, so an operator setting only those had telemetry silently disabled in every container. - Guard the collector's second json_parser with an `if` on attributes.log: filelog.include matches every container on the host, so plaintext logs from postgres/redis/rabbitmq logged a parse error per line. - Cover the pool detection with unit tests, including the settings-configured and CLI-overrides-settings cases. Claude-Session: https://claude.ai/code/session_01BpGkdpVLNQ3Ziqcd6zK2qV