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
Fix flaky test ExecuteAsync_WhenStepFails_PipelineLoggerIsCleanedUp (#12341)
* Initial plan
* Fix race condition in pipeline step activity reporting
Use CancellationToken.None when creating step activities to prevent race condition where a failing step could cancel the token before other concurrent steps finish creating their activities.
Co-authored-by: davidfowl <95136+davidfowl@users.noreply.github.com>
* Revert pipeline change and fix test to only verify failing step
Reverted the CancellationToken.None change to preserve fail-fast behavior as requested by @davidfowl. Updated the test to focus on verifying the single failing step rather than asserting an exact count of step activities, making it more resilient to timing variations while maintaining fail-fast behavior.
Co-authored-by: davidfowl <95136+davidfowl@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: davidfowl <95136+davidfowl@users.noreply.github.com>
0 commit comments