Task Summary
amber/src/main/python/core/architecture/rpc/async_rpc_client.py has no dedicated spec. Add unit tests for the async_run decorator (running-loop vs. no-loop branches), _create_future (Future allocation + sequence/promise bookkeeping), _fulfill_promise (matching command_id resolves the future and clears the entry; mismatched id logs a warning without raising), receive (delegates command_id and return value), the _create_proxy Proxy stream-method blockers, and controller_stub returning the configured stub.
Task Type
Task Summary
amber/src/main/python/core/architecture/rpc/async_rpc_client.pyhas no dedicated spec. Add unit tests for theasync_rundecorator (running-loop vs. no-loop branches),_create_future(Future allocation + sequence/promise bookkeeping),_fulfill_promise(matching command_id resolves the future and clears the entry; mismatched id logs a warning without raising),receive(delegates command_id and return value), the_create_proxyProxy stream-method blockers, andcontroller_stubreturning the configured stub.Task Type