buildApp() returns the configured Fastify instance without listening, so tests can drive it with inject(). Shutdown of database, Redis and queue connections now lives in one place shared by the server and worker. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MzFywujuH9TiuXbr9vjoX8