refactor: remove obsolete FIFO queue infrastructure (OSIDB-5512) - #1474
Conversation
The FIFO queue routing (FIFORouter, CelerySettings, fifo.* queues, celery-fifo-1/2 docker services) is disabled in production and superseded by LockableTaskWithArgs exclusive locks and BZSyncManager.schedule() dedup logic. Remove all FIFO-related code and configuration: - CelerySettings class and FIFORouter class from config/celery.py - fifo.* queue definitions and task_routes assignment - celery-fifo-1 and celery-fifo-2 services from docker-compose.yml - FIFO routing test from test_celery_routing.py - Stale FIFO references in code comments Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Enterprise Run ID: 📒 Files selected for processing (5)
💤 Files with no reviewable changes (2)
Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review. 📜 Recent review details⏰ Context from checks skipped due to timeout. (4)
🧰 Additional context used📓 Path-based instructions (2)Injection prevention (prodsec-skills): SQL: parameterized queries only; no string concatenation Command: no shell=True, os.system, or backtick exec with user input LDAP/XPath: escape special characters in filters Path traversal: canonicaliz...⚙️ CodeRabbit configuration file Files:
Python security (prodsec-skills): No pickle.loads, marshal.load, shelve.open on untrusted data (RCE) No eval, exec, compile on non-literal input; use ast.literal_eval No yaml.load without SafeLoader; require yaml.safe_load subprocess: list...⚙️ CodeRabbit configuration file Files:
🔇 Additional comments (3)
📝 SummarySummary by CodeRabbit
WalkthroughThe change removes configurable FIFO Celery routing and dedicated FIFO workers. It updates lock-contention documentation and removes the FIFO routing test. ChangesCelery FIFO removal
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This change removes obsolete FIFO Celery routing and worker configuration while aligning lock-contention documentation and tests with the existing recovery behavior. No concrete merge-blocking risk remains. Suggested reviewers: 🚥 Pre-merge checks | ✅ 9 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (9 passed)
Full details: Ai-AttributionExplanation The pull-request commit explicitly identifies Claude Sonnet 4.5 and uses
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Comment |
The FIFO queue routing (FIFORouter, CelerySettings, fifo.* queues, celery-fifo-1/2 docker services) is disabled in production and superseded by LockableTaskWithArgs exclusive locks and BZSyncManager.schedule() dedup logic.
Remove all FIFO-related code and configuration: