• Lead VietProDev's avatar
    fix(server): remove unimplemented autoLoadPools calls · ad7fda59
    Lead VietProDev authored
    server.ts had two calls to MultiPoolService.autoLoadPools() but the method
    does not exist in multiPoolService.ts — it was scaffolded for Phase 3
    (multi-project SSO) but never implemented. The orphaned calls caused 2
    TypeScript compilation errors, blocking `pnpm tsc --noEmit` and preventing
    the project from reaching a clean state.
    
    Both call sites are replaced with a // TODO(phase3) comment pointing back
    to line ~447 so Phase 3 implementers know where to re-add the logic.
    
    Impact: none for the current SSO flows (Phase 1 OIDC, Phase 2 email
    verification). projectIntegrationService.findUserByEmail(appCode, email)
    still needs a pool to exist — Phase 3 will wire createPool() here so that
    ProjectUserReaderService can resolve cross-project user lookups.
    
    admin/health.ts / adminService.ts / projectIntegrationService.ts are not
    touched because they only use the existing public API
    (createPool/getPool/listPools/healthCheck).
    Co-authored-by: 's avatarCursor <cursoragent@cursor.com>
    ad7fda59
Name
Last commit
Last update
..
audit Loading commit data...
config Loading commit data...
constants Loading commit data...
contracts Loading commit data...
controllers Loading commit data...
database Loading commit data...
interfaces Loading commit data...
jobs Loading commit data...
middlewares Loading commit data...
models Loading commit data...
oidc Loading commit data...
providers Loading commit data...
services Loading commit data...
templates Loading commit data...
tracing Loading commit data...
utils Loading commit data...
workers Loading commit data...
index.ts Loading commit data...
root.ts Loading commit data...
server.ts Loading commit data...