Forcing agent code to all devices in the model

I’ve looked around and cannot seem to find a good way to do this.

I’ve got a model with 100+ devices attached to it. Whenever I make a change to the Agent code I have to manually build and run the code on all devices.

Is there no way to force the units to update?

I’ve tried using server.restart on the device side as I figured that would force a refresh, but it only seems to work for impOS updates, but not agent code changes.

Use the Build API’s /models/[id]/restart command to restart all of a model’s devices at once. The linked page has instructions on how to issue the command.

…but also note, this is exactly what a commercial user’s deploy functionality does.

Are you running 100+ devices in a non-commercial capacity?