-
Notifications
You must be signed in to change notification settings - Fork 265
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
When a PipelineRun is in progress ensure the TaskTree renders the full set of Tasks #1263
Comments
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
Rotten issues close after 30d of inactivity. /close Send feedback to tektoncd/plumbing. |
Stale issues rot after 30d of inactivity. /lifecycle rotten Send feedback to tektoncd/plumbing. |
@tekton-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/remove-lifecycle rotten |
@AlanGreene: Reopened this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
We also need to consider how retries fit into this, while maintaining a consistent / predictable order: #1445 |
This would benefit from #885 as the code that currently sources and combines the required data for the TaskTree component is difficult to understand and modify. There are too many custom representations of the data in use, this needs to be simplified so we can more easily use the definitions to construct the UI, and then fill in the runtime information from the PipelineRun / TaskRun status. The code currently blurs the lines between these two sets of data leading to confusion about the true source of some fields. |
/kind design |
Expected behavior
I expect to see the full set of Tasks reflected in the TaskTree regardless of the status of the PipelineRun.
Actual behavior
When a PipelineRun is in progress we don't currently render all Tasks in the TaskTree, instead only showing those for which we have details of a TaskRun.
Additional Info
Related: #932
We did briefly have this in an early version but removed it due to a number of issues with inconsistencies in the data received, problems with ordering, etc. A lot of changes have been made both to the Dashboard and Pipelines since and I expect most if not all of those issues should now be resolved.
The PipelineRun component would need to receive the
Pipeline
definition as a prop, and could then extract the required information. We already do this for the PipelineGraph component so that can be used for reference.We should also revisit how we're retrieving and passing
Tasks
from the container to ensure we're only passing those required for thePipeline
.The text was updated successfully, but these errors were encountered: