import { Module } from '@nestjs/common'; import { AppModule } from './app.module'; import { WorkerRuntimeModule } from './worker/worker-runtime.module'; /** * Role "all": the API plus the worker loops in one process, for local * development and tests. Production refuses it (runtime/role.ts) and runs * api and worker as separate pods. No worker health server here - the * API's /health endpoints serve the process. */ @Module({ imports: [AppModule, WorkerRuntimeModule], }) export class AllInOneModule {}