v0.20.1
2026-05-06
- [x] Prod deploy was failing in CI because the snapshot step called
aws rds create-db-cluster-snapshotagainstpurple-cat-prod, but prod is a standalone PostgreSQL RDS instance (purple-cat-vtt-db-prod-1), not an Aurora cluster — the cluster command would never resolve a target. Switched the snapshot step in.github/workflows/ci.ymlto the instance-levelaws rds create-db-snapshot/wait db-snapshot-availablepair, defaultingDB_INSTANCE_IDtopurple-cat-vtt-db-prod-1(overridable via the newRDS_INSTANCE_IDENTIFIERrepo var; the legacyRDS_CLUSTER_IDENTIFIERis still honoured as a fallback). Updatedapps/web/src/__tests__/ciProdBackup.test.tsto pin the new commands and added a negative assertion against the cluster command to prevent regressions. Companion change in IAM: the CI user (purple-cat-platform-ai-user) needsrds:CreateDBSnapshot/rds:DescribeDBSnapshots/rds:AddTagsToResource/rds:ListTagsForResourceon the prod instance and its snapshots; attached as inline policyPurpleCatRdsSnapshotForCi.