bb-plane-fork/apps
Nikhil 935e4b5c33
[WEB-4720] chore: refactor and extend cleanup tasks for logs and versions (#7604)
* Refactor and extend cleanup tasks for logs and versions

- Consolidate API log deletion into cleanup_task.py - Add tasks to
delete old email logs, page versions, and issue description versions -
Update Celery schedule and imports for new tasks

* chore: update cleanup task with mongo changes

* fix: update log deletion task name for clarity

* fix: enhance MongoDB archival error handling in cleanup task

- Added a parameter to check MongoDB availability in the flush_to_mongo_and_delete function.
- Implemented error logging for MongoDB archival failures.
- Updated calls to flush_to_mongo_and_delete to include the new parameter.

* fix: correct parameter name in cleanup task function call

- Updated the parameter name from 'mode' to 'model' in the process_cleanup_task function to ensure consistency and clarity in the code.

* fix: improve MongoDB connection parameter handling in MongoConnection class

- Replaced direct access to settings with getattr for MONGO_DB_URL and MONGO_DB_DATABASE to enhance robustness.
- Added warning logging for missing MongoDB connection parameters.
2025-08-24 15:13:49 +05:30
..
admin fix: package cleanup (#7602) 2025-08-20 02:24:12 +05:30
api [WEB-4720] chore: refactor and extend cleanup tasks for logs and versions (#7604) 2025-08-24 15:13:49 +05:30
live fix: docker node_modeles symlink path matching with pnpm path (#7605) 2025-08-20 16:17:35 +05:30
proxy [INFRA-219] fix: update Dockerfile and docker-compose for proxy service (#7523) 2025-07-31 13:27:34 +05:30
space feat: migrate to pnpm from yarn (#7593) 2025-08-19 20:06:42 +05:30
web [WEB-4747]chore: rendering cycle progress from snapshot (#7626) 2025-08-23 00:46:06 +05:30