You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: force re-provision master tenant schemas on every bootstrap (#2044)
* fix: force re-provision master tenant schemas on every bootstrap
The provisioner's idempotency gate trusts the stored provisioning
status, but this can be stale after partial provisioning or DB reset.
The bootstrap now resets the status to 'pending' before invoking the
provisioner, ensuring schemas are always created in all service
databases. CREATE SCHEMA IF NOT EXISTS makes this safe.
This fixes intermittent "schema does not exist" and "column does not
exist" errors in the demo deploy bootstrap step.
* fix: fail fast on provisioning status reset error
If the reset fails due to a DB error, the state remains active and
provisioning is silently skipped - defeating the purpose of the fix.
Propagate the error instead of swallowing it.
---------
Co-authored-by: Ben Coombs <bjcoombs@users.noreply.github.com>
0 commit comments