fix: get CI green and add integration tests#21
Merged
HarshCasper merged 3 commits intomainfrom May 5, 2026
Merged
Conversation
The rmescandon/yq PPA has no Release file for Ubuntu noble (24.04), causing CI to fail. Download the binary directly instead.
Fixes deploy rollback caused by stale settings: - dbFamily aurora-postgresql13.4 (invalid) -> aurora-postgresql13 - dbVersion 13.4 (unsupported) -> 13.16 - pgNodeParams: replace MySQL params with postgres equivalents - dbCluster: drop MySQL-only BacktrackWindow, switch EnableCloudwatchLogsExports from [error,slowquery] to [postgresql] - dbProxy EngineFamily MYSQL -> POSTGRESQL
Curl both API Gateway routes after deploy and assert each returns a PostgreSQL version row, so CI fails if the lambdas can't reach the cluster or the proxy IAM auth is broken.
remotesynth
approved these changes
May 5, 2026
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.
Summary
Get this sample working again on LocalStack and in CI. Fixes DEVREL-194
CI fixes
ppa:rmescandon/yq(no Release file for Ubuntu noble) with the upstreammikefarah/yqbinary from GitHub releases. This was the original failure onmain.ApiBasePathfrom thesam-appstack outputs, curl both/no-proxyand/proxyvia the LocalStack API Gateway URL, and assert the response contains a PostgreSQL version row. CI now fails if either lambda can't reach the cluster or proxy IAM auth is broken — not just if the deploy succeeds.Template fixes (
rds-with-proxy.yaml)The Aurora PostgreSQL stack was rolling back on
pgNodeParamsand would have failed proxy auth even if it hadn't:dbFamily:aurora-postgresql13.4(invalid family) →aurora-postgresql13dbVersion:13.4(unsupported) →13.16pgNodeParams: drop MySQL parameters (innodb_stats_persistent_sample_pages,slow_query_log,long_query_time,log_output) and replace with postgres equivalents (log_min_duration_statement,log_statement).dbCluster: drop MySQL-onlyBacktrackWindow; switchEnableCloudwatchLogsExportsfrom[error, slowquery]to[postgresql].dbProxy.EngineFamily:MYSQL→POSTGRESQL.