MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / durationForTestFile

Function durationForTestFile

e2e/scripts/ci-shard.ts:154–155  ·  view source on GitHub ↗
(target: CiTarget, path: string)

Source from the content-addressed store, hash-verified

152 * default for new and historically fast files.
153 */
154export const durationForTestFile = (target: CiTarget, path: string): number =>
155 OBSERVED_TEST_DURATIONS_MS[target][path] ?? UNKNOWN_TEST_DURATION_MS;
156
157/**
158 * Plans every shard with deterministic longest-processing-time bin packing.

Callers 2

ci-shard.test.tsFile · 0.90
planTargetShardsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected