Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report reason for cancellation of parallel task #1226

Open
aucampia opened this issue Jun 19, 2023 · 0 comments
Open

Report reason for cancellation of parallel task #1226

aucampia opened this issue Jun 19, 2023 · 0 comments
Labels
state: needs triage Waiting to be triaged by a maintainer.

Comments

@aucampia
Copy link

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: needs triage Waiting to be triaged by a maintainer.
Projects
None yet
Development

No branches or pull requests

2 participants