fix(gateway): add missing @Inject() decorators causing silent startup hang #109

Merged
jason.woltje merged 1 commits from fix/gateway-silent-exit into main 2026-03-15 01:52:01 +00:00

1 Commits

Author SHA1 Message Date
4c37162b55 fix(gateway): add missing @Inject() decorators causing silent startup hang
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
tsx/esbuild doesn't support emitDecoratorMetadata, so NestJS can't
infer constructor parameter types at runtime. Three services were
missing explicit @Inject() decorators:

- SummarizationService: EmbeddingService parameter
- CronService: SummarizationService parameter
- SkillsController: SkillsService parameter

Without these, NestJS DI hangs forever during onModuleInit resolution
with no error output — the process silently exits (or hangs with a
keepAlive).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-14 20:51:36 -05:00