How long can tasks run?
Most tasks run very quickly (less than a second, on average), but some tasks take much longer. Naturally, tasks that make many requests to Shopify (or use large volumes of data) can take a while.
We don't have any hard limit on how long tasks can run (though do note our concurrency limits), but our platform does cycle our workers every 24 hours. This means that all long-running tasks run the risk of being interrupted, and will certainly be interrupted at the 24 hour mark.