fix: standardize startup database retries
Docker / Docker Build & Push (push) Failing after 3m19s
Lint / Lint (push) Successful in 34s
Tests / Go backend (push) Failing after 50s
Tests / Dashboard checks (push) Successful in 50s

This commit is contained in:
Gabriel20xx committed 2026-09-23 04:56:42 +02:00
1 parent 668e9dd310
commit d9e2d64535
6 files changed
+230 -44

No files matched your search

+3
View File
@@ -17,6 +17,9 @@ legacy package as a compatibility layer until every consumer has moved.
Pass a service-specific `tableName` to `runMigrations` when multiple services
share one PostgreSQL database, so their migration histories cannot collide.
Database startup uses `DB_INIT_RETRY_INTERVAL_MS` (default `5000`, minimum
`250`) and `DB_INIT_RETRY_MAX_ATTEMPTS` (default `0`, retry indefinitely).
Run `npm test` from this package or `npm run test --workspace=@gabriel20xx/node-backend` from `shared`.
## `authclient`/`coreconfig`: adopting AuthGuard instead of local auth