Skip to content

buildInsertRunInput

buildInsertRunInput(opts): object

Defined in: packages/core/src/observe/build-inputs.ts:48

Build a validated InsertRunInput for the “test run is starting” write. Centralises the shape both plugin-bun and plugin-vitest were hand-rolling, including the process.argv reconstruction and the git-info/project fallbacks.

BuildInsertRunInputOpts

object

optional gitDirty?: boolean | null

optional gitSha?: string | null

optional project?: string | null

runId: string

optional runtimeVersion?: string | null

startedAt: string

optional testArgs?: string | null