Skip to content

#1337 Prevent live lambda images from expiring.#404

Merged
lkacenja merged 3 commits intodevfrom
1337-ecr-images-gone
Apr 7, 2026
Merged

#1337 Prevent live lambda images from expiring.#404
lkacenja merged 3 commits intodevfrom
1337-ecr-images-gone

Conversation

@lkacenja
Copy link
Copy Markdown
Contributor

@lkacenja lkacenja commented Apr 7, 2026

Summary

  • ECR lifecycle policy was expiring all images (tagged or not) older than 30 days, including latest-tagged images actively referenced by Lambda functions
  • Add a priority-1 rule protecting latest-tagged images from expiration
  • Demote the 30-day expiration rule to priority 2, where it cleans up SHA-tagged and untagged images

Test plan

  • Apply to staging, verify latest-tagged Lambda images are not expired after 30 days
  • Verify SHA-tagged images are still cleaned up after 30 days

@lkacenja lkacenja self-assigned this Apr 7, 2026
@lkacenja lkacenja changed the base branch from main to dev April 7, 2026 16:07
@lkacenja lkacenja merged commit ff26fb4 into dev Apr 7, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant