Skip to content

2.0.1 - Fixes and improvements

Compare
Choose a tag to compare
@ericallam ericallam released this 06 Sep 12:08
· 1774 commits to main since this release

This release 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). This has been released to cloud.trigger.dev but if you are self-hosting I recommend upgrading to this version ASAP.

Other notable fixes:

  • Run executions no longer are bound to a queue, which will allow more parallel runs in a single job (instead of 1). @ericallam
  • 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. The default is 15 minutes and is stored in the Organization.maximumExecutionTimePerRunInMs column
  • Improved the dashboard performance when viewing a run with large task outputs. The perf issue was on account of syntax highlighting so any task with an output of greater than 1k lines will forego syntax highlighting.
  • #394 : Reduced graphile worker load by decreasing max attempt counts on tasks that hit development endpoints (thanks @Chigala!)