Repository navigation
Add SQLite-backed RDS Data API execution - #47
Merged
Merged
Conversation
Add per-cluster in-memory SQLite databases and connect the RDS Data API execution, batch, and transaction operations to emulated clusters. Cover SQL behavior and lifecycle with integration tests, and document SQLite compatibility. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Architecture Inside the changed components — 1 viewComponent view — RDS Data execution engine Lifecycle coordination and SQL execution between RDS, RDS Data, and SQLite stores
Data flow Review 1 finding on the diff · reviewed
|
Preserve the updated EventBridge registration, prevent cross-account access to cluster databases, and retain the admin notice expected by CI. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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.
Emulated RDS clusters previously had no database behind them, so Data API statements could not run. This adds an isolated in-memory SQLite database per cluster and wires its lifecycle to cluster creation, deletion, reset, and MicroStack shutdown.
The Data API now executes SQL with parameter binding and result mapping, supports atomic batch writes and transaction commit/rollback, and returns explicit errors for invalid SQL and unsupported values. The documentation explains the SQLite dialect and its differences from Aurora/PostgreSQL/MySQL. Integration tests cover query results, affected-row counts, parameters, transactions, batch behavior, and cluster lifecycle.
Validation: 31 focused RDS Data API tests passed; Linux x64 Native AOT publish succeeded.
Fixes: #31