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.
Thanks, I’ll keep an eye on that PR!
This would be great! The graph isn’t very useful if its just a horizontal view of the normal log view ordering. I’m anticipating this feature as well
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.
I saw that the PR is merged (which stores graph data for steps). But it looks like the steps are still displayed sequential.
Is there any update on when this will be fixed?
Are you seeing this bug in locally deployed drone or cloud.drone.io?
Hi @d1wilko , I’m seeing this in a locally deployed drone.
When looking at the execution of the steps, they do run parralel like I want, just the graph view is still sequential.
Running drone 2.1.0
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.
Thanks! I’ll have a look what version drone autoscaler deploys.
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.
drone/drone-runner-docker:latest instead of the tag
1 fixed it.
Thanks for the quick response
When will this be released with a semver autotag instead of
We really want to use it, but not risk using
latest, and have something break in the future.
I just noticed there is now a
1.7.0 published that should contain the fix.