Something went wrong. Try again.
small gleam coding and persistent agent daemon with a detachable cli and a canvas ui forked from okami.mom/albedo
Something went wrong. Try again.
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 (Nov 21, 2026, 6:32 AM UTC) Commit
Copy SHA
Parent bcdf44de bcdf44de65072c55e86f2773fc3bd12b1aa2c787