workers using *state.State

William Reade william.reade at canonical.com
Tue Sep 8 07:12:32 UTC 2015


People keep writing them, in defiance of sane layering and explicit
instructions, for the most embarrassingly trivial tasks
(statushistorypruner? dblogpruner? txnpruner? *all* of those can and should
pass through a simple api facade, not just dance off to play with the
direct-db-access fairies.)

There is no justification for *any* of those things to see a *state.State,
and I'm going to start treating new workers that violate layering this way
as deliberate sabotage attempts. Leads who have overseen the introduction
of those workers, sort it out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20150908/84ce0ab6/attachment.html>


More information about the Juju-dev mailing list