-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
False
-
-
False
-
-
Description of problem:
When navigating to a finally task using URL parameters (?taskName=<task>), the log viewer does not select the corresponding task tab. The auto-selection works as expected for regular tasks but fails for finally tasks.
Workaround:
No current workaround. Users must manually click on the task tab to view its logs.
Prerequisites (if any, like setup, operators/versions):
- OpenShift Pipelines Operator installed (version X.Y.Z)
- Console with pipeline and taskRun log viewer feature enabled
- Pipeline with at least one finally task defined
Steps to Reproduce:
- Create and run a pipeline with both normal tasks and at least one finally task.
- Open the PipelineRun logs tab in the console.
- Append URL parameters with a valid finally task, e.g.:
?taskName=name-of-finally-task
- Observe the log viewer behavior.
Actual results:
- The console does not auto-select the finally task tab.
Expected results:
- Log viewer should auto-select the correct task tab (including finally tasks) when accessed via URL parameters.
Reproducibility:
- Always
Acceptance criteria:
- Navigating to a finally task using URL parameters should auto-select the corresponding task tab in the logs tab.
- Behavior should match that of regular tasks.
- Works in both PipelineRun and TaskRun views.
Definition of Done:
- Code changes merged and verified in QA environment.
- Unit and integration tests updated to cover finally task tab selection.
- Documentation updated if applicable.
Build Details:
- [Build number / commit SHA / image tag]
Additional info (Such as Logs, Screenshots, etc):
- Screenshots showing regular task selection vs. missing finally task selection.
- Browser console logs if applicable.