+++ This bug was initially created as a clone of Bug #1947078 +++ Description of problem: If When expression or conditions are used in a pipeline, then all the skipped tasks status are shown incorrectly. Version-Release number of selected component (if applicable): 4.8 How reproducible: Always Steps to Reproduce: 1. Create the pipelineRun using https://github.com/tektoncd/pipeline/blob/main/examples/v1beta1/pipelineruns/using-optional-workspaces-in-when-expressions.yaml Actual results: Skipped tasks are visualized as pending state. Expected results: Skipped tasks should in skipped state.
Created attachment 1789793 [details] Skipped task is in skipped state
Verified on build version: 4.7.0-0.nightly-2021-06-07-203428 Browser: Google Chrome 89
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.7.16 security and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:2286