How long does the cart stay?

If I walk away from the cart, how long will it stay on the tracks?

As far as I know, indefinitely. But there has been times where the population enforcement has removed my cart. 

I do know now that after a server restart, it goes away. 

Yes, absolutely. They will not survive a server reboot. 

They changed something recently then? if you spawn one and walk away it can break pretty quickly. https://streamable.com/x7g99o - The same thing does happen even if you use the spawn workcart.entity command. It's fine if you are on it(in the trigger)

I think the work carts are just subject to default spawn limits.  There is probably a way to change this, ill have to look into it.

 

Nothing in my configuration or plugin is causing the carts to ent kill themselves.