Closed lunika closed 2 months ago
Problematic Behavior
The management command check_live_state has a recurring error, it tries to pop a value from an empty list. This list comes from cloudwatch service : https://github.com/openfun/marsha/blob/29e1f78ed6e288f7bba3c198bb7b7179e7af4fe0/src/backend/marsha/core/management/commands/check_live_state.py#L100
Expected behavior/code
This error seems to occur when a live has no activity anymore. We try to compare alerts set and the clear to determine if they are still active.
Steps to Reproduce
check_live_state
Bug Report
Problematic Behavior
The management command check_live_state has a recurring error, it tries to pop a value from an empty list. This list comes from cloudwatch service : https://github.com/openfun/marsha/blob/29e1f78ed6e288f7bba3c198bb7b7179e7af4fe0/src/backend/marsha/core/management/commands/check_live_state.py#L100
Expected behavior/code
This error seems to occur when a live has no activity anymore. We try to compare alerts set and the clear to determine if they are still active.
Steps to Reproduce
check_live_state