0.3.0: UGC removed, battlepass context-carrying API, scenario behavior aligned with web SDK, CI publish
CI / check (push) Successful in 50s
CI / publish (push) Failing after 37s

This commit is contained in:
edmand46
2026-08-19 17:48:58 +03:00
parent 9d8fb29a7c
commit 2a8d5d4f2f
22 changed files with 234 additions and 388 deletions
+7 -3
View File
@@ -227,12 +227,16 @@ public sealed partial class ScenarioService
},
cancellationToken).ConfigureAwait(false);
if (response?.Plan != null)
StartPlan(response.Plan);
// The server reports objective completion; it no longer returns a plan from the
// counter endpoint. On completion, cross the node's onComplete handle (which
// advances the run) — idempotent if the consumer also completes the session.
if (response != null && response.Completed)
await CompleteNodeAsync(runId, nodeId, "onComplete", cancellationToken).ConfigureAwait(false);
}
catch (Exception ex)
{
FailRun(run, nodeId, ex);
// Counter update failure does not fail the run.
_client.Options.Logger?.Log(RudderLogLevel.Warning, $"[Rudder] Scenario counter update failed at node {nodeId}: {ex.Message}");
}
}
}