Expand description
DynamoDB 1 MB response boundary tests.
These tests prove the paging loop works correctly when the result set spans
DynamoDB’s 1 MB response boundary. DynamoDB’s Query API returns at most 1 MB
of data per call and sets LastEvaluatedKey when there are more results.
With ~10 KB items, ~100 items ≈ 1 MB, so seeding 200 items and querying with
.limit(150) forces at least 2 DynamoDB API calls, exercising the pagination
loop in the driver.
IMPORTANT: The payload field is intentionally large (10,000 bytes). Do NOT
reduce its size. The tests depend on the payload being large enough to push
each batch of ~100 items past the 1 MB boundary so that at least two DynamoDB
API calls are required to satisfy the limit.