@overkill-dev/run 0.0.62 → 0.0.64

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 (421) 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 +15 -9
  26. package/assertion-protocol/source-location-forwarding.js.map +1 -1
  27. package/assertion-protocol/source-location.js +1 -0
  28. package/assertion-protocol/source-location.js.map +1 -1
  29. package/assertion-protocol/thrown-error-record.d.ts +0 -1
  30. package/assertion-protocol/thrown-error-record.d.ts.map +1 -1
  31. package/assertion-protocol/thrown-matcher.d.ts +1 -18
  32. package/assertion-protocol/thrown-matcher.d.ts.map +1 -1
  33. package/compare/serialized-value-shape.d.ts +0 -9
  34. package/compare/serialized-value-shape.d.ts.map +1 -1
  35. package/compare/serialized-value.d.ts +1 -8
  36. package/compare/serialized-value.d.ts.map +1 -1
  37. package/engine/assertion-facade.d.ts +2 -5
  38. package/engine/assertion-facade.d.ts.map +1 -1
  39. package/engine/async-control.d.ts +0 -26
  40. package/engine/async-control.d.ts.map +1 -1
  41. package/engine/async-leak-diagnostics.js +9 -9
  42. package/engine/async-leak-diagnostics.js.map +1 -1
  43. package/engine/case-attempt-execution.js +191 -0
  44. package/engine/case-attempt-execution.js.map +1 -0
  45. package/engine/case-execution.d.ts +5 -16
  46. package/engine/case-execution.d.ts.map +1 -1
  47. package/engine/case-execution.js +25 -24
  48. package/engine/case-execution.js.map +1 -1
  49. package/engine/coverage-artifact.d.ts +1 -14
  50. package/engine/coverage-artifact.d.ts.map +1 -1
  51. package/engine/custom-assertion-recording.js +1 -1
  52. package/engine/custom-assertion-recording.js.map +1 -1
  53. package/engine/engine.d.ts +1 -8
  54. package/engine/engine.d.ts.map +1 -1
  55. package/engine/execution-async-leak-policy.js +3 -10
  56. package/engine/execution-async-leak-policy.js.map +1 -1
  57. package/engine/execution-global-error-observer.d.ts +2 -4
  58. package/engine/execution-global-error-observer.d.ts.map +1 -1
  59. package/engine/execution-global-error-observer.js +20 -46
  60. package/engine/execution-global-error-observer.js.map +1 -1
  61. package/engine/execution-options.d.ts +4 -7
  62. package/engine/execution-options.d.ts.map +1 -1
  63. package/engine/execution-options.js +7 -2
  64. package/engine/execution-options.js.map +1 -1
  65. package/engine/execution-resource-budget-breach.d.ts +0 -9
  66. package/engine/execution-resource-budget-breach.d.ts.map +1 -1
  67. package/engine/execution-resource-budget-tracking.js.map +1 -1
  68. package/engine/execution-resource-tracked-cases.js.map +1 -1
  69. package/engine/execution-result.js.map +1 -1
  70. package/engine/execution-supervision-state.js.map +1 -1
  71. package/engine/execution-supervision.d.ts +0 -16
  72. package/engine/execution-supervision.d.ts.map +1 -1
  73. package/engine/execution-supervision.js +50 -33
  74. package/engine/execution-supervision.js.map +1 -1
  75. package/engine/execution-test-plan-cases.js +6 -126
  76. package/engine/execution-test-plan-cases.js.map +1 -1
  77. package/engine/execution-test-plan-resource-usage.js.map +1 -1
  78. package/engine/execution.d.ts +1 -12
  79. package/engine/execution.d.ts.map +1 -1
  80. package/engine/execution.js +3 -3
  81. package/engine/execution.js.map +1 -1
  82. package/engine/identity.d.ts +3 -6
  83. package/engine/identity.d.ts.map +1 -1
  84. package/engine/reporter-dispatcher.d.ts +1 -11
  85. package/engine/reporter-dispatcher.d.ts.map +1 -1
  86. package/engine/reporter-dispatcher.js +1 -0
  87. package/engine/reporter-dispatcher.js.map +1 -1
  88. package/engine/reporter-event-queue.js.map +1 -1
  89. package/engine/reporter-output.d.ts +0 -6
  90. package/engine/reporter-output.d.ts.map +1 -1
  91. package/engine/reporter.d.ts +2 -17
  92. package/engine/reporter.d.ts.map +1 -1
  93. package/engine/reporter.js.map +1 -1
  94. package/engine/reporting-context.d.ts +1 -13
  95. package/engine/reporting-context.d.ts.map +1 -1
  96. package/engine/require-assertion-facade.d.ts +2 -5
  97. package/engine/require-assertion-facade.d.ts.map +1 -1
  98. package/engine/resource-usage.d.ts +22 -0
  99. package/engine/resource-usage.d.ts.map +1 -0
  100. package/engine/retry-policy.d.ts +4 -0
  101. package/engine/retry-policy.d.ts.map +1 -0
  102. package/engine/retry-policy.js +22 -0
  103. package/engine/retry-policy.js.map +1 -0
  104. package/engine/run-artifact.d.ts +45 -0
  105. package/engine/run-artifact.d.ts.map +1 -0
  106. package/engine/run-result.d.ts +18 -114
  107. package/engine/run-result.d.ts.map +1 -1
  108. package/engine/run-result.js +14 -0
  109. package/engine/run-result.js.map +1 -1
  110. package/engine/run-timings.d.ts +0 -18
  111. package/engine/run-timings.d.ts.map +1 -1
  112. package/engine/runner-error-reporting.js.map +1 -1
  113. package/engine/test-attempt-history.js +24 -0
  114. package/engine/test-attempt-history.js.map +1 -0
  115. package/engine/test-body-resource-attachment.d.ts +0 -12
  116. package/engine/test-body-resource-attachment.d.ts.map +1 -1
  117. package/engine/test-body-resource-attachment.js +3 -134
  118. package/engine/test-body-resource-attachment.js.map +1 -1
  119. package/engine/test-data.d.ts +0 -6
  120. package/engine/test-data.d.ts.map +1 -1
  121. package/engine/test-node.d.ts +0 -21
  122. package/engine/test-node.d.ts.map +1 -1
  123. package/engine/test-node.js +1 -20
  124. package/engine/test-node.js.map +1 -1
  125. package/engine/test-plan.d.ts +1 -4
  126. package/engine/test-plan.d.ts.map +1 -1
  127. package/package.json +21 -7
  128. package/packages/run/config.entry-point.d.ts +2 -0
  129. package/packages/run/config.entry-point.d.ts.map +1 -1
  130. package/packages/run/run.entry-point.d.ts +2 -0
  131. package/packages/run/run.entry-point.d.ts.map +1 -1
  132. package/packages/run/transcript-store.entry-point.d.ts +3 -0
  133. package/packages/run/transcript-store.entry-point.d.ts.map +1 -0
  134. package/packages/run/transcript-store.entry-point.js +2 -0
  135. package/packages/run/transcript-store.entry-point.js.map +1 -0
  136. package/packages/simulation/transcript.entry-point.js +2 -0
  137. package/packages/simulation/transcript.entry-point.js.map +1 -0
  138. package/readme.md +47 -2
  139. package/reporters/human-reporter-rendering.js +12 -3
  140. package/reporters/human-reporter-rendering.js.map +1 -1
  141. package/reporters/line-reporter.js +6 -1
  142. package/reporters/line-reporter.js.map +1 -1
  143. package/reporters/tree-reporter.js +2 -103
  144. package/reporters/tree-reporter.js.map +1 -1
  145. package/resources/resource-definition-shape.d.ts +0 -2
  146. package/resources/resource-definition-shape.d.ts.map +1 -1
  147. package/resources/resource-definition-types.d.ts +1 -96
  148. package/resources/resource-definition-types.d.ts.map +1 -1
  149. package/resources/resource-definition.js.map +1 -1
  150. package/resources/resource-lifecycle-error.d.ts +0 -1
  151. package/resources/resource-lifecycle-error.d.ts.map +1 -1
  152. package/resources/resource-lifecycle-error.js +17 -1
  153. package/resources/resource-lifecycle-error.js.map +1 -1
  154. package/resources/resource-scenario-binding.js +1 -69
  155. package/resources/resource-scenario-binding.js.map +1 -1
  156. package/resources/resource-scenario.d.ts +0 -19
  157. package/resources/resource-scenario.d.ts.map +1 -1
  158. package/resources/resource-session.d.ts +1 -20
  159. package/resources/resource-session.d.ts.map +1 -1
  160. package/resources/resources.d.ts +5 -88
  161. package/resources/resources.d.ts.map +1 -1
  162. package/resources/resources.js +5 -81
  163. package/resources/resources.js.map +1 -1
  164. package/resources/runtime-definition.d.ts +0 -7
  165. package/resources/runtime-definition.d.ts.map +1 -1
  166. package/resources/runtime-definition.js +2 -57
  167. package/resources/runtime-definition.js.map +1 -1
  168. package/resources/runtime-matrix-definition.d.ts +0 -36
  169. package/resources/runtime-matrix-definition.d.ts.map +1 -1
  170. package/run/capability-policy-snapshots.d.ts +0 -19
  171. package/run/capability-policy-snapshots.d.ts.map +1 -1
  172. package/run/capability-policy.js +10 -5
  173. package/run/capability-policy.js.map +1 -1
  174. package/run/collected-run-plan.js.map +1 -1
  175. package/run/command-line-command-namespace.d.ts +0 -5
  176. package/run/command-line-command-namespace.d.ts.map +1 -1
  177. package/run/command-line-command.d.ts +1 -4
  178. package/run/command-line-command.d.ts.map +1 -1
  179. package/run/command-line-runner.d.ts +0 -2
  180. package/run/command-line-runner.d.ts.map +1 -1
  181. package/run/coverage-loaded-sources.js +112 -0
  182. package/run/coverage-loaded-sources.js.map +1 -0
  183. package/run/coverage-native-data.js +18 -0
  184. package/run/coverage-native-data.js.map +1 -0
  185. package/run/coverage-paths.js +45 -4
  186. package/run/coverage-paths.js.map +1 -1
  187. package/run/coverage-reporting.js +37 -123
  188. package/run/coverage-reporting.js.map +1 -1
  189. package/run/coverage-run-record.js +50 -0
  190. package/run/coverage-run-record.js.map +1 -0
  191. package/run/coverage-runtime-source.js +37 -0
  192. package/run/coverage-runtime-source.js.map +1 -0
  193. package/run/coverage-session.js +344 -6
  194. package/run/coverage-session.js.map +1 -1
  195. package/run/coverage-source-map.js +125 -0
  196. package/run/coverage-source-map.js.map +1 -0
  197. package/run/coverage-source-selection.js +120 -0
  198. package/run/coverage-source-selection.js.map +1 -0
  199. package/run/current-process-run-orchestrator.d.ts +1 -5
  200. package/run/current-process-run-orchestrator.d.ts.map +1 -1
  201. package/run/duration-history.d.ts +0 -30
  202. package/run/duration-history.d.ts.map +1 -1
  203. package/run/duration-history.js +1 -0
  204. package/run/duration-history.js.map +1 -1
  205. package/run/node-run-execution.js +25 -0
  206. package/run/node-run-execution.js.map +1 -0
  207. package/run/node-runtime-state-store.js +38 -0
  208. package/run/node-runtime-state-store.js.map +1 -0
  209. package/run/node-worker-pool-factory.js +0 -31
  210. package/run/node-worker-pool-factory.js.map +1 -1
  211. package/run/path-containment.js +6 -1
  212. package/run/path-containment.js.map +1 -1
  213. package/run/permission-denial-runtime-policy.js +21 -13
  214. package/run/permission-denial-runtime-policy.js.map +1 -1
  215. package/run/placement-trace.d.ts +0 -18
  216. package/run/placement-trace.d.ts.map +1 -1
  217. package/run/recorded-coverage-run.js +45 -0
  218. package/run/recorded-coverage-run.js.map +1 -0
  219. package/run/recorded-coverage-session.js +50 -0
  220. package/run/recorded-coverage-session.js.map +1 -0
  221. package/run/resource-lifecycle-composition.d.ts +0 -3
  222. package/run/resource-lifecycle-composition.d.ts.map +1 -1
  223. package/run/resource-lifecycle-composition.js +1 -14
  224. package/run/resource-lifecycle-composition.js.map +1 -1
  225. package/run/resource-lifecycle-session-acquirer.js +11 -6
  226. package/run/resource-lifecycle-session-acquirer.js.map +1 -1
  227. package/run/resource-lifecycle-state.d.ts +4 -5
  228. package/run/resource-lifecycle-state.d.ts.map +1 -1
  229. package/run/resource-lifecycle-state.js +9 -3
  230. package/run/resource-lifecycle-state.js.map +1 -1
  231. package/run/resource-lifecycle.js +36 -10
  232. package/run/resource-lifecycle.js.map +1 -1
  233. package/run/resource-usage.js.map +1 -1
  234. package/run/retry-artifact-retention.js +37 -0
  235. package/run/retry-artifact-retention.js.map +1 -0
  236. package/run/run-collection-source.d.ts +1 -5
  237. package/run/run-collection-source.d.ts.map +1 -1
  238. package/run/run-config-schema.d.ts +25 -4
  239. package/run/run-config-schema.d.ts.map +1 -1
  240. package/run/run-config-schema.js +7 -0
  241. package/run/run-config-schema.js.map +1 -1
  242. package/run/run-config.d.ts +3 -3
  243. package/run/run-config.d.ts.map +1 -1
  244. package/run/run-config.js +4 -0
  245. package/run/run-config.js.map +1 -1
  246. package/run/run-coverage.js +5 -2
  247. package/run/run-coverage.js.map +1 -1
  248. package/run/run-discovery-types.d.ts +0 -14
  249. package/run/run-discovery-types.d.ts.map +1 -1
  250. package/run/run-engine-primitives.d.ts +11 -0
  251. package/run/run-engine-primitives.d.ts.map +1 -0
  252. package/run/run-engine-selection.d.ts +0 -10
  253. package/run/run-engine-selection.d.ts.map +1 -1
  254. package/run/run-errors.d.ts +0 -2
  255. package/run/run-errors.d.ts.map +1 -1
  256. package/run/run-errors.js +1 -0
  257. package/run/run-errors.js.map +1 -1
  258. package/run/run-execution-config.d.ts +5 -0
  259. package/run/run-execution-config.d.ts.map +1 -1
  260. package/run/run-facts.js +2 -0
  261. package/run/run-facts.js.map +1 -1
  262. package/run/run-if-main-options.d.ts +0 -7
  263. package/run/run-if-main-options.d.ts.map +1 -1
  264. package/run/run-if-main-profile.d.ts +0 -1
  265. package/run/run-if-main-profile.d.ts.map +1 -1
  266. package/run/run-if-main.d.ts +0 -1
  267. package/run/run-if-main.d.ts.map +1 -1
  268. package/run/run-isolated-command.js +2 -0
  269. package/run/run-isolated-command.js.map +1 -1
  270. package/run/run-local-command.js +8 -82
  271. package/run/run-local-command.js.map +1 -1
  272. package/run/run-local-coverage.js +72 -0
  273. package/run/run-local-coverage.js.map +1 -0
  274. package/run/run-local-execution.js +1 -0
  275. package/run/run-local-execution.js.map +1 -1
  276. package/run/run-local-resolution.js +6 -3
  277. package/run/run-local-resolution.js.map +1 -1
  278. package/run/run-orchestrator-dependencies.d.ts +2 -7
  279. package/run/run-orchestrator-dependencies.d.ts.map +1 -1
  280. package/run/run-orchestrator.d.ts +0 -8
  281. package/run/run-orchestrator.d.ts.map +1 -1
  282. package/run/run-orchestrator.entry-point.d.ts +1 -1
  283. package/run/run-orchestrator.entry-point.d.ts.map +1 -1
  284. package/run/run-orchestrator.js +6 -18
  285. package/run/run-orchestrator.js.map +1 -1
  286. package/run/run-record-error.js +26 -0
  287. package/run/run-record-error.js.map +1 -0
  288. package/run/run-record-input.js +34 -0
  289. package/run/run-record-input.js.map +1 -0
  290. package/run/run-record-outcomes.d.ts +46 -0
  291. package/run/run-record-outcomes.d.ts.map +1 -0
  292. package/run/run-record-result.js +58 -0
  293. package/run/run-record-result.js.map +1 -0
  294. package/run/run-record-storage.js +51 -0
  295. package/run/run-record-storage.js.map +1 -0
  296. package/run/run-record-types.d.ts +73 -0
  297. package/run/run-record-types.d.ts.map +1 -0
  298. package/run/run-record-versions.js +51 -0
  299. package/run/run-record-versions.js.map +1 -0
  300. package/run/run-record.js +48 -0
  301. package/run/run-record.js.map +1 -0
  302. package/run/run-result-reporting.js +16 -0
  303. package/run/run-result-reporting.js.map +1 -0
  304. package/run/run-selection-filters.d.ts +2 -11
  305. package/run/run-selection-filters.d.ts.map +1 -1
  306. package/run/run-supervised-finalization.js +8 -0
  307. package/run/run-supervised-finalization.js.map +1 -0
  308. package/run/run-supervised-process.js +34 -33
  309. package/run/run-supervised-process.js.map +1 -1
  310. package/run/run-support.js +17 -8
  311. package/run/run-support.js.map +1 -1
  312. package/run/run-test-modules.d.ts +0 -4
  313. package/run/run-test-modules.d.ts.map +1 -1
  314. package/run/run-timing-collection.d.ts +0 -21
  315. package/run/run-timing-collection.d.ts.map +1 -1
  316. package/run/run-types.d.ts +4 -2
  317. package/run/run-types.d.ts.map +1 -1
  318. package/run/run-types.js.map +1 -1
  319. package/run/run.d.ts +0 -3
  320. package/run/run.d.ts.map +1 -1
  321. package/run/supervised-child-execution.js +38 -0
  322. package/run/supervised-child-execution.js.map +1 -0
  323. package/run/supervised-child-process.d.ts +1 -53
  324. package/run/supervised-child-process.d.ts.map +1 -1
  325. package/run/supervised-child-process.js +1 -5
  326. package/run/supervised-child-process.js.map +1 -1
  327. package/run/supervised-child-test-plan.js +2 -0
  328. package/run/supervised-child-test-plan.js.map +1 -1
  329. package/run/supervised-child.js +5 -36
  330. package/run/supervised-child.js.map +1 -1
  331. package/run/supervised-output-capture.js +66 -0
  332. package/run/supervised-output-capture.js.map +1 -0
  333. package/run/supervised-protocol.js.map +1 -1
  334. package/run/supervised-run-collection.js +3 -1
  335. package/run/supervised-run-collection.js.map +1 -1
  336. package/run/supervised-run-resource-policy.js +12 -1
  337. package/run/supervised-run-resource-policy.js.map +1 -1
  338. package/run/supervised-run-runtime.js +16 -27
  339. package/run/supervised-run-runtime.js.map +1 -1
  340. package/run/supervised-run-state.js +64 -81
  341. package/run/supervised-run-state.js.map +1 -1
  342. package/run/supervised-run.js +3 -1
  343. package/run/supervised-run.js.map +1 -1
  344. package/run/worker-pool-collection.js +1 -0
  345. package/run/worker-pool-collection.js.map +1 -1
  346. package/run/worker-pool-command.js +1 -0
  347. package/run/worker-pool-command.js.map +1 -1
  348. package/run/worker-pool-execution.js +2 -1
  349. package/run/worker-pool-execution.js.map +1 -1
  350. package/run/worker-pool-hedged-arbitration.js +4 -0
  351. package/run/worker-pool-hedged-arbitration.js.map +1 -1
  352. package/run/worker-pool-host-process.js.map +1 -1
  353. package/run/worker-pool-host-protocol.js.map +1 -1
  354. package/run/worker-pool-output.js +1 -1
  355. package/run/worker-pool-output.js.map +1 -1
  356. package/run/worker-pool-protocol.js.map +1 -1
  357. package/run/worker-pool-resource-lifecycle-execution.js +1 -0
  358. package/run/worker-pool-resource-lifecycle-execution.js.map +1 -1
  359. package/run/worker-pool-resource-tracking.js +2 -2
  360. package/run/worker-pool-resource-tracking.js.map +1 -1
  361. package/run/worker-pool-results.js +7 -9
  362. package/run/worker-pool-results.js.map +1 -1
  363. package/run/worker-pool-run.js +3 -9
  364. package/run/worker-pool-run.js.map +1 -1
  365. package/run/worker-pool-task-events.js +7 -2
  366. package/run/worker-pool-task-events.js.map +1 -1
  367. package/run/worker-pool-warm-lane-affinity.d.ts +0 -11
  368. package/run/worker-pool-warm-lane-affinity.d.ts.map +1 -1
  369. package/run/worker-pool-worker-plan.js +1 -0
  370. package/run/worker-pool-worker-plan.js.map +1 -1
  371. package/run/worker-pool-worker-resources.js +1 -0
  372. package/run/worker-pool-worker-resources.js.map +1 -1
  373. package/run/worker-pool-worker.js +2 -1
  374. package/run/worker-pool-worker.js.map +1 -1
  375. package/sbom.cdx.json +66 -15
  376. package/transcript/http-transcript.js +3 -0
  377. package/transcript/http-transcript.js.map +1 -0
  378. package/transcript/transcript-store.d.ts +25 -0
  379. package/transcript/transcript-store.d.ts.map +1 -0
  380. package/transcript/transcript-store.js +73 -0
  381. package/transcript/transcript-store.js.map +1 -0
  382. package/assertion-protocol/assertion-evaluation.d.ts +0 -13
  383. package/assertion-protocol/assertion-evaluation.d.ts.map +0 -1
  384. package/assertion-protocol/evaluation.d.ts +0 -32
  385. package/assertion-protocol/evaluation.d.ts.map +0 -1
  386. package/assertion-protocol/source-location-forwarding.d.ts +0 -4
  387. package/assertion-protocol/source-location-forwarding.d.ts.map +0 -1
  388. package/assertion-protocol/source-location.d.ts +0 -8
  389. package/assertion-protocol/source-location.d.ts.map +0 -1
  390. package/compare/comparison-result.d.ts +0 -25
  391. package/compare/comparison-result.d.ts.map +0 -1
  392. package/compare/comparison.d.ts +0 -12
  393. package/compare/comparison.d.ts.map +0 -1
  394. package/engine/async-leak-diagnostics.d.ts +0 -27
  395. package/engine/async-leak-diagnostics.d.ts.map +0 -1
  396. package/engine/custom-assertion-recording.d.ts +0 -33
  397. package/engine/custom-assertion-recording.d.ts.map +0 -1
  398. package/engine/execution-async-leak-policy.d.ts +0 -24
  399. package/engine/execution-async-leak-policy.d.ts.map +0 -1
  400. package/engine/execution-supervision-state.d.ts +0 -30
  401. package/engine/execution-supervision-state.d.ts.map +0 -1
  402. package/engine/reporter-disposal.d.ts +0 -6
  403. package/engine/reporter-disposal.d.ts.map +0 -1
  404. package/packages/engine/assertion-protocol.entry-point.d.ts +0 -10
  405. package/packages/engine/assertion-protocol.entry-point.d.ts.map +0 -1
  406. package/packages/engine/assertion-protocol.entry-point.js +0 -5
  407. package/packages/engine/assertion-protocol.entry-point.js.map +0 -1
  408. package/packages/engine/engine.entry-point.d.ts +0 -58
  409. package/packages/engine/engine.entry-point.d.ts.map +0 -1
  410. package/packages/engine/engine.entry-point.js +0 -75
  411. package/packages/engine/engine.entry-point.js.map +0 -1
  412. package/resources/resource-definition-brand.d.ts +0 -2
  413. package/resources/resource-definition-brand.d.ts.map +0 -1
  414. package/resources/resource-graph.d.ts +0 -24
  415. package/resources/resource-graph.d.ts.map +0 -1
  416. package/resources/resource-scenario-binding.d.ts +0 -37
  417. package/resources/resource-scenario-binding.d.ts.map +0 -1
  418. package/run/duration-history-schema.d.ts +0 -251
  419. package/run/duration-history-schema.d.ts.map +0 -1
  420. package/run/supervised-run-state.d.ts +0 -44
  421. package/run/supervised-run-state.d.ts.map +0 -1
@@ -1,24 +0,0 @@
1
- import { type AnyResourceDefinition, type Awaitable, type ResourceCreationContext, type ResourceDependencies, type ResourceDisposalContext, type ResourceScenarioSlots } from './resources.ts';
2
- export type ResourceEntry = readonly [string, AnyResourceDefinition];
3
- export type ResourceNode = {
4
- readonly dependencies: readonly ResourceNode[];
5
- readonly descriptor: AnyResourceDefinition;
6
- };
7
- export type ResourceGraph = {
8
- readonly order: readonly ResourceNode[];
9
- readonly topLevelEntries: readonly ResourceEntry[];
10
- };
11
- type DependencyDisposalContext = ResourceDisposalContext<ResourceDependencies, ResourceScenarioSlots>;
12
- export type ResourceDisposeCallback = (handle: unknown, context: DependencyDisposalContext) => Awaitable<void>;
13
- export type CallableResourceDefinition = AnyResourceDefinition & {
14
- readonly acquire: (context: ResourceCreationContext<ResourceDependencies, ResourceScenarioSlots>) => Awaitable<unknown>;
15
- readonly dispose: ResourceDisposeCallback | null;
16
- };
17
- export declare function resourceEntries(resources: ResourceDependencies): readonly ResourceEntry[];
18
- export declare function resourceDependencyScopeAllowed(resource: Pick<AnyResourceDefinition, 'scope'>, dependency: Pick<AnyResourceDefinition, 'scope'>): boolean;
19
- export declare function callableResourceDefinition(resource: AnyResourceDefinition): CallableResourceDefinition;
20
- export declare function createResourceGraph(resources: ResourceDependencies): ResourceGraph;
21
- export declare function assertPerCaseResourceGraph(resources: ResourceDependencies): void;
22
- export declare function assertResourceDependencyScopes(resources: ResourceDependencies): void;
23
- export {};
24
- //# sourceMappingURL=resource-graph.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resource-graph.d.ts","sourceRoot":"","sources":["../../../../source/resources/resource-graph.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,qBAAqB,EAC1B,KAAK,SAAS,EAEd,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAE7B,MAAM,gBAAgB,CAAC;AAaxB,MAAM,MAAM,aAAa,GAAG,SAAS,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;AACrE,MAAM,MAAM,YAAY,GAAG;IACvB,QAAQ,CAAC,YAAY,EAAE,SAAS,YAAY,EAAE,CAAC;IAC/C,QAAQ,CAAC,UAAU,EAAE,qBAAqB,CAAC;CAC9C,CAAC;AACF,MAAM,MAAM,aAAa,GAAG;IACxB,QAAQ,CAAC,KAAK,EAAE,SAAS,YAAY,EAAE,CAAC;IACxC,QAAQ,CAAC,eAAe,EAAE,SAAS,aAAa,EAAE,CAAC;CACtD,CAAC;AACF,KAAK,yBAAyB,GAAG,uBAAuB,CAAC,oBAAoB,EAAE,qBAAqB,CAAC,CAAC;AACtG,MAAM,MAAM,uBAAuB,GAAG,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,yBAAyB,KAAK,SAAS,CAAC,IAAI,CAAC,CAAC;AAC/G,MAAM,MAAM,0BAA0B,GAAG,qBAAqB,GAAG;IAC7D,QAAQ,CAAC,OAAO,EAAE,CACd,OAAO,EAAE,uBAAuB,CAAC,oBAAoB,EAAE,qBAAqB,CAAC,KAC5E,SAAS,CAAC,OAAO,CAAC,CAAC;IACxB,QAAQ,CAAC,OAAO,EAAE,uBAAuB,GAAG,IAAI,CAAC;CACpD,CAAC;AAQF,wBAAgB,eAAe,CAAC,SAAS,EAAE,oBAAoB,GAAG,SAAS,aAAa,EAAE,CAEzF;AA4BD,wBAAgB,8BAA8B,CAC1C,QAAQ,EAAE,IAAI,CAAC,qBAAqB,EAAE,OAAO,CAAC,EAC9C,UAAU,EAAE,IAAI,CAAC,qBAAqB,EAAE,OAAO,CAAC,GACjD,OAAO,CAaT;AAMD,wBAAgB,0BAA0B,CAAC,QAAQ,EAAE,qBAAqB,GAAG,0BAA0B,CAQtG;AAiFD,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,oBAAoB,GAAG,aAAa,CAElF;AAED,wBAAgB,0BAA0B,CAAC,SAAS,EAAE,oBAAoB,GAAG,IAAI,CAuBhF;AAED,wBAAgB,8BAA8B,CAAC,SAAS,EAAE,oBAAoB,GAAG,IAAI,CAwBpF"}
@@ -1,37 +0,0 @@
1
- import type { AnyResourceDefinition, ResourceDependencies } from './resource-definition-shape.ts';
2
- import { type EmptyResourceScenarioSlots, type ResourceScenarioSlot, type ResourceScenarioSlots } from './resource-scenario.ts';
3
- type UnionToIntersection<Value> = (Value extends unknown ? (value: Value) => void : never) extends (value: infer Intersection) => void ? Intersection : never;
4
- type ScenarioDepth = 'eight' | 'five' | 'four' | 'one' | 'seven' | 'six' | 'stop' | 'three' | 'two';
5
- type PreviousScenarioDepth = {
6
- readonly eight: 'seven';
7
- readonly five: 'four';
8
- readonly four: 'three';
9
- readonly one: 'stop';
10
- readonly seven: 'six';
11
- readonly six: 'five';
12
- readonly stop: 'stop';
13
- readonly three: 'two';
14
- readonly two: 'one';
15
- };
16
- type DependencyScenarioSlots<Dependencies extends ResourceDependencies, Depth extends ScenarioDepth> = string extends keyof Dependencies ? EmptyResourceScenarioSlots : ResourceScenarioSlotsFromResources<Dependencies[keyof Dependencies], PreviousScenarioDepth[Depth]>;
17
- type ResourceScenarioSlotsFromDependencies<Dependencies extends ResourceDependencies, Depth extends ScenarioDepth> = Depth extends 'stop' ? EmptyResourceScenarioSlots : DependencyScenarioSlots<Dependencies, Depth>;
18
- type ResourceScenarioSlotsFromResource<Resource, Depth extends ScenarioDepth> = Resource extends {
19
- readonly dependencies: infer Dependencies extends ResourceDependencies;
20
- readonly scenarios: infer Scenarios extends ResourceScenarioSlots;
21
- } ? ResourceScenarioSlotsFromDependencies<Dependencies, Depth> & Scenarios : EmptyResourceScenarioSlots;
22
- type ResourceScenarioSlotsFromResources<Resources, Depth extends ScenarioDepth> = [Resources] extends [never] ? EmptyResourceScenarioSlots : UnionToIntersection<ResourceScenarioSlotsFromResource<Resources, Depth>>;
23
- export type ResourceMapScenarioSlots<Resources extends ResourceDependencies> = ResourceScenarioSlotsFromResources<Resources[keyof Resources], 'eight'> extends infer Scenarios extends ResourceScenarioSlots ? Scenarios : EmptyResourceScenarioSlots;
24
- export type ResourceScenarioOwner = {
25
- readonly path: readonly string[];
26
- readonly resource: AnyResourceDefinition;
27
- readonly slot: ResourceScenarioSlot;
28
- };
29
- export type ResolvedResourceScenarioBindings = Readonly<Record<string, string>>;
30
- export declare function resourceScenarioOwners(resources: ResourceDependencies): ReadonlyMap<string, ResourceScenarioOwner>;
31
- export declare function sourceResourceDefinition(resource: AnyResourceDefinition): AnyResourceDefinition;
32
- export declare function bindResourceScenarios(resource: AnyResourceDefinition, bindings: ResolvedResourceScenarioBindings): AnyResourceDefinition;
33
- export declare function resolvedResourceScenarioBindings(resource: AnyResourceDefinition): ResolvedResourceScenarioBindings;
34
- export declare function acquisitionResourceScenarioBindings(resource: AnyResourceDefinition): ResolvedResourceScenarioBindings;
35
- export declare function exposeResourceHandle(resource: AnyResourceDefinition, handle: unknown): unknown;
36
- export {};
37
- //# sourceMappingURL=resource-scenario-binding.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resource-scenario-binding.d.ts","sourceRoot":"","sources":["../../../../source/resources/resource-scenario-binding.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAClG,OAAO,EAGH,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC7B,MAAM,wBAAwB,CAAC;AAEhC,KAAK,mBAAmB,CAAC,KAAK,IAAI,CAC9B,KAAK,SAAS,OAAO,GAAG,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,GAAG,KAAK,CACzD,SAAS,CAAC,KAAK,EAAE,MAAM,YAAY,KAAK,IAAI,GAAG,YAAY,GAAG,KAAK,CAAC;AAErE,KAAK,aAAa,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,OAAO,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC;AACpG,KAAK,qBAAqB,GAAG;IACzB,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IACtB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IACtB,QAAQ,CAAC,GAAG,EAAE,KAAK,CAAC;CACvB,CAAC;AAEF,KAAK,uBAAuB,CACxB,YAAY,SAAS,oBAAoB,EACzC,KAAK,SAAS,aAAa,IAC3B,MAAM,SAAS,MAAM,YA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CAAC;AAkChF,wBAAgB,sBAAsB,CAClC,SAAS,EAAE,oBAAoB,GAChC,WAAW,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAmE5C;AAED,wBAAgB,wBAAwB,CAAC,QAAQ,EAAE,qBAAqB,GAAG,qBAAqB,CAE/F;AAED,wBAAgB,qBAAqB,CACjC,QAAQ,EAAE,qBAAqB,EAC/B,QAAQ,EAAE,gCAAgC,GAC3C,qBAAqB,CAOvB;AAED,wBAAgB,gCAAgC,CAC5C,QAAQ,EAAE,qBAAqB,GAChC,gCAAgC,CAElC;AAED,wBAAgB,mCAAmC,CAC/C,QAAQ,EAAE,qBAAqB,GAChC,gCAAgC,CAElC;AAQD,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,qBAAqB,EAAE,MAAM,EAAE,OAAO,GAAG,OAAO,CAQ9F"}
@@ -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":"AAAA,OAAO,EAAwC,KAAK,MAAM,EAAE,KAAK,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACvG,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACvF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAIjD,KAAK,gBAAgB,GAAG;IACpB,QAAQ,CAAC,qBAAqB,EAAE,MAAM,CAAC;CAC1C,CAAC;AAEF,wBAAgB,gCAAgC,CAC5C,WAAW,EAAE,QAAQ,CAAC,gBAAgB,CAAC,EACvC,eAAe,EAAE,MAAM,EACvB,uBAAuB,EAAE,MAAM,GAChC,MAAM,GAAG,IAAI,CAef;AAED,MAAM,MAAM,cAAc,GAAG;IACzB,QAAQ,CAAC,OAAO,EAAE,UAAU,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC;IAC/C,QAAQ,CAAC,mBAAmB,CAAC,EAAE,aAAa,CAAC,qBAAqB,CAAC,CAAC;IACpE,QAAQ,CAAC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