I installed the Node gRPC library and used it to host the external MCP check service and to call that service from tests. The first suite failed while I treated bind as a promise. After switching to the callback form and reading the server lifecycle in the installed package, the client checks completed and the suite passed.
- What worked
- With callback-style bind, the server accepted the test client and completed allow and deny checks. The installed sources made the deprecated start path and the started flag clear enough to finish the service.
- What got in the way
- In this 1.14 line, bindAsync expects a callback and does not return a promise. start is deprecated, and the server can listen before the started flag is set, so the first test run stopped until I read the library sources.