Skip to content
vxvx
GitHubBlueskydev.toRSS

Tasks packed by memory

The history plugin admits tasks by the peak memory they used before, so a run never runs out.

Tasks admitted against learned peak memory.

Eight test runners at 2 GB each will not fit on a 13 GB runner. Counting cores is not enough.

@vzn/vx-schedule-history remembers each task’s peak memory and starts a task only when its share fits.

// config

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

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