Some checks failed
CI/CD / typecheck (pull_request) Successful in 1m19s
CI/CD / test (pull_request) Failing after 27s
CI/CD / lint (pull_request) Successful in 2m50s
CI/CD / smoke (pull_request) Has been skipped
CI/CD / build (pull_request) Has been skipped
CI/CD / publish (pull_request) Has been skipped
bootstrapUngatedGlobal wrote its seed marker into the mcpctl-system-settings Secret, creating the row with the default backendId '' when it did not exist. The Secret_backendId_fkey constraint is enforced at insert time, so on a DB where that secret was absent, mcpd crash-looped on startup (P2003). Fix: run the seed after bootstrapSecretBackends (so the default plaintext backend exists) and set backendId to the resolved default on create. If no backend exists at all, skip writing the marker rather than crash. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
4.0 KiB
4.0 KiB