Display job dependency tab not only for latest jobs
Users come to expect the dependency tab on any job that is part of a cluster. As of now we only render the dependency graph for the "latest" jobs in a cluster. On a clonee job the dependency tab is not shown anymore if a cloned job exists potentially confusing users.
Steps to reproduce¶
- Select any latest multi-machine job => you can see "Dependencies" tab
- Restart the job
- Refresh the page with the old job ==> "Dependencies" tab will disappear
this is happening to avoid displaying potentially huge complex dependency graphs covering multiple dimensions.
A dependency tab should be displayed on all jobs that are or were at any time part of a cluster while avoiding to display overly complicated dependency graphs
Two solutions came up during discussion of this problem among asmorodskyi, mkittler, okurz:
- Display static link to dependency graph of latest job
- Add checkbox "Display current Scheduled Product only" which would allow to see what was actually cloned for this certain cluster