@overkill-dev/run 0.0.61 → 0.0.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (278) hide show
  1. package/assertion-protocol/assertion-node.d.ts +0 -15
  2. package/assertion-protocol/assertion-node.d.ts.map +1 -1
  3. package/assertion-protocol/assertion-reference.d.ts +0 -21
  4. package/assertion-protocol/assertion-reference.d.ts.map +1 -1
  5. package/assertion-protocol/assertion-reference.js +3 -30
  6. package/assertion-protocol/assertion-reference.js.map +1 -1
  7. package/assertion-protocol/assertions/boolean.d.ts +0 -7
  8. package/assertion-protocol/assertions/boolean.d.ts.map +1 -1
  9. package/assertion-protocol/assertions/collection.d.ts +0 -9
  10. package/assertion-protocol/assertions/collection.d.ts.map +1 -1
  11. package/assertion-protocol/assertions/equality.d.ts +0 -11
  12. package/assertion-protocol/assertions/equality.d.ts.map +1 -1
  13. package/assertion-protocol/assertions/fail.d.ts +0 -5
  14. package/assertion-protocol/assertions/fail.d.ts.map +1 -1
  15. package/assertion-protocol/assertions/numeric.d.ts +0 -13
  16. package/assertion-protocol/assertions/numeric.d.ts.map +1 -1
  17. package/assertion-protocol/assertions/partial.d.ts +0 -9
  18. package/assertion-protocol/assertions/partial.d.ts.map +1 -1
  19. package/assertion-protocol/assertions/presence.d.ts +0 -11
  20. package/assertion-protocol/assertions/presence.d.ts.map +1 -1
  21. package/assertion-protocol/assertions/string.d.ts +0 -13
  22. package/assertion-protocol/assertions/string.d.ts.map +1 -1
  23. package/assertion-protocol/assertions/type-shape.d.ts +0 -19
  24. package/assertion-protocol/assertions/type-shape.d.ts.map +1 -1
  25. package/assertion-protocol/source-location-forwarding.js +1 -7
  26. package/assertion-protocol/source-location-forwarding.js.map +1 -1
  27. package/assertion-protocol/thrown-error-record.d.ts +0 -1
  28. package/assertion-protocol/thrown-error-record.d.ts.map +1 -1
  29. package/assertion-protocol/thrown-matcher.d.ts +1 -18
  30. package/assertion-protocol/thrown-matcher.d.ts.map +1 -1
  31. package/compare/serialized-value-shape.d.ts +0 -9
  32. package/compare/serialized-value-shape.d.ts.map +1 -1
  33. package/compare/serialized-value.d.ts +1 -8
  34. package/compare/serialized-value.d.ts.map +1 -1
  35. package/engine/assertion-facade.d.ts +2 -5
  36. package/engine/assertion-facade.d.ts.map +1 -1
  37. package/engine/async-control.d.ts +0 -26
  38. package/engine/async-control.d.ts.map +1 -1
  39. package/engine/case-execution.d.ts +1 -14
  40. package/engine/case-execution.d.ts.map +1 -1
  41. package/engine/coverage-artifact.d.ts +2 -3
  42. package/engine/coverage-artifact.d.ts.map +1 -1
  43. package/engine/custom-assertion-recording.js +1 -1
  44. package/engine/custom-assertion-recording.js.map +1 -1
  45. package/engine/engine.d.ts +1 -8
  46. package/engine/engine.d.ts.map +1 -1
  47. package/engine/execution-global-error-observer.d.ts +0 -3
  48. package/engine/execution-global-error-observer.d.ts.map +1 -1
  49. package/engine/execution-global-error-observer.js +1 -31
  50. package/engine/execution-global-error-observer.js.map +1 -1
  51. package/engine/execution-options.d.ts +0 -6
  52. package/engine/execution-options.d.ts.map +1 -1
  53. package/engine/execution-resource-budget-breach.d.ts +0 -9
  54. package/engine/execution-resource-budget-breach.d.ts.map +1 -1
  55. package/engine/execution-supervision.d.ts +0 -16
  56. package/engine/execution-supervision.d.ts.map +1 -1
  57. package/engine/execution.d.ts +1 -12
  58. package/engine/execution.d.ts.map +1 -1
  59. package/engine/identity.d.ts +0 -6
  60. package/engine/identity.d.ts.map +1 -1
  61. package/engine/reporter-dispatcher.d.ts +1 -11
  62. package/engine/reporter-dispatcher.d.ts.map +1 -1
  63. package/engine/reporter-output.d.ts +0 -6
  64. package/engine/reporter-output.d.ts.map +1 -1
  65. package/engine/reporter.d.ts +0 -16
  66. package/engine/reporter.d.ts.map +1 -1
  67. package/engine/reporting-context.d.ts +1 -13
  68. package/engine/reporting-context.d.ts.map +1 -1
  69. package/engine/require-assertion-facade.d.ts +2 -5
  70. package/engine/require-assertion-facade.d.ts.map +1 -1
  71. package/engine/run-result.d.ts +1 -57
  72. package/engine/run-result.d.ts.map +1 -1
  73. package/engine/run-result.js.map +1 -1
  74. package/engine/run-timings.d.ts +0 -18
  75. package/engine/run-timings.d.ts.map +1 -1
  76. package/engine/test-body-resource-attachment.d.ts +0 -12
  77. package/engine/test-body-resource-attachment.d.ts.map +1 -1
  78. package/engine/test-body-resource-attachment.js +3 -134
  79. package/engine/test-body-resource-attachment.js.map +1 -1
  80. package/engine/test-data.d.ts +0 -6
  81. package/engine/test-data.d.ts.map +1 -1
  82. package/engine/test-node.d.ts +0 -21
  83. package/engine/test-node.d.ts.map +1 -1
  84. package/engine/test-node.js +1 -20
  85. package/engine/test-node.js.map +1 -1
  86. package/engine/test-plan.d.ts +1 -4
  87. package/engine/test-plan.d.ts.map +1 -1
  88. package/package.json +6 -2
  89. package/packages/run/config.entry-point.d.ts +3 -2
  90. package/packages/run/config.entry-point.d.ts.map +1 -1
  91. package/packages/run/config.entry-point.js +2 -1
  92. package/packages/run/config.entry-point.js.map +1 -1
  93. package/packages/run/run.entry-point.d.ts +2 -2
  94. package/packages/run/run.entry-point.d.ts.map +1 -1
  95. package/readme.md +5 -1
  96. package/reporters/human-reporter-rendering.js +2 -2
  97. package/reporters/human-reporter-rendering.js.map +1 -1
  98. package/reporters/line-reporter.js +4 -10
  99. package/reporters/line-reporter.js.map +1 -1
  100. package/reporters/run-summary-rendering.js +23 -0
  101. package/reporters/run-summary-rendering.js.map +1 -1
  102. package/reporters/tree-reporter.js +2 -103
  103. package/reporters/tree-reporter.js.map +1 -1
  104. package/resources/resource-definition-shape.d.ts +0 -2
  105. package/resources/resource-definition-shape.d.ts.map +1 -1
  106. package/resources/resource-definition-types.d.ts +1 -96
  107. package/resources/resource-definition-types.d.ts.map +1 -1
  108. package/resources/resource-definition.js.map +1 -1
  109. package/resources/resource-lifecycle-error.d.ts +0 -1
  110. package/resources/resource-lifecycle-error.d.ts.map +1 -1
  111. package/resources/resource-lifecycle-error.js +17 -1
  112. package/resources/resource-lifecycle-error.js.map +1 -1
  113. package/resources/resource-scenario-binding.js +1 -69
  114. package/resources/resource-scenario-binding.js.map +1 -1
  115. package/resources/resource-scenario.d.ts +0 -19
  116. package/resources/resource-scenario.d.ts.map +1 -1
  117. package/resources/resource-session.d.ts +1 -20
  118. package/resources/resource-session.d.ts.map +1 -1
  119. package/resources/resources.d.ts +5 -88
  120. package/resources/resources.d.ts.map +1 -1
  121. package/resources/resources.js +2 -75
  122. package/resources/resources.js.map +1 -1
  123. package/resources/runtime-definition.d.ts +0 -7
  124. package/resources/runtime-definition.d.ts.map +1 -1
  125. package/resources/runtime-definition.js +2 -57
  126. package/resources/runtime-definition.js.map +1 -1
  127. package/resources/runtime-matrix-definition.d.ts +0 -36
  128. package/resources/runtime-matrix-definition.d.ts.map +1 -1
  129. package/run/capability-policy-snapshots.d.ts +0 -19
  130. package/run/capability-policy-snapshots.d.ts.map +1 -1
  131. package/run/command-line-command-namespace.d.ts +0 -5
  132. package/run/command-line-command-namespace.d.ts.map +1 -1
  133. package/run/command-line-command.d.ts +2 -5
  134. package/run/command-line-command.d.ts.map +1 -1
  135. package/run/command-line-command.js +1 -2
  136. package/run/command-line-command.js.map +1 -1
  137. package/run/command-line-runner.d.ts +0 -2
  138. package/run/command-line-runner.d.ts.map +1 -1
  139. package/run/coverage-config-schema.d.ts +50 -0
  140. package/run/coverage-config-schema.d.ts.map +1 -0
  141. package/run/coverage-config-schema.js +36 -0
  142. package/run/coverage-config-schema.js.map +1 -0
  143. package/run/coverage-paths.js +5 -0
  144. package/run/coverage-paths.js.map +1 -0
  145. package/run/coverage-reporting.js +6 -139
  146. package/run/coverage-reporting.js.map +1 -1
  147. package/run/coverage-session.js +1 -2
  148. package/run/coverage-session.js.map +1 -1
  149. package/run/current-process-run-orchestrator.d.ts +1 -5
  150. package/run/current-process-run-orchestrator.d.ts.map +1 -1
  151. package/run/duration-history.d.ts +0 -30
  152. package/run/duration-history.d.ts.map +1 -1
  153. package/run/placement-trace.d.ts +0 -18
  154. package/run/placement-trace.d.ts.map +1 -1
  155. package/run/profile-config-normalization.js +136 -0
  156. package/run/profile-config-normalization.js.map +1 -0
  157. package/run/resource-lifecycle-composition.d.ts +0 -3
  158. package/run/resource-lifecycle-composition.d.ts.map +1 -1
  159. package/run/resource-lifecycle-composition.js +1 -14
  160. package/run/resource-lifecycle-composition.js.map +1 -1
  161. package/run/resource-lifecycle-state.d.ts +0 -3
  162. package/run/resource-lifecycle-state.d.ts.map +1 -1
  163. package/run/run-collection-source.d.ts +1 -5
  164. package/run/run-collection-source.d.ts.map +1 -1
  165. package/run/run-config-defaults.js +13 -0
  166. package/run/run-config-defaults.js.map +1 -1
  167. package/run/run-config-schema.d.ts +51 -4
  168. package/run/run-config-schema.d.ts.map +1 -1
  169. package/run/run-config-schema.js +2 -0
  170. package/run/run-config-schema.js.map +1 -1
  171. package/run/run-config.d.ts +6 -5
  172. package/run/run-config.d.ts.map +1 -1
  173. package/run/run-config.js +12 -88
  174. package/run/run-config.js.map +1 -1
  175. package/run/run-coverage.js +12 -1
  176. package/run/run-coverage.js.map +1 -1
  177. package/run/run-discovery-types.d.ts +0 -14
  178. package/run/run-discovery-types.d.ts.map +1 -1
  179. package/run/run-engine-primitives.d.ts +10 -0
  180. package/run/run-engine-primitives.d.ts.map +1 -0
  181. package/run/run-engine-selection.d.ts +0 -10
  182. package/run/run-engine-selection.d.ts.map +1 -1
  183. package/run/run-errors.d.ts +3 -2
  184. package/run/run-errors.d.ts.map +1 -1
  185. package/run/run-errors.js +6 -0
  186. package/run/run-errors.js.map +1 -1
  187. package/run/run-if-main-options.d.ts +0 -7
  188. package/run/run-if-main-options.d.ts.map +1 -1
  189. package/run/run-if-main-profile.d.ts +1 -2
  190. package/run/run-if-main-profile.d.ts.map +1 -1
  191. package/run/run-if-main-profile.js +1 -1
  192. package/run/run-if-main-profile.js.map +1 -1
  193. package/run/run-if-main.d.ts +0 -1
  194. package/run/run-if-main.d.ts.map +1 -1
  195. package/run/run-local-command.js +2 -1
  196. package/run/run-local-command.js.map +1 -1
  197. package/run/run-orchestrator-dependencies.d.ts +1 -6
  198. package/run/run-orchestrator-dependencies.d.ts.map +1 -1
  199. package/run/run-orchestrator.d.ts +0 -8
  200. package/run/run-orchestrator.d.ts.map +1 -1
  201. package/run/run-orchestrator.entry-point.d.ts +1 -1
  202. package/run/run-orchestrator.entry-point.d.ts.map +1 -1
  203. package/run/run-selection-filters.d.ts +2 -11
  204. package/run/run-selection-filters.d.ts.map +1 -1
  205. package/run/run-supervised-process.js +1 -0
  206. package/run/run-supervised-process.js.map +1 -1
  207. package/run/run-support.js +19 -0
  208. package/run/run-support.js.map +1 -1
  209. package/run/run-test-modules.d.ts +0 -4
  210. package/run/run-test-modules.d.ts.map +1 -1
  211. package/run/run-timing-collection.d.ts +0 -21
  212. package/run/run-timing-collection.d.ts.map +1 -1
  213. package/run/run-types.d.ts +21 -1
  214. package/run/run-types.d.ts.map +1 -1
  215. package/run/run-types.js.map +1 -1
  216. package/run/run.d.ts +0 -3
  217. package/run/run.d.ts.map +1 -1
  218. package/run/supervised-child-execution.js +38 -0
  219. package/run/supervised-child-execution.js.map +1 -0
  220. package/run/supervised-child-process.d.ts +1 -53
  221. package/run/supervised-child-process.d.ts.map +1 -1
  222. package/run/supervised-child-process.js +1 -5
  223. package/run/supervised-child-process.js.map +1 -1
  224. package/run/supervised-child-test-plan.js.map +1 -1
  225. package/run/supervised-child.js +4 -36
  226. package/run/supervised-child.js.map +1 -1
  227. package/run/supervised-run-runtime.js.map +1 -1
  228. package/run/worker-pool-output.js +1 -1
  229. package/run/worker-pool-output.js.map +1 -1
  230. package/run/worker-pool-run.js +1 -7
  231. package/run/worker-pool-run.js.map +1 -1
  232. package/run/worker-pool-warm-lane-affinity.d.ts +0 -11
  233. package/run/worker-pool-warm-lane-affinity.d.ts.map +1 -1
  234. package/run/worker-pool-worker-plan.js.map +1 -1
  235. package/run/worker-pool-worker-resources.js.map +1 -1
  236. package/run/worker-pool-worker.js +1 -1
  237. package/run/worker-pool-worker.js.map +1 -1
  238. package/sbom.cdx.json +5 -5
  239. package/assertion-protocol/assertion-evaluation.d.ts +0 -13
  240. package/assertion-protocol/assertion-evaluation.d.ts.map +0 -1
  241. package/assertion-protocol/evaluation.d.ts +0 -32
  242. package/assertion-protocol/evaluation.d.ts.map +0 -1
  243. package/assertion-protocol/source-location-forwarding.d.ts +0 -4
  244. package/assertion-protocol/source-location-forwarding.d.ts.map +0 -1
  245. package/assertion-protocol/source-location.d.ts +0 -8
  246. package/assertion-protocol/source-location.d.ts.map +0 -1
  247. package/compare/comparison-result.d.ts +0 -25
  248. package/compare/comparison-result.d.ts.map +0 -1
  249. package/compare/comparison.d.ts +0 -12
  250. package/compare/comparison.d.ts.map +0 -1
  251. package/engine/async-leak-diagnostics.d.ts +0 -27
  252. package/engine/async-leak-diagnostics.d.ts.map +0 -1
  253. package/engine/custom-assertion-recording.d.ts +0 -33
  254. package/engine/custom-assertion-recording.d.ts.map +0 -1
  255. package/engine/execution-async-leak-policy.d.ts +0 -24
  256. package/engine/execution-async-leak-policy.d.ts.map +0 -1
  257. package/engine/execution-supervision-state.d.ts +0 -30
  258. package/engine/execution-supervision-state.d.ts.map +0 -1
  259. package/engine/reporter-disposal.d.ts +0 -6
  260. package/engine/reporter-disposal.d.ts.map +0 -1
  261. package/packages/engine/assertion-protocol.entry-point.d.ts +0 -10
  262. package/packages/engine/assertion-protocol.entry-point.d.ts.map +0 -1
  263. package/packages/engine/assertion-protocol.entry-point.js +0 -5
  264. package/packages/engine/assertion-protocol.entry-point.js.map +0 -1
  265. package/packages/engine/engine.entry-point.d.ts +0 -58
  266. package/packages/engine/engine.entry-point.d.ts.map +0 -1
  267. package/packages/engine/engine.entry-point.js +0 -75
  268. package/packages/engine/engine.entry-point.js.map +0 -1
  269. package/resources/resource-definition-brand.d.ts +0 -2
  270. package/resources/resource-definition-brand.d.ts.map +0 -1
  271. package/resources/resource-graph.d.ts +0 -24
  272. package/resources/resource-graph.d.ts.map +0 -1
  273. package/resources/resource-scenario-binding.d.ts +0 -37
  274. package/resources/resource-scenario-binding.d.ts.map +0 -1
  275. package/run/duration-history-schema.d.ts +0 -251
  276. package/run/duration-history-schema.d.ts.map +0 -1
  277. package/run/supervised-run-state.d.ts +0 -44
  278. package/run/supervised-run-state.d.ts.map +0 -1
@@ -1,251 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const durationHistoryIndexVersion = 2;
3
- declare const entrySchema: z.ZodReadonly<z.ZodObject<{
4
- observations: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
5
- durationMicroseconds: z.ZodNumber;
6
- metadata: z.ZodReadonly<z.ZodObject<{
7
- processModel: z.ZodUnion<readonly [z.ZodLiteral<"in-process">, z.ZodLiteral<"supervised-process">, z.ZodLiteral<"worker-pool">]>;
8
- profile: z.ZodString;
9
- scheduling: z.ZodUnion<readonly [z.ZodLiteral<"concurrent">, z.ZodLiteral<"serial">]>;
10
- testFamily: z.ZodUnion<readonly [z.ZodLiteral<"integration">, z.ZodLiteral<"microtest">]>;
11
- workerLifecycle: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<"fresh-worker-per-unit">, z.ZodLiteral<"reuse">]>>;
12
- }, z.core.$strict>>;
13
- observedAt: z.ZodISODateTime;
14
- }, z.core.$strict>>, z.ZodPipe<z.ZodReadonly<z.ZodObject<{
15
- durationMilliseconds: z.ZodNumber;
16
- metadata: z.ZodReadonly<z.ZodObject<{
17
- processModel: z.ZodUnion<readonly [z.ZodLiteral<"in-process">, z.ZodLiteral<"supervised-process">, z.ZodLiteral<"worker-pool">]>;
18
- profile: z.ZodString;
19
- scheduling: z.ZodUnion<readonly [z.ZodLiteral<"concurrent">, z.ZodLiteral<"serial">]>;
20
- testFamily: z.ZodUnion<readonly [z.ZodLiteral<"integration">, z.ZodLiteral<"microtest">]>;
21
- workerLifecycle: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<"fresh-worker-per-unit">, z.ZodLiteral<"reuse">]>>;
22
- }, z.core.$strict>>;
23
- observedAt: z.ZodISODateTime;
24
- }, z.core.$strict>>, z.ZodTransform<{
25
- durationMicroseconds: number;
26
- metadata: Readonly<{
27
- processModel: "in-process" | "supervised-process" | "worker-pool";
28
- profile: string;
29
- scheduling: "serial" | "concurrent";
30
- testFamily: "integration" | "microtest";
31
- workerLifecycle: "fresh-worker-per-unit" | "reuse" | null;
32
- }>;
33
- observedAt: string;
34
- }, Readonly<{
35
- durationMilliseconds: number;
36
- metadata: Readonly<{
37
- processModel: "in-process" | "supervised-process" | "worker-pool";
38
- profile: string;
39
- scheduling: "serial" | "concurrent";
40
- testFamily: "integration" | "microtest";
41
- workerLifecycle: "fresh-worker-per-unit" | "reuse" | null;
42
- }>;
43
- observedAt: string;
44
- }>>>]>>>;
45
- work: z.ZodReadonly<z.ZodObject<{
46
- case: z.ZodReadonly<z.ZodObject<{
47
- file: z.ZodNullable<z.ZodString>;
48
- params: z.ZodNullable<z.ZodString>;
49
- suite: z.ZodReadonly<z.ZodArray<z.ZodString>>;
50
- title: z.ZodString;
51
- }, z.core.$strict>>;
52
- runtimes: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
53
- dimensions: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodString>>;
54
- name: z.ZodString;
55
- scenarios: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodString>>;
56
- variantId: z.ZodNullable<z.ZodString>;
57
- }, z.core.$strict>>>>;
58
- workload: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
59
- name: z.ZodString;
60
- params: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodString>>;
61
- }, z.core.$strict>>>;
62
- }, z.core.$strict>>;
63
- }, z.core.$strict>>;
64
- type CurrentDurationHistoryIndex = {
65
- readonly entries: readonly z.output<typeof entrySchema>[];
66
- readonly updatedAt: string;
67
- readonly version: typeof durationHistoryIndexVersion;
68
- };
69
- export declare const durationHistoryIndexSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
70
- entries: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
71
- observations: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
72
- durationMicroseconds: z.ZodNumber;
73
- metadata: z.ZodReadonly<z.ZodObject<{
74
- processModel: z.ZodUnion<readonly [z.ZodLiteral<"in-process">, z.ZodLiteral<"supervised-process">, z.ZodLiteral<"worker-pool">]>;
75
- profile: z.ZodString;
76
- scheduling: z.ZodUnion<readonly [z.ZodLiteral<"concurrent">, z.ZodLiteral<"serial">]>;
77
- testFamily: z.ZodUnion<readonly [z.ZodLiteral<"integration">, z.ZodLiteral<"microtest">]>;
78
- workerLifecycle: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<"fresh-worker-per-unit">, z.ZodLiteral<"reuse">]>>;
79
- }, z.core.$strict>>;
80
- observedAt: z.ZodISODateTime;
81
- }, z.core.$strict>>, z.ZodPipe<z.ZodReadonly<z.ZodObject<{
82
- durationMilliseconds: z.ZodNumber;
83
- metadata: z.ZodReadonly<z.ZodObject<{
84
- processModel: z.ZodUnion<readonly [z.ZodLiteral<"in-process">, z.ZodLiteral<"supervised-process">, z.ZodLiteral<"worker-pool">]>;
85
- profile: z.ZodString;
86
- scheduling: z.ZodUnion<readonly [z.ZodLiteral<"concurrent">, z.ZodLiteral<"serial">]>;
87
- testFamily: z.ZodUnion<readonly [z.ZodLiteral<"integration">, z.ZodLiteral<"microtest">]>;
88
- workerLifecycle: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<"fresh-worker-per-unit">, z.ZodLiteral<"reuse">]>>;
89
- }, z.core.$strict>>;
90
- observedAt: z.ZodISODateTime;
91
- }, z.core.$strict>>, z.ZodTransform<{
92
- durationMicroseconds: number;
93
- metadata: Readonly<{
94
- processModel: "in-process" | "supervised-process" | "worker-pool";
95
- profile: string;
96
- scheduling: "serial" | "concurrent";
97
- testFamily: "integration" | "microtest";
98
- workerLifecycle: "fresh-worker-per-unit" | "reuse" | null;
99
- }>;
100
- observedAt: string;
101
- }, Readonly<{
102
- durationMilliseconds: number;
103
- metadata: Readonly<{
104
- processModel: "in-process" | "supervised-process" | "worker-pool";
105
- profile: string;
106
- scheduling: "serial" | "concurrent";
107
- testFamily: "integration" | "microtest";
108
- workerLifecycle: "fresh-worker-per-unit" | "reuse" | null;
109
- }>;
110
- observedAt: string;
111
- }>>>]>>>;
112
- work: z.ZodReadonly<z.ZodObject<{
113
- case: z.ZodReadonly<z.ZodObject<{
114
- file: z.ZodNullable<z.ZodString>;
115
- params: z.ZodNullable<z.ZodString>;
116
- suite: z.ZodReadonly<z.ZodArray<z.ZodString>>;
117
- title: z.ZodString;
118
- }, z.core.$strict>>;
119
- runtimes: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
120
- dimensions: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodString>>;
121
- name: z.ZodString;
122
- scenarios: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodString>>;
123
- variantId: z.ZodNullable<z.ZodString>;
124
- }, z.core.$strict>>>>;
125
- workload: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
126
- name: z.ZodString;
127
- params: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodString>>;
128
- }, z.core.$strict>>>;
129
- }, z.core.$strict>>;
130
- }, z.core.$strict>>>>;
131
- updatedAt: z.ZodISODateTime;
132
- version: z.ZodLiteral<2>;
133
- }, z.core.$strict>>, z.ZodPipe<z.ZodReadonly<z.ZodObject<{
134
- entries: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
135
- observations: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
136
- durationMicroseconds: z.ZodNumber;
137
- metadata: z.ZodReadonly<z.ZodObject<{
138
- processModel: z.ZodUnion<readonly [z.ZodLiteral<"in-process">, z.ZodLiteral<"supervised-process">, z.ZodLiteral<"worker-pool">]>;
139
- profile: z.ZodString;
140
- scheduling: z.ZodUnion<readonly [z.ZodLiteral<"concurrent">, z.ZodLiteral<"serial">]>;
141
- testFamily: z.ZodUnion<readonly [z.ZodLiteral<"integration">, z.ZodLiteral<"microtest">]>;
142
- workerLifecycle: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<"fresh-worker-per-unit">, z.ZodLiteral<"reuse">]>>;
143
- }, z.core.$strict>>;
144
- observedAt: z.ZodISODateTime;
145
- }, z.core.$strict>>, z.ZodPipe<z.ZodReadonly<z.ZodObject<{
146
- durationMilliseconds: z.ZodNumber;
147
- metadata: z.ZodReadonly<z.ZodObject<{
148
- processModel: z.ZodUnion<readonly [z.ZodLiteral<"in-process">, z.ZodLiteral<"supervised-process">, z.ZodLiteral<"worker-pool">]>;
149
- profile: z.ZodString;
150
- scheduling: z.ZodUnion<readonly [z.ZodLiteral<"concurrent">, z.ZodLiteral<"serial">]>;
151
- testFamily: z.ZodUnion<readonly [z.ZodLiteral<"integration">, z.ZodLiteral<"microtest">]>;
152
- workerLifecycle: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<"fresh-worker-per-unit">, z.ZodLiteral<"reuse">]>>;
153
- }, z.core.$strict>>;
154
- observedAt: z.ZodISODateTime;
155
- }, z.core.$strict>>, z.ZodTransform<{
156
- durationMicroseconds: number;
157
- metadata: Readonly<{
158
- processModel: "in-process" | "supervised-process" | "worker-pool";
159
- profile: string;
160
- scheduling: "serial" | "concurrent";
161
- testFamily: "integration" | "microtest";
162
- workerLifecycle: "fresh-worker-per-unit" | "reuse" | null;
163
- }>;
164
- observedAt: string;
165
- }, Readonly<{
166
- durationMilliseconds: number;
167
- metadata: Readonly<{
168
- processModel: "in-process" | "supervised-process" | "worker-pool";
169
- profile: string;
170
- scheduling: "serial" | "concurrent";
171
- testFamily: "integration" | "microtest";
172
- workerLifecycle: "fresh-worker-per-unit" | "reuse" | null;
173
- }>;
174
- observedAt: string;
175
- }>>>]>>>;
176
- work: z.ZodReadonly<z.ZodObject<{
177
- case: z.ZodReadonly<z.ZodObject<{
178
- file: z.ZodNullable<z.ZodString>;
179
- params: z.ZodNullable<z.ZodString>;
180
- suite: z.ZodReadonly<z.ZodArray<z.ZodString>>;
181
- title: z.ZodString;
182
- }, z.core.$strict>>;
183
- runtimes: z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodReadonly<z.ZodObject<{
184
- dimensions: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodString>>;
185
- name: z.ZodString;
186
- variantId: z.ZodNullable<z.ZodString>;
187
- }, z.core.$strict>>, z.ZodTransform<{
188
- scenarios: {};
189
- dimensions: Readonly<Record<string, string>>;
190
- name: string;
191
- variantId: string | null;
192
- }, Readonly<{
193
- dimensions: Readonly<Record<string, string>>;
194
- name: string;
195
- variantId: string | null;
196
- }>>>>>;
197
- workload: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
198
- name: z.ZodString;
199
- params: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodString>>;
200
- }, z.core.$strict>>>;
201
- }, z.core.$strict>>;
202
- }, z.core.$strict>>>>;
203
- updatedAt: z.ZodISODateTime;
204
- version: z.ZodLiteral<1>;
205
- }, z.core.$strict>>, z.ZodTransform<CurrentDurationHistoryIndex, Readonly<{
206
- entries: readonly Readonly<{
207
- observations: readonly ({
208
- durationMicroseconds: number;
209
- metadata: Readonly<{
210
- processModel: "in-process" | "supervised-process" | "worker-pool";
211
- profile: string;
212
- scheduling: "serial" | "concurrent";
213
- testFamily: "integration" | "microtest";
214
- workerLifecycle: "fresh-worker-per-unit" | "reuse" | null;
215
- }>;
216
- observedAt: string;
217
- } | Readonly<{
218
- durationMicroseconds: number;
219
- metadata: Readonly<{
220
- processModel: "in-process" | "supervised-process" | "worker-pool";
221
- profile: string;
222
- scheduling: "serial" | "concurrent";
223
- testFamily: "integration" | "microtest";
224
- workerLifecycle: "fresh-worker-per-unit" | "reuse" | null;
225
- }>;
226
- observedAt: string;
227
- }>)[];
228
- work: Readonly<{
229
- case: Readonly<{
230
- file: string | null;
231
- params: string | null;
232
- suite: readonly string[];
233
- title: string;
234
- }>;
235
- runtimes: readonly {
236
- scenarios: {};
237
- dimensions: Readonly<Record<string, string>>;
238
- name: string;
239
- variantId: string | null;
240
- }[];
241
- workload: Readonly<{
242
- name: string;
243
- params: Readonly<Record<string, string>>;
244
- }> | null;
245
- }>;
246
- }>[];
247
- updatedAt: string;
248
- version: 1;
249
- }>>>]>;
250
- export {};
251
- //# sourceMappingURL=duration-history-schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"duration-history-schema.d.ts","sourceRoot":"","sources":["../../../../source/run/duration-history-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,2BAA2B,IAAI,CAAC;AAsF7C,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAKF,CAAC;AAOhB,KAAK,2BAA2B,GAAG;IAC/B,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,OAAO,WAAW,CAAC,EAAE,CAAC;IAC1D,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,OAAO,EAAE,OAAO,2BAA2B,CAAC;CACxD,CAAC;AAwBF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAqD,CAAC"}
@@ -1,44 +0,0 @@
1
- import { type CaseId, type WorkId } from '../engine/identity.ts';
2
- import type { PerTestResult, RunArtifact, RunnerError } from '../engine/run-result.ts';
3
- import type { RunRequest } from './run-types.ts';
4
- type ActiveCaseTiming = {
5
- readonly startedAtMicroseconds: number;
6
- };
7
- export declare function remainingHardTimeoutMilliseconds(activeCases: Iterable<ActiveCaseTiming>, nowMicroseconds: number, hardTimeoutMilliseconds: number): number | null;
8
- export type SupervisedCase = {
9
- readonly capture: RunRequest['capture'] | null;
10
- readonly definitionLocations?: PerTestResult['definitionLocations'];
11
- readonly id: CaseId;
12
- readonly workId?: WorkId;
13
- };
14
- type ActiveSupervisedCase = SupervisedCase & {
15
- readonly startedAtMicroseconds: number;
16
- };
17
- export type StoredRunValue<Value> = {
18
- readonly read: () => Value;
19
- readonly write: (value: Value) => void;
20
- };
21
- export type SupervisedRunState = {
22
- readonly activeCases: ReadonlyMap<string, ActiveSupervisedCase>;
23
- readonly addActiveCase: (key: string, testCase: SupervisedCase, startedAtMicroseconds: number) => void;
24
- readonly artifacts: () => readonly RunArtifact[];
25
- readonly caseArtifacts: (testCase: CaseId) => readonly RunArtifact[];
26
- readonly perTestResults: () => readonly PerTestResult[];
27
- readonly recordCapturedOutput: (stream: 'stderr' | 'stdout', chunk: Uint8Array, capturedAtMicroseconds: number) => void;
28
- readonly recordPerTestResult: (key: string, result: PerTestResult, completedAtMicroseconds: number) => void;
29
- readonly recordArtifact: (artifact: RunArtifact) => void;
30
- readonly recordRunnerError: (error: RunnerError) => void;
31
- readonly recordRunnerErrors: (errors: readonly RunnerError[]) => void;
32
- readonly recordRuntimePolicyViolation: (capability: string, message: string) => void;
33
- readonly recordTerminalActiveCases: (verdict: PerTestResult['verdict'], completedAtMicroseconds: number) => void;
34
- readonly removeActiveCase: (key: string) => void;
35
- readonly runnerErrors: () => readonly RunnerError[];
36
- readonly testExecutionWallTimeMicroseconds: () => number;
37
- };
38
- export declare const capturedOutputLimitBytes: number;
39
- export declare function deduplicatedRuntimePolicyErrors(errors: readonly RunnerError[]): readonly RunnerError[];
40
- export declare function deduplicatedChildRuntimePolicyErrors(childErrors: readonly RunnerError[], supervisorErrors: readonly RunnerError[]): readonly RunnerError[];
41
- export declare function createStoredRunValue<Value>(initialValue: Value): StoredRunValue<Value>;
42
- export declare function createSupervisedRunState(): SupervisedRunState;
43
- export {};
44
- //# sourceMappingURL=supervised-run-state.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"supervised-run-state.d.ts","sourceRoot":"","sources":["../../../../source/run/supervised-run-state.ts"],"names":[],"mappings":"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"}