Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some tasks are not being initialised #5209

Closed
khvn26 opened this issue Mar 11, 2025 · 0 comments · Fixed by #5213
Closed

Some tasks are not being initialised #5209

khvn26 opened this issue Mar 11, 2025 · 0 comments · Fixed by #5213
Assignees
Labels
api Issue related to the REST API bug Something isn't working

Comments

@khvn26
Copy link
Member

khvn26 commented Mar 11, 2025

After the latest Task Processor bump, some of the tasks are not being initialised:

'edge_request_forwarder.forward_identity_request'
'edge_request_forwarder.forward_trait_request'
'edge_request_forwarder.forward_trait_requests'
'tasks.call_environment_webhook_for_feature_state_change'
'tasks.charge_for_api_call_count_overages'
'tasks.clean_up_old_analytics_data'
'tasks.clear_stale_feature_imports_and_exports'
'tasks.delete_environments_v2_identity_overrides_by_feature'
'tasks.export_features_for_environment'
'tasks.finish_subscription_cancellation'
'tasks.generate_audit_log_records'
'tasks.handle_api_usage_notifications'
'tasks.import_features_for_environment'
'tasks.process_launch_darkly_import_request'
'tasks.restrict_use_due_to_api_limit_grace_period_over'
'tasks.retire_stalled_feature_imports_and_exports'
'tasks.send_org_over_limit_alert'
'tasks.send_org_subscription_cancelled_alert'
'tasks.sync_identity_document_features'
'tasks.track_feature_evaluation_v2'
'tasks.track_feature_evaluation'
'tasks.track_request'
'tasks.unrestrict_after_api_limit_grace_period_is_stale'
'tasks.update_chargebee_cache'
'tasks.update_flagsmith_environments_v2_identity_overrides'
'tasks.update_organisation_subscription_information_cache'
'tasks.update_organisation_subscription_information_influx_cache_recurring'
'tasks.update_organisation_subscription_information_influx_cache'
'track.track_feature_evaluation_influxdb_v2'
'track.track_feature_evaluation_influxdb'

To fix this, we need to ensure the following for each task:

  1. The task's Django app's tasks module is imported in the app's AppConfig.ready() method.
  2. The Django app is added to INSTALLED_APPS list in settings/common.py.
@khvn26 khvn26 self-assigned this Mar 11, 2025
@khvn26 khvn26 added api Issue related to the REST API bug Something isn't working labels Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issue related to the REST API bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant