bb-plane-fork/apps/api/plane/bgtasks
Nikhil 1a9ebc8b68
[WEB-5071] chore: implement webhook logging to MongoDB and fallback to database (#7896)
* feat: implement webhook logging to MongoDB and fallback to database (#7887)

- Added a new function `save_webhook_log` to log webhook requests and responses to MongoDB, with a fallback to the database if the MongoDB save fails.
- Updated the `webhook_send_task` to utilize the new logging function.
- Modified the `get_webhook_logs_queryset` to order logs by creation date and adjusted the chunk size for iteration.

* refactor: clean up log data formatting in save_webhook_log function

* fix: update retry_count type in save_webhook_log function
2025-10-15 14:53:43 +05:30
..
__init__.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
analytic_plot_export.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
apps.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
cleanup_task.py [WEB-5071] chore: implement webhook logging to MongoDB and fallback to database (#7896) 2025-10-15 14:53:43 +05:30
copy_s3_object.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
deletion_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
dummy_data_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
email_notification_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
event_tracking_task.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
export_task.py [WEB-4999] feat: implement flexible data export utility with CSV, JSON, and XLSX support (#7884) 2025-10-14 15:46:55 +05:30
exporter_expired_task.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
file_asset_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
forgot_password_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
issue_activities_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
issue_automation_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
issue_description_version_sync.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
issue_description_version_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
issue_version_sync.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
magic_link_code_task.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
notification_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
page_transaction_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
page_version_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
project_add_user_email_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
project_invitation_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
recent_visited_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
storage_metadata_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
user_activation_email_task.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
user_deactivation_email_task.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
webhook_task.py [WEB-5071] chore: implement webhook logging to MongoDB and fallback to database (#7896) 2025-10-15 14:53:43 +05:30
work_item_link_task.py [WEB-4380] chore: work item link sentry error (#7316) 2025-07-08 15:43:42 +05:30
workspace_invitation_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
workspace_seed_task.py [WEB-5058] feat: enhance workspace seeding with cycles, modules, and views creation (#7951) 2025-10-11 20:55:48 +05:30