I have just updated to the latest tag from Dockerhub and I have to say great work towards improving the UI!
We use a Drone config consisting of separate pipelines but a graph configuration inside the pipeline.
We have many steps of the pipeline running in parallel but despite that they are being displayed sequentially in the graph view. In the screenshot for example frontend_test and frontend_build are running in parallel although not displayed as such.
This is a known limitation. We do not currently store any data in the drone database to render the pipeline steps as a graph (we do store graph data for stages, but not steps). We have an open pull request that adds the necessary fields to the database to store the step graph (see https://github.com/drone/drone/pull/3072) which would in turn make it available to the UI for correct rendering.
We also had to make changes to the runners to send this data to the server to persist. This change is already available in the latest version of the Docker runner.
We currently show the graph for stages (top half) but not for steps (bottom half) due to Drone not storing the necessary data in the database to render. We are planning to enhance the step visualization to support graph rendering in the 2.1.0 release.
This was fixed in Drone 2.0.2 (see below screenshot)
You need to also make sure you are running the latest version of the runner, and the runner must be using runner-go version 1.7.0 or higher. You can check the runner-go version of your runner by inspecting the go.mod file in the repository, for example, here is go.mod for the docker runner.
I should also point out that older builds will continue to display sequentially because the database will not have sufficient data to render graph structures. Only newer builds, executed by a newer runner, will have sufficient data to render the graph.
I would like to have the dual (stages/steps) graph using the drone-runner-exec which uses runner-go version 1.3.1. To do so, I bumped up the runner-go and drone-go versions to latest (v1.12.0 and v1.7.1 respectively). However, as expected, Drone UI still doesn’t display parallel steps as graph but parallel stages are displayed as graphs. What needs to be implemented in the runner to actually fix the bottom steps view graph rendering?