You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perf: Add cancellation support and short-circuit to ModuleConditionHandler (#1720)
- Add CancellationToken parameter to ShouldIgnore method
- Change from parallel evaluation to sequential with short-circuit:
- Mandatory conditions: stop on first failure
- Non-mandatory conditions: stop on first success
- Remove unused EnumerableAsyncProcessor dependency
- Add cancellation checks between condition evaluations
This reduces wasted work when conditions fail early and allows proper
cancellation during condition evaluation.
Fixes#1571
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
return(false,SkipDecision.Skip($"No run conditions were met: {string.Join(", ",runConditionAttributes.Select(x =>x.GetType().Name.Replace("Attribute",string.Empty,StringComparison.OrdinalIgnoreCase)))}"));
0 commit comments