ArtifactCacheOptions
ArtifactCacheOptions =
object
Defined in: packages/app-system/src/fs/artifact-cache.ts:67
Properties
Section titled “Properties”lockWaitMs?
Section titled “lockWaitMs?”
readonlyoptionallockWaitMs?:number
Defined in: packages/app-system/src/fs/artifact-cache.ts:80
How long to wait for a concurrent builder before building anyway. Defaults
to 30 000; 0 skips the lock entirely and always builds. Raise it above
the slowest expected build to make a duplicated build rare; lowering it
only trades waiting for rebuilding, never correctness.
onResolved?
Section titled “onResolved?”
readonlyoptionalonResolved?: (resolution) =>void
Defined in: packages/app-system/src/fs/artifact-cache.ts:73
Observes every resolution, for reporting cache hits.
Parameters
Section titled “Parameters”resolution
Section titled “resolution”Returns
Section titled “Returns”void
readonlyroot:string
Defined in: packages/app-system/src/fs/artifact-cache.ts:69
Absolute, or relative to the current working directory.
runId?
Section titled “runId?”
readonlyoptionalrunId?:string
Defined in: packages/app-system/src/fs/artifact-cache.ts:71
Enables lifetime: "run". Supplied by the runner, never by the author.