openSUSE / agama

A service-based Linux installer
GNU General Public License v2.0
124 stars 36 forks source link

feat(storage): avoid reference to compound actions #1410

Closed joseivanlopez closed 1 week ago

joseivanlopez commented 1 week ago

A hot-fix was implemeted by https://github.com/openSUSE/agama/pull/1400 in order to avoid possible segmentation fault when generating the list of storage actions.

This PR provides a better solution. It avoids references to CompoundAction objects instead of keeping an unnecessary reference to the source Actiongraph object.

See https://github.com/openSUSE/agama/issues/1396

coveralls commented 1 week ago

Coverage Status

coverage: 71.406% (+0.006%) from 71.4% when pulling 0638ef981b377ba3449291a7c6d3b8d9394668ac on avoid-actiongraph-ref into fc04e352c422c6446f7f0ee8f496481e9feef4ae on master.

coveralls commented 1 week ago

Coverage Status

coverage: 71.406% (+0.006%) from 71.4% when pulling 591c536c9e17f43e2349154a189aa653d8ee2814 on avoid-actiongraph-ref into fc04e352c422c6446f7f0ee8f496481e9feef4ae on master.