• v2.0.1 30ba73c4f1

    Various run execution fixes (incl massive memory bloat issue)

    frostbyte_neo released this 2023-09-05 08:51:43 +00:00 | 4025 commits to main since this release

    This commit fixes various issues with run executions, including a pretty gnarly memory bloat issue when resuming a run that had a decent number of completed tasks (e.g. anything over a few). Other issues fixed:

    • Run executions no longer are bound to a queue, which will allow more parallel runs in a single job (instead of 1).
    • Serverless function timeouts (504) errors are now handled better, and no longer are retried using the graphile worker failure/retry mechanism (causing massive delays).
    • Fixed the job_key design of the performRunExecutionV2 task, which will ensure resumed runs are executed
    • Added a mechanism to measure the amount of execution time a given run has accrued, and added a maximum execution duration on the org to be able to limit total execution time for a single run
    Downloads