chore: kg stuff in celery

Merged
YU
9mo ago
+20-1016

Description

Removing some dead code

How Has This Been Tested?

Code starts and works, main chat flow and indexing docs not broken

Additional Options

  • [Required] I have considered whether this PR needs to be cherry-picked to the latest beta branch.
  • [Optional] Override Linear Check

Summary by cubic

Removed the legacy KG processing Celery worker, tasks, and schedules, and cleaned up all references. This simplifies background jobs; chat and document indexing remain unaffected.

  • Refactors
    • Removed KG processing Celery app, config, tasks, utils, and versioned app.
    • Dropped KG-specific queue, locks, task constants, and beat schedule entries.
    • Removed KG chat commands for scheduling/reset (kept kg_setup).
    • Updated background/primary Celery apps to stop discovering KG tasks.
    • Removed KG worker and queue from supervisord and dev run scripts.
    • Removed KG processing concurrency config.
    • Switched extend_lock imports to onyx.kg.utils.lock_utils.
    • Deleted KG processing integration tests.