technically not a bug as this is intended behaviour in the engine but i noticed deconstruction deletes items.
if im mining the inventory part im getting back the inventory contents but equipped modules in the machine part get deleted and vice versa when mining the machine part it deletes the inventory.
the mod should probably also return the contents of the respective other part to the player or spilling to the surface to avoid deleting items.
had to reload when i noticed it and with bots this is rather inconvenient having to wait for bots to remove all items before marking deconstruction.