id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,launchpad_bug 2826,CLI: allow dispatch functions to return a Deferred,warner,warner,"This will enable #2490 to run (async) Tor operations during `tahoe create-node --listen=tor`. Currently all CLI dispatch functions must finish synchronously. The file-operation subcommands, which use blocking `httplib` calls, must be run from unit tests under `deferToThread`. #2825 is about fixing that, but this ticket will do some cleanup that will help. Specifically it will move the deferToThread down into `runner.py`, using the thread only on the subcommands which really need it. After this is fixed, there should be no deferToThread calls in the unit tests. ",task,closed,normal,1.12.0,code,1.11.0,fixed,,,