Commit Graph

2 Commits

Author SHA1 Message Date
Konrad 'ktoso' Malawski
a9bcf39325 [Distributed] avoid sleep in addUnlessCancelled test 2025-04-14 19:26:43 +09:00
Konrad 'ktoso' Malawski
80f384958a [Concurrency] Parent task cancellation must cancel task group itself.
Seems that during refactorings of child cancellations we somehow missed
also cancelling the group itself. It seems we did not have good test
coverage of the addTaskUnlessCancelled somehow and thus this slipped
through.

This adds a regression test for addTaskUnlessCancelled and fixes how we
handle the cancellation effect in TaskStatus.

resolves #80789
resolves rdar://149177600
2025-04-14 17:06:44 +09:00