Skip to content

Report reason for cancellation of parallel task #1226

@aucampia

Description

@aucampia

When two tasks run in parallel, and one fails, the other seems to be cancelled, but this cancellation is not reported explicitly.

It would be significantly clearer to users what is happening if the reason for cancellation was explicitly reported.

So for example, instead of (GitHub Actions output):

⯈lint:mypy
⯈CI:test
task: Failed to run task "CI:lint": task: Failed to run task "lint:mypy": exit status 1
Error: Process completed with exit code 201.

have

⯈lint:mypy
⯈CI:test
task: Terminated `CI:test` because parallel running task `CI:lint` failed.
task: Failed to run task "CI:lint": task: Failed to run task "lint:mypy": exit status 1
Error: Process completed with exit code 201.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: loopsChanges related to looping over tasks/commands.good first issueIssues that are good for first-time contributors to pick up.state: awaiting responseWaiting for issue author to respond.
    No fields configured for feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions