canonical / pebble

Take control of your internal daemons!
GNU General Public License v3.0
136 stars 51 forks source link

fix(planstate): don't hold planLock while calling plan-changed listeners #436

Closed benhoyt closed 4 days ago

benhoyt commented 1 week ago

Some listeners do quite a bit of stuff (check manager and log manager), and they're defined in packages external to the planstate package, so it's best to avoid holding our plan lock for the duration.

See spec OP040.

Also: