Skip to content

Conversation

@bentsku
Copy link
Contributor

@bentsku bentsku commented Oct 13, 2025

Motivation

Follow up from #13235, the test selection didn't pick up some Lambda tests and CloudFormation.

Regenerated the snapshots, took the opportunity to remove some old skips.

DynamoDB isn't listed as a hard dependency of Lambda, only DynamoDB Streams. As we don't want to string along all dependencies of dependencies in our test selection, this is somewhat expected behavior. As it seems DynamoDB is actually quite heavily tied to Lambda, maybe we should declare it as an optional dependency (this is a different dependency than say SNS and SQS). In order to quickly fix the issue, this PR does not consider the root cause and I'll look into a follow-up PR to make sure this doesn't happen again (at least on the lambda side, CFN is a different, known thing)

Changes

  • regenerate snapshots for DDB CreateTable

@bentsku bentsku self-assigned this Oct 13, 2025
@bentsku bentsku added aws:dynamodb Amazon DynamoDB semver: patch Non-breaking changes which can be included in patch releases docs: skip Pull request does not require documentation changes notes: skip Pull request does not have to be mentioned in the release notes labels Oct 13, 2025
@bentsku bentsku added this to the 4.10 milestone Oct 13, 2025
This reverts commit 6c8d6fa.
@github-actions
Copy link

github-actions bot commented Oct 13, 2025

Test Results - Preflight, Unit

22 298 tests  ±0   20 555 ✅ ±0   15m 46s ⏱️ +9s
     1 suites ±0    1 743 💤 ±0 
     1 files   ±0        0 ❌ ±0 

Results for commit ef6db2a. ± Comparison against base commit 098d7a1.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Oct 13, 2025

Test Results (amd64) - Acceptance

7 tests  ±0   5 ✅ ±0   4m 6s ⏱️ +48s
1 suites ±0   2 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit ef6db2a. ± Comparison against base commit 098d7a1.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Oct 13, 2025

Test Results - Alternative Providers

676 tests   416 ✅  33m 49s ⏱️
  2 suites  260 💤
  2 files      0 ❌

Results for commit ef6db2a.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Oct 13, 2025

Test Results (amd64) - Integration, Bootstrap

    5 files      5 suites   2h 39m 4s ⏱️
5 190 tests 4 693 ✅ 497 💤 0 ❌
5 196 runs  4 693 ✅ 503 💤 0 ❌

Results for commit ef6db2a.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Oct 13, 2025

LocalStack Community integration with Pro

    2 files  ±0      2 suites  ±0   2h 0m 58s ⏱️ - 3m 52s
4 816 tests ±0  4 479 ✅ +12  337 💤 ±0  0 ❌  - 12 
4 818 runs  ±0  4 479 ✅ +12  339 💤 ±0  0 ❌  - 12 

Results for commit ef6db2a. ± Comparison against base commit 098d7a1.

♻️ This comment has been updated with latest results.

@bentsku bentsku added the review: merge when ready Signals to the reviewer that a PR can be merged if accepted label Oct 13, 2025
@bentsku bentsku marked this pull request as ready for review October 13, 2025 22:52
Copy link
Member

@joe4dev joe4dev left a comment

Choose a reason for hiding this comment

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

Thank you for unblocking the pipeline @bentsku and going the extra mile to update more snapshots and snapshot skips 👏

def check_esm_active():
return aws_client.lambda_.get_event_source_mapping(UUID=uuid)["State"] != "Creating"

assert wait_until(check_esm_active)
Copy link
Member

Choose a reason for hiding this comment

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

❓ Any particular reason why we cannot use _await_event_source_mapping_enabled here?

)
@markers.aws.validated
def test_event_source_mapping_lifecycle(
def test_event_source_mapping_lifecycle_delete_function(
Copy link
Member

Choose a reason for hiding this comment

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

❓ I didn't fully understand these changes in lifecycle and lifecycle_delete_function (might be a git diff issue) 🤔 It kinda looks like swapping the order.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, this is really weird! I haven't touched this code at all, looks like a git diff issue! Same for the question/comment above, I haven't touched it and it must be the old code moving up. Very weird indeed

@joe4dev joe4dev merged commit 2ca209f into main Oct 14, 2025
45 checks passed
@joe4dev joe4dev deleted the fix-ddb-snapshots branch October 14, 2025 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

aws:dynamodb Amazon DynamoDB docs: skip Pull request does not require documentation changes notes: skip Pull request does not have to be mentioned in the release notes review: merge when ready Signals to the reviewer that a PR can be merged if accepted semver: patch Non-breaking changes which can be included in patch releases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants