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

Distinguish to users the difference between stalled and pending workflows #4392

Open
3 tasks done
IvoWingelaar opened this issue Nov 16, 2024 · 0 comments
Open
3 tasks done
Labels
enhancement improve existing features ui frontend related ux user experience

Comments

@IvoWingelaar
Copy link

IvoWingelaar commented Nov 16, 2024

Clear and concise description of the problem

From a non-admin user's view, when I create a workflow with labels that do not match to any agents' configuration, the workflow will remain in a "pending" state indefinitely.

This means that a non-admin user cannot distinguish between the case where all agents are currently running other workflows, and it is sufficient to just be patient, and the case where no agents will ever be able to execute the workflow, and no amount of patience will ever be enough. This is a suboptimal user experience.

As an admin user, I at least can view the /admin#queue page and see a task in the queue with the labels required for the workflow, which is better, but still doesn't explain why the workflow is stalled. Even on admin#agents I cannot see the labels that are configured for the agents, so I either have to know about, or have to look at all of the configurations of the agent processes to determine the root cause.

Suggested solution

In the web interface, I would like for non-admin users to have feedback on the /repos/$x/pipeline/$y page explaining that a workflow is unschedulable if no agents have the appropriate filter(s) configured.

Additionally, this could also be displayed for unschedulable tasks in the /admin#queue page for admin users.

Alternative

No response

Additional context

No response

Validations

  • Checked that the feature isn't part of the next version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
@IvoWingelaar IvoWingelaar added the feature add new functionality label Nov 16, 2024
@IvoWingelaar IvoWingelaar changed the title Distinguish to users the difference between stalled and pending pipelines Distinguish to users the difference between stalled and pending workflows Nov 16, 2024
@qwerty287 qwerty287 added enhancement improve existing features and removed feature add new functionality labels Nov 17, 2024
@anbraten anbraten added ui frontend related ux user experience labels Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement improve existing features ui frontend related ux user experience
Projects
None yet
Development

No branches or pull requests

3 participants