Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lambda: Pick Lambda image deterministically #8603

Merged
merged 1 commit into from
Feb 17, 2025

Conversation

jakob-keller
Copy link
Contributor

closes #8602

@jakob-keller jakob-keller marked this pull request as ready for review February 16, 2025 20:45
@jakob-keller jakob-keller force-pushed the deterministic-lambda-image branch from fae2483 to 0aab0cd Compare February 16, 2025 20:46
@jakob-keller jakob-keller force-pushed the deterministic-lambda-image branch from 0aab0cd to bc53e8b Compare February 16, 2025 20:46
@jakob-keller jakob-keller changed the title Lambda: Determine Lambda image deterministically Lambda: Pick Lambda image deterministically Feb 16, 2025
Copy link

codecov bot commented Feb 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.67%. Comparing base (fc7bcea) to head (bc53e8b).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8603      +/-   ##
==========================================
- Coverage   92.68%   92.67%   -0.01%     
==========================================
  Files        1242     1242              
  Lines      107267   107267              
==========================================
- Hits        99417    99415       -2     
- Misses       7850     7852       +2     
Flag Coverage Δ
servertests 28.07% <0.00%> (ø)
unittests 92.65% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@bblommers bblommers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense @jakob-keller. It's a shame that Python does not have an OrderedSet, but this is a great alternative.

Thank you for the PR!

@bblommers bblommers added this to the 5.0.29 milestone Feb 17, 2025
@bblommers bblommers merged commit 1ea5163 into getmoto:master Feb 17, 2025
56 checks passed
@jakob-keller jakob-keller deleted the deterministic-lambda-image branch February 17, 2025 11:58
@bblommers bblommers modified the milestones: 5.0.29, 5.1.0 Feb 26, 2025
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.

Non-deterministic selection of Lambda image
2 participants