GeezerVison is showing github.com — DynamoDB: refactor the store for proper type annotations by giograno · Pull Request #13256 · localstack/localstack
This repository was archived by the owner on Mar 23, 2026. It is now read-only.
Conversation
giograno
commented
Oct 13, 2025
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Motivation
This PR improves the annotations and the structure of the DDB store, needed for our new serialization framework.
Changes
- Fix the type annotations for some DDB store attributes (e.g,
GLOBAL_TABLES);
- Pulling out streaming destination descriptions for the
table_definition attribute. In this way, we could easily reuse the generated TypedDict for annotations.
- Introduce a
Backup dataclass, wrapping BackupDetails with other additional information.
- Correspondent provider adjustements.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
giograno
added
docs: skip
Pull request does not require documentation changes
notes: skip
Pull request does not have to be mentioned in the release notes
semver: minor
Non-breaking changes which can be included in minor releases, but not in patch releases
labels
Oct 13, 2025
Test Results - Preflight, Unit
23 111 tests +12 21 249 ✅ +12 6m 5s ⏱️ -9s
1 suites ± 0 1 862 💤 ± 0
1 files ± 0 0 ❌ ± 0
Results for commit 4cc822a. ± Comparison against base commit 2046dff.
♻️ This comment has been updated with latest results.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
LocalStack Community integration with Pro
2 files 2 suites 56m 19s ⏱️
1 989 tests 1 876 ✅ 113 💤 0 ❌
1 991 runs 1 876 ✅ 115 💤 0 ❌
Results for commit 4cc822a.
♻️ This comment has been updated with latest results.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Test Results - Alternative Providers
92 tests - 1 181 86 ✅ - 640 6m 47s ⏱️ - 24m 19s
1 suites - 3 6 💤 - 541
1 files - 3 0 ❌ ± 0
Results for commit 4cc822a. ± Comparison against base commit 2046dff.
This pull request removes 1181 tests.
tests.aws.services.cloudformation.api.test_changesets ‑ test_autoexpand_capability_requirement
tests.aws.services.cloudformation.api.test_changesets ‑ test_create_and_then_remove_non_supported_resource_change_set
tests.aws.services.cloudformation.api.test_changesets ‑ test_create_and_then_remove_supported_resource_change_set
tests.aws.services.cloudformation.api.test_changesets ‑ test_create_and_then_update_refreshes_template_metadata
tests.aws.services.cloudformation.api.test_changesets ‑ test_create_change_set_create_existing
tests.aws.services.cloudformation.api.test_changesets ‑ test_create_change_set_invalid_params
tests.aws.services.cloudformation.api.test_changesets ‑ test_create_change_set_missing_stackname
tests.aws.services.cloudformation.api.test_changesets ‑ test_create_change_set_no_changes
tests.aws.services.cloudformation.api.test_changesets ‑ test_create_change_set_update_nonexisting
tests.aws.services.cloudformation.api.test_changesets ‑ test_create_change_set_update_without_parameters
…
♻️ This comment has been updated with latest results.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Test Results (amd64) - Acceptance
7 tests ±0 5 ✅ ±0 3m 1s ⏱️ -3s
1 suites ±0 2 💤 ±0
1 files ±0 0 ❌ ±0
Results for commit 4cc822a. ± Comparison against base commit 2046dff.
♻️ This comment has been updated with latest results.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Test Results (amd64) - Integration, Bootstrap
5 files ± 0 5 suites ±0 1h 18m 45s ⏱️ - 1h 17m 15s
2 013 tests - 3 599 1 903 ✅ - 3 201 110 💤 - 398 0 ❌ ±0
2 019 runs - 3 599 1 903 ✅ - 3 201 116 💤 - 398 0 ❌ ±0
Results for commit 4cc822a. ± Comparison against base commit 2046dff.
This pull request removes 3599 tests.
tests.aws.scenario.bookstore.test_bookstore.TestBookstoreApplication ‑ test_lambda_dynamodb
tests.aws.scenario.bookstore.test_bookstore.TestBookstoreApplication ‑ test_opensearch_crud
tests.aws.scenario.bookstore.test_bookstore.TestBookstoreApplication ‑ test_search_books
tests.aws.scenario.bookstore.test_bookstore.TestBookstoreApplication ‑ test_setup
tests.aws.scenario.kinesis_firehose.test_kinesis_firehose.TestKinesisFirehoseScenario ‑ test_kinesis_firehose_s3
tests.aws.scenario.lambda_destination.test_lambda_destination_scenario.TestLambdaDestinationScenario ‑ test_destination_sns
tests.aws.scenario.lambda_destination.test_lambda_destination_scenario.TestLambdaDestinationScenario ‑ test_infra
tests.aws.scenario.loan_broker.test_loan_broker.TestLoanBrokerScenario ‑ test_prefill_dynamodb_table
tests.aws.scenario.loan_broker.test_loan_broker.TestLoanBrokerScenario ‑ test_stepfunctions_input_recipient_list[step_function_input0-SUCCEEDED]
tests.aws.scenario.loan_broker.test_loan_broker.TestLoanBrokerScenario ‑ test_stepfunctions_input_recipient_list[step_function_input1-SUCCEEDED]
…
♻️ This comment has been updated with latest results.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
giograno
changed the title
DDB: add types and TaggingService
DynamoDB: refactor the store for proper type annotations
Feb 11, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
|
Thanks for the review. I addressed both comments in the last commit.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
bentsku
Awaiting requested review from bentsku
1 more reviewer
Reviewers whose approvals may not affect merge requirements
Uh oh!
There was an error while loading. Please reload this page.
Labels
docs: skip
Pull request does not require documentation changes
notes: skip
Pull request does not have to be mentioned in the release notes
semver: minor
Non-breaking changes which can be included in minor releases, but not in patch releases
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|