Display agent information in WebUI
Clear and concise description of the problem
When a workflow fails, it may relate to the agent configuration or its host.
Unfortunately, for now, to get the agent information, we have to look in the database or in the pipeline API content.
I use "Get a repositories pipeline" /repos/{repo_id}/pipelines/{pipeline_number}
When I access the pipeline configuration tab, I see the executed workflow, but not the selected agent.
Suggested solution
In Web-ui, in pipeline configuration tab, I'd like to see the chosen agent name.
I would have the same display as https://woodpecker-server/admin/agents or a simple one line information. If you chose to have two blocks of information, I suggest to have titles added, like "Selected agent", "Executed workflow"
Nice to have could be the list of agent's labels, including the default ones (https://woodpecker-ci.org/docs/administration/configuration/agent#agent_labels), but I am unsure how often this is required for most usecases
Validations
- Checked that the feature isn't part of the
nextversion already [https://woodpecker-ci.org/versions] - Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Source: woodpecker-ci/woodpecker