woodpecker-ci / woodpecker

Woodpecker is a simple, yet powerful CI/CD engine with great extensibility.
https://woodpecker-ci.org
Apache License 2.0
4.3k stars 371 forks source link

Cancelled pipelines marked as failed #4349

Closed xoxys closed 1 week ago

xoxys commented 1 week ago

Component

server

Describe the bug

Sometimes pipeline cancellations still result in errors that will flag the pipeline as failed instead of cancelled:

image

Steps to reproduce

Have not found a reliable way to reproduce this specific case.

Expected behavior

Pipeline should be marked as cancelled instead of failed.

System Info

next-bf5405b6cc

Additional context

No response

Validations

zc-devs commented 1 week ago

833

qwerty287 commented 1 week ago

I also think this is somehow a duplicate... We also have #2875