Repositories list no longer shows In Progress state while a new repo is being downloaded
Setup
- Rancher version: Rancher v2.15-fd3d05f4c179b0fc8ad2dd8447775bee8c1bb254-head
- Rancher UI Extensions: Dashboard master
920680f - Browser type & version:
Describe the bug After adding a repository, the Repositories list skips the In Progress state and shows the row as Active immediately, even though the repo's Downloaded condition is not yet True.
To Reproduce
- Go to Apps > Repositories.
- Click Add Repository and add a new repository.
- Observe the State column right after creation.
To verify the actual backend state of the repo while reproducing, watch the Downloaded condition once per second:
watch -n 1 "kubectl get clusterrepo <repo-name> -o custom columns='NAME:.metadata.name,DOWNLOADED:.status.conditions[?(@.type==\"Downloaded\")].status'"`Result Row shows Active immediately; no transient In Progress state is shown while the repo is downloading.
Expected Result State should show In Progress until the repo's Downloaded condition becomes True, then transition to Active.
Screenshots
https://github.com/user-attachments/assets/6e14ba17-65a3-4653-a52e-bf3bd570bae1
Additional context Please reenable e2e test checks when this is fixed https://github.com/rancher/dashboard/blob/efd1eb2525923d7652a450704631a1368f340f80/cypress/e2e/tests/pages/manager/repositories.spec.ts#L66-L67 https://github.com/rancher/dashboard/blob/efd1eb2525923d7652a450704631a1368f340f80/cypress/e2e/tests/pages/manager/repositories.spec.ts#L126-L127
Source: rancher/rancher