Skip to content

Have distinct differense between skipped and canceled status#6267

Merged
6543 merged 4 commits into
woodpecker-ci:mainfrom
6543-forks:fix-skipped-step-status
Mar 20, 2026
Merged

Have distinct differense between skipped and canceled status#6267
6543 merged 4 commits into
woodpecker-ci:mainfrom
6543-forks:fix-skipped-step-status

Conversation

@6543

@6543 6543 commented Mar 20, 2026

Copy link
Copy Markdown
Member

regression of #6176

fix #6264

image

@6543 6543 requested a review from qwerty287 March 20, 2026 11:56
@6543 6543 added ui frontend related regression fix a bug that was not released yet labels Mar 20, 2026
Comment thread web/src/assets/locales/en.json Outdated
Comment thread server/model/const.go Outdated
Comment thread server/model/const.go Outdated
"running": "running",
"started": "started",
"skipped": "skipped",
"canceled": "canceled",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I intentionally left that "skipped" because the step actually was skipped, but due to cancellation.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well as you added a distinct cancle state we could argue that it was cancled

we already differ between cancled and killed, with your argument we should also not mark it as killed but cancled !?

i think not hiding info to the user is a god thing in this case

Comment thread web/src/assets/locales/en.json Outdated
Comment thread server/model/const.go Outdated
Co-authored-by: 6543 <6543@obermui.de>
@6543 6543 requested a review from qwerty287 March 20, 2026 12:23
@codecov

codecov Bot commented Mar 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 32.41%. Comparing base (9f9aa72) to head (622c290).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6267   +/-   ##
=======================================
  Coverage   32.41%   32.41%           
=======================================
  Files         420      420           
  Lines       28318    28318           
=======================================
  Hits         9180     9180           
  Misses      18289    18289           
  Partials      849      849           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@qwerty287 qwerty287 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine for me. Untested from my side. I still think we somehow have to make clear what "cancelled" means,but that's likely much harder

@6543 6543 merged commit eab8c09 into woodpecker-ci:main Mar 20, 2026
9 checks passed
@6543 6543 deleted the fix-skipped-step-status branch March 20, 2026 15:57
@6543

6543 commented Mar 20, 2026

Copy link
Copy Markdown
Member Author

I still think we somehow have to make clear what "cancelled" means,but that's likely much harder

agree on that ... my only idea is to add a link to [read more] in the text that links to the docs ... and explain it in the docs or so

@anbraten

Copy link
Copy Markdown
Member

Does the user even care about the difference of skipped / canceled / killed? I would like to know was my step started and has it finished? Was it successful or not? Most of the details are clear from the context in the UI. Has a duration and some logs => step was at least started even if it never finished. Having to understand the specific difference of a status makes it rather complicated for a user to know what happened (seems most maintainers including me run into the same issue).

Actually I am wondering why we show skipped steps at all. We don't show skipped workflows / steps from (depends_on) 🤔 Is it even really helpful? Probably not.

@qwerty287

Copy link
Copy Markdown
Contributor

If a workflow is skipped due to the status condition it's shown as well.

6543 added a commit to 6543-forks/woodpecker that referenced this pull request Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

regression fix a bug that was not released yet ui frontend related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WebUI try to load logs of skipped step

3 participants