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.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”object
gitDirty?
Section titled “gitDirty?”
optionalgitDirty?:boolean|null
gitSha?
Section titled “gitSha?”
optionalgitSha?:string|null
project?
Section titled “project?”
optionalproject?:string|null
runId:
string
runtimeVersion?
Section titled “runtimeVersion?”
optionalruntimeVersion?:string|null
startedAt
Section titled “startedAt”startedAt:
string
testArgs?
Section titled “testArgs?”
optionaltestArgs?:string|null