feat(dynamodb): item CRUD, batch write, and JSON editor UI (#69)#112
Merged
DaviReisVieira merged 1 commit intoDaviReisVieira:mainfrom Apr 28, 2026
Conversation
DaviReisVieira
approved these changes
Apr 28, 2026
Owner
DaviReisVieira
left a comment
There was a problem hiding this comment.
LGTM! Both issues from the #107 review are addressed:
-
Cache invalidation now runs unconditionally after
batch_write_item— partial success no longer leaves stale counts. Nice addition oftest_batch_write_partial_invalidates_cachetoo. -
Frontend now shows warning toasts when import or bulk delete has unprocessed items. The
countUnprocessedhelper is clean.
All checks pass (22 backend tests, 176 frontend tests, typecheck clean). Ship it! 🚀
10 tasks
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.
Supersedes branch from #107 (head fork was recreated); delivered as one squashed commit on current
main.Implements create / update / delete for DynamoDB items, batch import and bulk delete, JSON editor with plain vs DynamoDB attribute-value modes, and read-only middleware fix so item write
POSTs are not treated likePOST .../query.Includes feedback from #107 review: invalidate item count cache after batch writes even when
UnprocessedItemsis non-empty; warning toasts when import/bulk delete leaves unprocessed items.Backend
POST/PUT/api/dynamodb/tables/{name}/items—put_item(item+item_format:dynamodb|plain)DELETE/api/dynamodb/tables/{name}/items—delete_itemPOST/api/dynamodb/tables/{name}/items/batch— batch write (≤25 ops)Frontend
Toolbar (new/import), row actions, marshal toggle,
useHealthfor writes.Tests
tests/test_dynamodb_routes.py,tests/test_readonly_middleware.py, UI dynamodb tests.Verify
Resources → DynamoDB → create / scan / edit / delete / import / bulk delete;
STACKPORT_ALLOW_WRITES=falsehides writes / returns 403.