fix(aws-lambda): fix flake in aws lambda tests - #6937
Merged
Conversation
…ture & added temporary workflow that runs aws_lambda tests in parallel Refs: #6911
Contributor
Codecov Results 📊✅ 99295 passed | ⏭️ 6781 skipped | Total: 106076 | Pass Rate: 93.61% | Execution Time: 351m 12s 📊 Comparison with Base Branch
All tests are passing successfully. ✅ Patch coverage is 100.00%. Project has 2498 uncovered lines. Coverage diff@@ Coverage Diff @@
## main #PR +/-##
==========================================
+ Coverage 89.87% 89.87% —%
==========================================
Files 193 193 —
Lines 24656 24656 —
Branches 8786 8786 —
==========================================
+ Hits 22158 22158 —
- Misses 2498 2498 —
- Partials 1400 1400 —Generated by Codecov Action |
- each container now will be initiated on first invocation Refs: #6937
Drop the temporary flake-check workflow, restore a 10s shutdown budget (local teardown averages ~7s), and escalate to kill on timeout so an uncaught TimeoutExpired cannot fail the suite.
pabloDeputter
marked this pull request as ready for review
July 30, 2026 12:14
alexander-alderman-webb
approved these changes
Jul 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
subprocess.TimeoutExpiredduring SAM teardown and force-kill, so slow shutdown cannot fail the entire test suite.--warm-containersstartup fromEAGERtoLAZYso Docker containers start on first invocation instead of all 21 at SAM startup. Verified locally by runningTESTPATH=tests/integrations/aws_lambda/test_aws_lambda.py uv run tox -e py3.8-aws_lambdaboth forEAGER&LAZY10x independently:Issues
Resolves: #6911 & PY-2632
Reminders
uv run ruff.feat:,fix:,ref:,meta:)