diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 82e13d2d..42b40a1b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,4 +52,4 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} flags: unittests - fail_ci_if_error: true + fail_ci_if_error: false diff --git a/completion_aggregator/models.py b/completion_aggregator/models.py index 24939ef7..254fbb4a 100644 --- a/completion_aggregator/models.py +++ b/completion_aggregator/models.py @@ -190,12 +190,13 @@ def emit_completion_aggregator_logs(updated_aggregators): return for aggregator in updated_aggregators: + event = "progress" if aggregator.percent < 1 else "completion" block_type = aggregator.aggregation_name if block_type not in settings.COMPLETION_AGGREGATOR_TRACKING_EVENT_TYPES: continue - event_name = f"openedx.completion_aggregator.progress.{block_type}" + event_name = f"openedx.completion_aggregator.{event}.{block_type}" tracker.emit( event_name,