[2.0.49] Construction bots may deadlock
Posted: Thu May 15, 2025 9:52 am
To reproduce:
- Have a storage chest filled with items for which it is the only chest in the network that will accept it
- Try to move the chest by cutting and pasting it
This results in construction bots picking up the items from the chest and getting stuck in the air as they have nowhere to drop the items. Normally this should last until the chest is built at the new location, but in this scenario, the chest never gets built, despite there being spare chests and idle bots in the network. I guess the task of building the chest is over-optimistically assigned to one of the bots taking items from the chest, and is not reassigned to another bot when the original bot fails to finish its task on time. The workaround is to either manually build the chest or deconstruct the ghost and then immediately undo the deconstruction.
- Have a storage chest filled with items for which it is the only chest in the network that will accept it
- Try to move the chest by cutting and pasting it
This results in construction bots picking up the items from the chest and getting stuck in the air as they have nowhere to drop the items. Normally this should last until the chest is built at the new location, but in this scenario, the chest never gets built, despite there being spare chests and idle bots in the network. I guess the task of building the chest is over-optimistically assigned to one of the bots taking items from the chest, and is not reassigned to another bot when the original bot fails to finish its task on time. The workaround is to either manually build the chest or deconstruct the ghost and then immediately undo the deconstruction.