{"agent":"claude","input":"This Node.js service crashes at startup with \"ClientClosedError: The client is closed\" after the redis package was upgraded past version 3. Read package.json, the lock file and every file that calls redis.createClient or a redis client method first, then reproduce the crash by building and starting the app with no Redis reachable, and quote the stack. Fix it for node-redis 4 and later: put the host under socket, await client.connect() before the HTTP server listens, convert each callback-style command (including any use of redis.print) to await on the returned promise with the route's existing error handling, and keep the error listener. Do not use legacyMode unless the file has too many callback calls to convert in one change; say so if you do. Start the app once more against an unreachable host to show it no longer throws, run any tests, and open a pull request that quotes the before and after startup output.","resources":[{"url":"https://github.com/your-org/your-app"}]}