Skip to content
vxvx
GitHubBlueskydev.toRSS

Longest chain first

The slow task stops starting last.

The longest chain of tasks scheduled first.

@vzn/vx-schedule-history learns task durations from your local run history and starts the longest remaining chain first. Short tasks fill the gaps.

A fresh CI runner has no history, so assume names durations up front for the tasks it has not seen.

// config

// vx.workspace.ts
import { defineWorkspace } from '@vzn/vx/config'
import { scheduleHistoryPlugin } from '@vzn/vx-schedule-history'

export default defineWorkspace({
  plugins: [scheduleHistoryPlugin({ assume: { 'docs#build': 30_000 } })],
})
Turborepo, Nx and other product names are trademarks of their owners. vx is not affiliated with or endorsed by them.