Bug 1802045

Summary: Number of knative revisions listed in topology sidebar are unbounded and not sorted
Product: OpenShift Container Platform Reporter: Aritra Roy <ariroy>
Component: Dev ConsoleAssignee: Aritra Roy <ariroy>
Status: CLOSED ERRATA QA Contact: Gajanan More <gamore>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.4CC: aos-bugs, cvogt, nmukherj
Target Milestone: ---   
Target Release: 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-13 21:57:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
unbounded list of revisions none

Description Aritra Roy 2020-02-12 09:18:29 UTC
Created attachment 1662621 [details]
unbounded list of revisions

Description of problem:
The topology sidebar shows an unbounded and unsorted list of revisions. Furthermore the revisions receiving traffic are scattered in the list

Version-Release number of selected component (if applicable):
4.4.0-0.ci-2020-02-09-194845

Steps to Reproduce:
1.Create a knative service using any of the add flows
2.Create multiple revisions (say 4) of the service
3.assign traffic to some of the revisions, but not all

Actual results:
The topology sidebar, under the Resources tab, shows all 4 revisions in an unsorted list of revisions. The revisions receiving traffic are scattered in the list.

Expected results:
- The revisions should be sorted by `metadata.creationTimestamp`
- The revisions receiving traffic should appear first in the list
- If number of revisions receiving traffic are less than 3, limit the list of revisions shown to 3
- Show all revisions receiving traffic, irrespective of the maximum limit of revisions to be shown
- Add a link `View all (# of revisions)` to jump to revisions list

Comment 3 Ruchir Garg 2020-03-02 06:38:33 UTC
Bulk assigning all to Gajanan for verification.

Comment 4 Gajanan More 2020-03-03 09:08:28 UTC
Gajanan More has validated the bug (ODC-2397) on
Build: 4.4.0-0.ci-2020-03-03-033811
Browser: Google Chrome Version 78.0.3904.108

Comment 6 errata-xmlrpc 2020-05-13 21:57:45 UTC
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, 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/RHBA-2020:0581