small gleam coding and persistent agent daemon with a detachable cli and a canvas ui forked from okami.mom/albedo

test(mcp): write the MCP client lifecycle fakes in Gleam

albedo_mcp_client_test_support built stdio transports for the fake MCP server, counted a client's ports, ran a minimal HTTP MCP server, and traced the client's loop to check that finished POST workers are dropped. All of it moves into mcp_client_lifecycle_test.gleam over support/scratch and support/tcp, with a typed message for each of the fake controller's counts and waits. The trace check still walks the traced loop state's tuples, maps and lists for the worker's pid, so it stays independent of the State layout. Every wait for an expected file, reply, exit or trace rises to 10 s (from 5 s or 8 s); the client's own request and start deadlines are unchanged.


Author aly.codes
Date Commit Parent bcdf44de
+615 -414
2 changed files
+615 -414
2 changed files