fix(ci): unblock production deploys from read-replica schema sync
Merged
RI
14d ago+25+25+01234567890123456789-135-135-012345678901234567890123456789
Summary (AI generated)
- Restored
.github/workflows/build_and_deploy.ymlto the pre–Oct 28 subscription layout (base commit3a8537cbf), with noread_replica_schema/read_replica_subscriptionjobs and no CI invocation ofscripts/sync-read-replica-schema.ts. - Kept the later
#3906deploy-scope change: nodeploy_r2_inventoryjob /r2_inventoryoutput (inventory consumer is no longer part of this workflow). - Updated release workflow unit tests to assert read-replica sync is absent from deploy CI.
Motivation (AI generated)
Read-replica schema/subscription sync in deploy CI caused production release breakage. Martin runs replica sync manually when needed; deploy must not gate on it.
Business Impact (AI generated)
Unblocks Capgo production releases without risking worker deploy stalls on Google Cloud SQL / publication refresh.
Test Plan (AI generated)
-
bun test tests/read-replica-release-workflow.unit.test.ts tests/read-replica-schema-new-table.unit.test.ts tests/capgo-release-workflow.unit.test.ts - Full CI on PR
Generated with AI


![View with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-dark-v3-3x.png)
![Autofix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark-3x.png)
Need help on this PR? Tag @codesmith-bot with what you need.
Summary by CodeRabbit
- Deployment Updates
- Production releases no longer wait for read-replica schema reconciliation. Supabase deployments, application and service deployments, and schema-type synchronization now proceed according to their existing change-scope and deployment conditions. This updates the release sequence without changing the scope checks or production requirements for schema-type synchronization.