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
Show why a step was skipped #3639
Comments
Did you check that in the db/raw data? Because I think it actually marks them as skipped but the ui shows the same for canceled and skipped. |
I'm talking about the UI itself, which always shows as cancelled like you mentioned. |
There is too little information in the bug(?). @Andre601, could you add steps to reproduce? Woodpecker Manual run, which failed in the middle Next manual run with SKIP_IMAGE=true, SKIP_PUBLISH_QUAY=true Edit: a little bit of clarification:
Also there is summary issue for statuses. |
Took a look again and @Andre601 canceled and skipped actually have different icons in UI. So the issue is: If a step is skipped due to conditions and if a step is skipped because a previous one failed, both get the |
Clear and concise description of the problem
Right now a step is displayed as being cancelled, even tho it was actually skipped by not having its
when
condition fulfilled.As an example, a
when: {status: "failure"}
step is displayed as cancelled when the pipeline was successfull, instead of it actually being skipped (Haven't even been run).Suggested solution
The UI should clearls display a step as being skipped instead of cancelled when it has not been run due to conditions not being met.
This would help keeping a clear difference between a step that was cancelled (i.e. due to an issue) and one that simply wasn't executed.
Alternative
No response
Additional context
No response
Validations
next
version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]The text was updated successfully, but these errors were encountered: