-
Notifications
You must be signed in to change notification settings - Fork 40
Description
📜 Description
The ECR plugin currently limits the number of images using maxImages before sorting them, which causes it to display outdated images if the AWS DescribeImages API returns them in an unsorted order (which it often does).
As a result, the UI shows older images (e.g., 2 weeks ago) and misses newer images entirely, even though maxImages is set.
👍 Expected behavior
The plugin should:
Collect all available images (or a sufficient sample).
Sort them by imagePushedAt descending.
Then apply the maxImages limit after sorting to show the latest pushed images.
👎 Actual Behavior with Screenshots
This is the top
👟 Reproduction steps
Use the plugin with a repository containing more than maxImages (e.g., 100) images.
Navigate to the /ecr tab for a component.
Observe that older images are shown at the top, and the most recent images are missing.
📃 Content
No response
🖥️ Your Environment
No response