@overkill-dev/run 0.0.83 → 0.0.85

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 (615) hide show
  1. package/attachments/failure-artifact-stream.js +2 -2
  2. package/attachments/failure-artifact-stream.js.map +1 -1
  3. package/attachments/run-json-artifact.js +1 -1
  4. package/attachments/run-json-artifact.js.map +1 -1
  5. package/baselines/calibration-store.js +2 -2
  6. package/baselines/calibration-store.js.map +1 -1
  7. package/baselines/performance-adapter.d.ts +2 -2
  8. package/baselines/performance-adapter.d.ts.map +1 -1
  9. package/baselines/performance-baseline.d.ts +2 -2
  10. package/baselines/performance-baseline.d.ts.map +1 -1
  11. package/baselines/performance-baseline.js +1 -1
  12. package/baselines/performance-baseline.js.map +1 -1
  13. package/baselines/performance-check.js +2 -2
  14. package/baselines/performance-check.js.map +1 -1
  15. package/baselines/performance-evaluation.js +1 -1
  16. package/baselines/performance-evaluation.js.map +1 -1
  17. package/baselines/performance-observation.js +1 -1
  18. package/baselines/performance-observation.js.map +1 -1
  19. package/baselines/performance-plan.js +3 -3
  20. package/baselines/performance-plan.js.map +1 -1
  21. package/baselines/performance-store.js +2 -2
  22. package/baselines/performance-store.js.map +1 -1
  23. package/baselines/performance-workflow.js +2 -2
  24. package/baselines/performance-workflow.js.map +1 -1
  25. package/bench/benchmark-statistics-schema.d.ts +1 -1
  26. package/bench/benchmark-statistics-schema.d.ts.map +1 -1
  27. package/bench/calibration-evidence.js +1 -1
  28. package/bench/calibration-evidence.js.map +1 -1
  29. package/bench/calibration-report.d.ts +1 -1
  30. package/bench/calibration-report.d.ts.map +1 -1
  31. package/bench/timeline-schema.js +1 -1
  32. package/bench/timeline-schema.js.map +1 -1
  33. package/config/config.js +1 -1
  34. package/config/config.js.map +1 -1
  35. package/config/execution.d.ts +1 -1
  36. package/config/execution.d.ts.map +1 -1
  37. package/config/property-policy.js +1 -1
  38. package/config/property-policy.js.map +1 -1
  39. package/config/schema.d.ts +4 -4
  40. package/config/schema.d.ts.map +1 -1
  41. package/config/schema.js +2 -2
  42. package/config/schema.js.map +1 -1
  43. package/config/types.d.ts +6 -6
  44. package/config/types.d.ts.map +1 -1
  45. package/package.json +4 -28
  46. package/packages/run/run.entry-point.d.ts +3 -3
  47. package/packages/run/run.entry-point.d.ts.map +1 -1
  48. package/packages/run/run.entry-point.js +1 -1
  49. package/packages/run/run.entry-point.js.map +1 -1
  50. package/reporters/human-reporter-rendering.js +2 -2
  51. package/reporters/human-reporter-rendering.js.map +1 -1
  52. package/reporters/line-failure-rendering.js +1 -1
  53. package/reporters/line-failure-rendering.js.map +1 -1
  54. package/reporters/line-reporter.js +2 -2
  55. package/reporters/line-reporter.js.map +1 -1
  56. package/reporters/progress-reporter.js +1 -1
  57. package/reporters/progress-reporter.js.map +1 -1
  58. package/reporters/tree-reporter.js +1 -1
  59. package/reporters/tree-reporter.js.map +1 -1
  60. package/resources/resource-definition-shape.d.ts +1 -1
  61. package/resources/resource-definition-shape.d.ts.map +1 -1
  62. package/resources/resource-workload-binding.js +2 -2
  63. package/resources/resource-workload-binding.js.map +1 -1
  64. package/run/attachment-eligibility.js +1 -1
  65. package/run/attachment-eligibility.js.map +1 -1
  66. package/run/attachment-execution.js +2 -2
  67. package/run/attachment-execution.js.map +1 -1
  68. package/run/attachment-failure.js +1 -1
  69. package/run/attachment-failure.js.map +1 -1
  70. package/run/attachment-protocol.js +1 -1
  71. package/run/attachment-protocol.js.map +1 -1
  72. package/run/attachment-reporter.js +2 -2
  73. package/run/attachment-reporter.js.map +1 -1
  74. package/run/attachment-results.js +3 -3
  75. package/run/attachment-results.js.map +1 -1
  76. package/run/attachment-retention.js +1 -1
  77. package/run/attachment-retention.js.map +1 -1
  78. package/run/attachment-store.js +1 -1
  79. package/run/attachment-store.js.map +1 -1
  80. package/run/benchmark-baseline-commands.js +1 -1
  81. package/run/benchmark-baseline-commands.js.map +1 -1
  82. package/run/benchmark-baseline-finalization.js +1 -1
  83. package/run/benchmark-baseline-finalization.js.map +1 -1
  84. package/run/benchmark-garbage-collection.js +1 -1
  85. package/run/benchmark-garbage-collection.js.map +1 -1
  86. package/run/benchmark-policy-schema.js +1 -1
  87. package/run/benchmark-policy-schema.js.map +1 -1
  88. package/run/benchmark-report-metadata.js +1 -1
  89. package/run/benchmark-report-metadata.js.map +1 -1
  90. package/run/benchmark-result-schema.js +1 -1
  91. package/run/benchmark-result-schema.js.map +1 -1
  92. package/run/calibration-capture-session.js +2 -2
  93. package/run/calibration-capture-session.js.map +1 -1
  94. package/run/calibration-inventory.js +2 -2
  95. package/run/calibration-inventory.js.map +1 -1
  96. package/run/calibration-maintenance.js +1 -1
  97. package/run/calibration-maintenance.js.map +1 -1
  98. package/run/capability-policy-snapshots.d.ts +1 -1
  99. package/run/capability-policy-snapshots.d.ts.map +1 -1
  100. package/run/capability-policy.js +3 -3
  101. package/run/capability-policy.js.map +1 -1
  102. package/run/collected-run-execution.js +1 -1
  103. package/run/collected-run-execution.js.map +1 -1
  104. package/run/collected-run-plan-schema.js +2 -2
  105. package/run/collected-run-plan-schema.js.map +1 -1
  106. package/run/collected-run-plan.js +4 -4
  107. package/run/collected-run-plan.js.map +1 -1
  108. package/run/command-line-command.d.ts +1 -1
  109. package/run/command-line-command.d.ts.map +1 -1
  110. package/run/command-line-command.js +1 -1
  111. package/run/command-line-command.js.map +1 -1
  112. package/run/command-line-config.d.ts +1 -1
  113. package/run/command-line-config.d.ts.map +1 -1
  114. package/run/default-direct-reporter.js +1 -1
  115. package/run/default-direct-reporter.js.map +1 -1
  116. package/run/default-run-engine.js +7 -7
  117. package/run/default-run-engine.js.map +1 -1
  118. package/run/direct-entrypoint-collection.js +3 -3
  119. package/run/direct-entrypoint-collection.js.map +1 -1
  120. package/run/execution-plan-resolution.js +1 -1
  121. package/run/execution-plan-resolution.js.map +1 -1
  122. package/run/execution-session-child.js +1 -1
  123. package/run/execution-session-child.js.map +1 -1
  124. package/run/execution-session-collected.js +1 -1
  125. package/run/execution-session-collected.js.map +1 -1
  126. package/run/execution-session-host.js +1 -1
  127. package/run/execution-session-host.js.map +1 -1
  128. package/run/execution-session-lifecycle.js +2 -2
  129. package/run/execution-session-lifecycle.js.map +1 -1
  130. package/run/execution-session-observation.js +1 -1
  131. package/run/execution-session-observation.js.map +1 -1
  132. package/run/execution-session-schema.js +1 -1
  133. package/run/execution-session-schema.js.map +1 -1
  134. package/run/execution-session-types.d.ts +1 -1
  135. package/run/execution-session-types.d.ts.map +1 -1
  136. package/run/execution-session.js +1 -1
  137. package/run/execution-session.js.map +1 -1
  138. package/run/failure-artifact-retention.js +2 -2
  139. package/run/failure-artifact-retention.js.map +1 -1
  140. package/run/file-module-boundary.d.ts.map +1 -1
  141. package/run/file-module-boundary.js +36 -3
  142. package/run/file-module-boundary.js.map +1 -1
  143. package/run/frozen-run-policy.js +1 -1
  144. package/run/frozen-run-policy.js.map +1 -1
  145. package/run/initialized-run-collection.js +1 -1
  146. package/run/initialized-run-collection.js.map +1 -1
  147. package/run/node-command-line-runner.d.ts +1 -1
  148. package/run/node-command-line-runner.d.ts.map +1 -1
  149. package/run/node-process-policy-observation.js +1 -1
  150. package/run/node-process-policy-observation.js.map +1 -1
  151. package/run/node-run-execution.js +1 -1
  152. package/run/node-run-execution.js.map +1 -1
  153. package/run/node-run-orchestrator-dependencies.js +1 -1
  154. package/run/node-run-orchestrator-dependencies.js.map +1 -1
  155. package/run/permission-denial-runtime-policy.js +3 -3
  156. package/run/permission-denial-runtime-policy.js.map +1 -1
  157. package/run/placement-trace.d.ts +2 -2
  158. package/run/placement-trace.d.ts.map +1 -1
  159. package/run/property-collection.js +1 -1
  160. package/run/property-collection.js.map +1 -1
  161. package/run/recorded-coverage-session.js +1 -1
  162. package/run/recorded-coverage-session.js.map +1 -1
  163. package/run/reporter-event-schema.js +1 -1
  164. package/run/reporter-event-schema.js.map +1 -1
  165. package/run/resource-lifecycle-boundaries.js +1 -1
  166. package/run/resource-lifecycle-boundaries.js.map +1 -1
  167. package/run/resource-lifecycle-cache-identity.js +2 -2
  168. package/run/resource-lifecycle-cache-identity.js.map +1 -1
  169. package/run/resource-lifecycle-composition.d.ts +1 -1
  170. package/run/resource-lifecycle-composition.d.ts.map +1 -1
  171. package/run/resource-lifecycle-error.d.ts +1 -1
  172. package/run/resource-lifecycle-error.d.ts.map +1 -1
  173. package/run/resource-lifecycle-error.js +1 -1
  174. package/run/resource-lifecycle-error.js.map +1 -1
  175. package/run/resource-lifecycle-session-acquirer.js +1 -1
  176. package/run/resource-lifecycle-session-acquirer.js.map +1 -1
  177. package/run/resource-lifecycle-state.d.ts +3 -3
  178. package/run/resource-lifecycle-state.d.ts.map +1 -1
  179. package/run/resource-lifecycle-state.js +2 -2
  180. package/run/resource-lifecycle-state.js.map +1 -1
  181. package/run/resource-ownership-plan.d.ts +2 -2
  182. package/run/resource-ownership-plan.d.ts.map +1 -1
  183. package/run/retry-artifact-retention.js +1 -1
  184. package/run/retry-artifact-retention.js.map +1 -1
  185. package/run/run-artifact-schema.d.ts +1 -1
  186. package/run/run-artifact-schema.d.ts.map +1 -1
  187. package/run/run-case-facts.js +1 -1
  188. package/run/run-case-facts.js.map +1 -1
  189. package/run/run-collection-error-result.js +2 -2
  190. package/run/run-collection-error-result.js.map +1 -1
  191. package/run/run-discovery-types.d.ts +1 -1
  192. package/run/run-discovery-types.d.ts.map +1 -1
  193. package/run/run-engine-primitives.d.ts +8 -8
  194. package/run/run-engine-primitives.d.ts.map +1 -1
  195. package/run/run-engine-selection.d.ts +1 -1
  196. package/run/run-engine-selection.d.ts.map +1 -1
  197. package/run/run-errors.d.ts +2 -2
  198. package/run/run-errors.d.ts.map +1 -1
  199. package/run/run-errors.js +1 -1
  200. package/run/run-errors.js.map +1 -1
  201. package/run/run-if-main-options.d.ts +3 -3
  202. package/run/run-if-main-options.d.ts.map +1 -1
  203. package/run/run-if-main.d.ts +1 -1
  204. package/run/run-if-main.d.ts.map +1 -1
  205. package/run/run-list-renderer.js +2 -2
  206. package/run/run-list-renderer.js.map +1 -1
  207. package/run/run-local-sharding.js +1 -1
  208. package/run/run-local-sharding.js.map +1 -1
  209. package/run/run-local-test-plan.js +21 -17
  210. package/run/run-local-test-plan.js.map +1 -1
  211. package/run/run-record-outcomes.d.ts +5 -5
  212. package/run/run-record-outcomes.d.ts.map +1 -1
  213. package/run/run-record-result.d.ts +1 -1
  214. package/run/run-record-result.d.ts.map +1 -1
  215. package/run/run-record-result.js +2 -2
  216. package/run/run-record-result.js.map +1 -1
  217. package/run/run-record-storage.js +1 -1
  218. package/run/run-record-storage.js.map +1 -1
  219. package/run/run-record-types.d.ts +3 -3
  220. package/run/run-record-types.d.ts.map +1 -1
  221. package/run/run-request-types.d.ts +3 -3
  222. package/run/run-request-types.d.ts.map +1 -1
  223. package/run/run-result-reporting.js +1 -1
  224. package/run/run-result-reporting.js.map +1 -1
  225. package/run/run-result-schema.d.ts +1 -1
  226. package/run/run-result-schema.d.ts.map +1 -1
  227. package/run/run-runtime-schema.js +1 -1
  228. package/run/run-runtime-schema.js.map +1 -1
  229. package/run/run-selection-filters.d.ts +2 -2
  230. package/run/run-selection-filters.d.ts.map +1 -1
  231. package/run/run-selection-filters.js +1 -1
  232. package/run/run-selection-filters.js.map +1 -1
  233. package/run/run-selection.js +2 -2
  234. package/run/run-selection.js.map +1 -1
  235. package/run/run-sharding.js +1 -1
  236. package/run/run-sharding.js.map +1 -1
  237. package/run/run-test-modules.d.ts +3 -3
  238. package/run/run-test-modules.d.ts.map +1 -1
  239. package/run/run-timing-collection.d.ts +2 -2
  240. package/run/run-timing-collection.d.ts.map +1 -1
  241. package/run/run-timing-collection.js +1 -1
  242. package/run/run-timing-collection.js.map +1 -1
  243. package/run/run-types.d.ts +1 -1
  244. package/run/run-types.d.ts.map +1 -1
  245. package/run/run-validation.js +1 -1
  246. package/run/run-validation.js.map +1 -1
  247. package/run/simulation-witness.js +1 -1
  248. package/run/simulation-witness.js.map +1 -1
  249. package/run/supervised-child-execution.js +3 -3
  250. package/run/supervised-child-execution.js.map +1 -1
  251. package/run/supervised-child-test-plan.js +1 -1
  252. package/run/supervised-child-test-plan.js.map +1 -1
  253. package/run/supervised-child.js +1 -1
  254. package/run/supervised-child.js.map +1 -1
  255. package/run/supervised-output-capture.js +1 -1
  256. package/run/supervised-output-capture.js.map +1 -1
  257. package/run/supervised-protocol.js +1 -1
  258. package/run/supervised-protocol.js.map +1 -1
  259. package/run/supervised-run-process-policy.js +2 -2
  260. package/run/supervised-run-process-policy.js.map +1 -1
  261. package/run/supervised-run-runtime.js +1 -1
  262. package/run/supervised-run-runtime.js.map +1 -1
  263. package/run/supervised-run-state.js +3 -3
  264. package/run/supervised-run-state.js.map +1 -1
  265. package/run/work-unit-identity.js +1 -1
  266. package/run/work-unit-identity.js.map +1 -1
  267. package/run/work-unit-planning.js +1 -1
  268. package/run/work-unit-planning.js.map +1 -1
  269. package/run/work-unit-resource-constraints.js +2 -2
  270. package/run/work-unit-resource-constraints.js.map +1 -1
  271. package/run/worker-execution-engine.js +2 -2
  272. package/run/worker-execution-engine.js.map +1 -1
  273. package/run/worker-pool-hedge-dispatch.js +1 -1
  274. package/run/worker-pool-hedge-dispatch.js.map +1 -1
  275. package/run/worker-pool-hedged-arbitration.js +1 -1
  276. package/run/worker-pool-hedged-arbitration.js.map +1 -1
  277. package/run/worker-pool-host.entry-point.js +1 -1
  278. package/run/worker-pool-host.entry-point.js.map +1 -1
  279. package/run/worker-pool-output.js +1 -1
  280. package/run/worker-pool-output.js.map +1 -1
  281. package/run/worker-pool-pending-splitting.js +1 -1
  282. package/run/worker-pool-pending-splitting.js.map +1 -1
  283. package/run/worker-pool-placement-planning.js +1 -1
  284. package/run/worker-pool-placement-planning.js.map +1 -1
  285. package/run/worker-pool-resource-lifecycle-execution.js +1 -1
  286. package/run/worker-pool-resource-lifecycle-execution.js.map +1 -1
  287. package/run/worker-pool-results.js +1 -1
  288. package/run/worker-pool-results.js.map +1 -1
  289. package/run/worker-pool-task-events.js +2 -2
  290. package/run/worker-pool-task-events.js.map +1 -1
  291. package/run/worker-pool-warm-lane-affinity.js +1 -1
  292. package/run/worker-pool-warm-lane-affinity.js.map +1 -1
  293. package/run/worker-pool-work-load.js +1 -1
  294. package/run/worker-pool-work-load.js.map +1 -1
  295. package/run/worker-pool-worker-plan.js +2 -2
  296. package/run/worker-pool-worker-plan.js.map +1 -1
  297. package/run/worker-pool-worker-resources.js +1 -1
  298. package/run/worker-pool-worker-resources.js.map +1 -1
  299. package/run/worker-pool-worker.js +1 -1
  300. package/run/worker-pool-worker.js.map +1 -1
  301. package/run/workload-input-validation.js +1 -1
  302. package/run/workload-input-validation.js.map +1 -1
  303. package/software-bill-of-materials.cyclonedx.json +21 -38
  304. package/transcript/http-transcript-artifact.js +1 -1
  305. package/transcript/http-transcript-artifact.js.map +1 -1
  306. package/assertion-protocol/assertion-evaluation.js +0 -6
  307. package/assertion-protocol/assertion-evaluation.js.map +0 -1
  308. package/assertion-protocol/assertion-node-shape.d.ts +0 -81
  309. package/assertion-protocol/assertion-node-shape.d.ts.map +0 -1
  310. package/assertion-protocol/assertion-node.d.ts +0 -82
  311. package/assertion-protocol/assertion-node.d.ts.map +0 -1
  312. package/assertion-protocol/assertion-node.js +0 -33
  313. package/assertion-protocol/assertion-node.js.map +0 -1
  314. package/assertion-protocol/assertion-reference.d.ts +0 -50
  315. package/assertion-protocol/assertion-reference.d.ts.map +0 -1
  316. package/assertion-protocol/assertion-reference.js +0 -22
  317. package/assertion-protocol/assertion-reference.js.map +0 -1
  318. package/assertion-protocol/assertions/boolean.d.ts +0 -4
  319. package/assertion-protocol/assertions/boolean.d.ts.map +0 -1
  320. package/assertion-protocol/assertions/boolean.js +0 -12
  321. package/assertion-protocol/assertions/boolean.js.map +0 -1
  322. package/assertion-protocol/assertions/collection.d.ts +0 -13
  323. package/assertion-protocol/assertions/collection.d.ts.map +0 -1
  324. package/assertion-protocol/assertions/collection.js +0 -21
  325. package/assertion-protocol/assertions/collection.js.map +0 -1
  326. package/assertion-protocol/assertions/dispatch.js +0 -47
  327. package/assertion-protocol/assertions/dispatch.js.map +0 -1
  328. package/assertion-protocol/assertions/equality.d.ts +0 -6
  329. package/assertion-protocol/assertions/equality.d.ts.map +0 -1
  330. package/assertion-protocol/assertions/equality.js +0 -24
  331. package/assertion-protocol/assertions/equality.js.map +0 -1
  332. package/assertion-protocol/assertions/fail.d.ts +0 -8
  333. package/assertion-protocol/assertions/fail.d.ts.map +0 -1
  334. package/assertion-protocol/assertions/fail.js +0 -8
  335. package/assertion-protocol/assertions/fail.js.map +0 -1
  336. package/assertion-protocol/assertions/numeric.d.ts +0 -16
  337. package/assertion-protocol/assertions/numeric.d.ts.map +0 -1
  338. package/assertion-protocol/assertions/numeric.js +0 -43
  339. package/assertion-protocol/assertions/numeric.js.map +0 -1
  340. package/assertion-protocol/assertions/partial.d.ts +0 -5
  341. package/assertion-protocol/assertions/partial.d.ts.map +0 -1
  342. package/assertion-protocol/assertions/partial.js +0 -17
  343. package/assertion-protocol/assertions/partial.js.map +0 -1
  344. package/assertion-protocol/assertions/presence.d.ts +0 -6
  345. package/assertion-protocol/assertions/presence.d.ts.map +0 -1
  346. package/assertion-protocol/assertions/presence.js +0 -20
  347. package/assertion-protocol/assertions/presence.js.map +0 -1
  348. package/assertion-protocol/assertions/string.d.ts +0 -15
  349. package/assertion-protocol/assertions/string.d.ts.map +0 -1
  350. package/assertion-protocol/assertions/string.js +0 -33
  351. package/assertion-protocol/assertions/string.js.map +0 -1
  352. package/assertion-protocol/assertions/type-shape.d.ts +0 -23
  353. package/assertion-protocol/assertions/type-shape.d.ts.map +0 -1
  354. package/assertion-protocol/assertions/type-shape.js +0 -43
  355. package/assertion-protocol/assertions/type-shape.js.map +0 -1
  356. package/assertion-protocol/collection-count.js +0 -42
  357. package/assertion-protocol/collection-count.js.map +0 -1
  358. package/assertion-protocol/evaluation.js +0 -175
  359. package/assertion-protocol/evaluation.js.map +0 -1
  360. package/assertion-protocol/partial-matching.js +0 -13
  361. package/assertion-protocol/partial-matching.js.map +0 -1
  362. package/assertion-protocol/source-location-forwarding.js +0 -32
  363. package/assertion-protocol/source-location-forwarding.js.map +0 -1
  364. package/assertion-protocol/source-location.js +0 -119
  365. package/assertion-protocol/source-location.js.map +0 -1
  366. package/assertion-protocol/thrown-error-record.d.ts +0 -7
  367. package/assertion-protocol/thrown-error-record.d.ts.map +0 -1
  368. package/assertion-protocol/thrown-error-record.js +0 -17
  369. package/assertion-protocol/thrown-error-record.js.map +0 -1
  370. package/assertion-protocol/thrown-matcher.d.ts +0 -34
  371. package/assertion-protocol/thrown-matcher.d.ts.map +0 -1
  372. package/assertion-protocol/thrown-matcher.js +0 -201
  373. package/assertion-protocol/thrown-matcher.js.map +0 -1
  374. package/attachments/json-snapshot.js +0 -125
  375. package/attachments/json-snapshot.js.map +0 -1
  376. package/canonical-identity.js +0 -54
  377. package/canonical-identity.js.map +0 -1
  378. package/compare/comparison-result.js +0 -47
  379. package/compare/comparison-result.js.map +0 -1
  380. package/compare/comparison-state.js +0 -20
  381. package/compare/comparison-state.js.map +0 -1
  382. package/compare/comparison.js +0 -78
  383. package/compare/comparison.js.map +0 -1
  384. package/compare/diff-path.js +0 -37
  385. package/compare/diff-path.js.map +0 -1
  386. package/compare/raw-comparison.js +0 -285
  387. package/compare/raw-comparison.js.map +0 -1
  388. package/compare/serialized-value-classification.js +0 -99
  389. package/compare/serialized-value-classification.js.map +0 -1
  390. package/compare/serialized-value-shape.d.ts +0 -134
  391. package/compare/serialized-value-shape.d.ts.map +0 -1
  392. package/compare/serialized-value-shape.js +0 -12
  393. package/compare/serialized-value-shape.js.map +0 -1
  394. package/compare/serialized-value-state.js +0 -55
  395. package/compare/serialized-value-state.js.map +0 -1
  396. package/compare/serialized-value.d.ts +0 -4
  397. package/compare/serialized-value.d.ts.map +0 -1
  398. package/compare/serialized-value.js +0 -389
  399. package/compare/serialized-value.js.map +0 -1
  400. package/compare/structured-diff.js +0 -382
  401. package/compare/structured-diff.js.map +0 -1
  402. package/compare/value-classification.js +0 -112
  403. package/compare/value-classification.js.map +0 -1
  404. package/diff/binary-diff.js +0 -49
  405. package/diff/binary-diff.js.map +0 -1
  406. package/diff/diff-shape.d.ts +0 -122
  407. package/diff/diff-shape.d.ts.map +0 -1
  408. package/diff/string-diff.js +0 -22
  409. package/diff/string-diff.js.map +0 -1
  410. package/engine/assertion-facade.d.ts +0 -47
  411. package/engine/assertion-facade.d.ts.map +0 -1
  412. package/engine/assertion-facade.js +0 -362
  413. package/engine/assertion-facade.js.map +0 -1
  414. package/engine/assertion-recorder.d.ts +0 -12
  415. package/engine/assertion-recorder.d.ts.map +0 -1
  416. package/engine/assertion-recorder.js +0 -251
  417. package/engine/assertion-recorder.js.map +0 -1
  418. package/engine/async-control.d.ts +0 -7
  419. package/engine/async-control.d.ts.map +0 -1
  420. package/engine/async-control.js +0 -162
  421. package/engine/async-control.js.map +0 -1
  422. package/engine/async-leak-diagnostics.js +0 -188
  423. package/engine/async-leak-diagnostics.js.map +0 -1
  424. package/engine/benchmark-environment.d.ts +0 -8
  425. package/engine/benchmark-environment.d.ts.map +0 -1
  426. package/engine/benchmark-garbage-collection.d.ts +0 -8
  427. package/engine/benchmark-garbage-collection.d.ts.map +0 -1
  428. package/engine/benchmark-garbage-collection.js +0 -4
  429. package/engine/benchmark-garbage-collection.js.map +0 -1
  430. package/engine/benchmark-limits.js +0 -3
  431. package/engine/benchmark-limits.js.map +0 -1
  432. package/engine/benchmark-node.d.ts +0 -37
  433. package/engine/benchmark-node.d.ts.map +0 -1
  434. package/engine/benchmark-node.js +0 -9
  435. package/engine/benchmark-node.js.map +0 -1
  436. package/engine/benchmark-result.d.ts +0 -247
  437. package/engine/benchmark-result.d.ts.map +0 -1
  438. package/engine/benchmark-result.js +0 -2
  439. package/engine/benchmark-result.js.map +0 -1
  440. package/engine/benchmark-timeline.d.ts +0 -12
  441. package/engine/benchmark-timeline.d.ts.map +0 -1
  442. package/engine/case-attempt-execution.js +0 -234
  443. package/engine/case-attempt-execution.js.map +0 -1
  444. package/engine/case-body-execution.js +0 -232
  445. package/engine/case-body-execution.js.map +0 -1
  446. package/engine/case-execution-lifecycle.js +0 -22
  447. package/engine/case-execution-lifecycle.js.map +0 -1
  448. package/engine/case-execution.d.ts +0 -14
  449. package/engine/case-execution.d.ts.map +0 -1
  450. package/engine/case-execution.js +0 -225
  451. package/engine/case-execution.js.map +0 -1
  452. package/engine/case-interruption.js +0 -26
  453. package/engine/case-interruption.js.map +0 -1
  454. package/engine/coverage-artifact.d.ts +0 -36
  455. package/engine/coverage-artifact.d.ts.map +0 -1
  456. package/engine/custom-assertion-recording.js +0 -175
  457. package/engine/custom-assertion-recording.js.map +0 -1
  458. package/engine/engine.d.ts +0 -21
  459. package/engine/engine.d.ts.map +0 -1
  460. package/engine/engine.js +0 -35
  461. package/engine/engine.js.map +0 -1
  462. package/engine/execution-async-leak-policy.d.ts +0 -3
  463. package/engine/execution-async-leak-policy.d.ts.map +0 -1
  464. package/engine/execution-async-leak-policy.js +0 -95
  465. package/engine/execution-async-leak-policy.js.map +0 -1
  466. package/engine/execution-error-ownership.d.ts +0 -6
  467. package/engine/execution-error-ownership.d.ts.map +0 -1
  468. package/engine/execution-error-ownership.js +0 -83
  469. package/engine/execution-error-ownership.js.map +0 -1
  470. package/engine/execution-global-error-observer.d.ts +0 -15
  471. package/engine/execution-global-error-observer.d.ts.map +0 -1
  472. package/engine/execution-global-error-observer.js +0 -276
  473. package/engine/execution-global-error-observer.js.map +0 -1
  474. package/engine/execution-observation.js +0 -212
  475. package/engine/execution-observation.js.map +0 -1
  476. package/engine/execution-options.d.ts +0 -39
  477. package/engine/execution-options.d.ts.map +0 -1
  478. package/engine/execution-options.js +0 -42
  479. package/engine/execution-options.js.map +0 -1
  480. package/engine/execution-preparation.d.ts +0 -13
  481. package/engine/execution-preparation.d.ts.map +0 -1
  482. package/engine/execution-preparation.js +0 -34
  483. package/engine/execution-preparation.js.map +0 -1
  484. package/engine/execution-process-budget-breach.d.ts +0 -8
  485. package/engine/execution-process-budget-breach.d.ts.map +0 -1
  486. package/engine/execution-process-budget-breach.js +0 -30
  487. package/engine/execution-process-budget-breach.js.map +0 -1
  488. package/engine/execution-process-budget-tracking.js +0 -33
  489. package/engine/execution-process-budget-tracking.js.map +0 -1
  490. package/engine/execution-process-tracked-cases.js +0 -40
  491. package/engine/execution-process-tracked-cases.js.map +0 -1
  492. package/engine/execution-result.js +0 -120
  493. package/engine/execution-result.js.map +0 -1
  494. package/engine/execution-supervision-state.js +0 -54
  495. package/engine/execution-supervision-state.js.map +0 -1
  496. package/engine/execution-supervision.d.ts +0 -16
  497. package/engine/execution-supervision.d.ts.map +0 -1
  498. package/engine/execution-supervision.js +0 -345
  499. package/engine/execution-supervision.js.map +0 -1
  500. package/engine/execution-test-plan-cases.js +0 -216
  501. package/engine/execution-test-plan-cases.js.map +0 -1
  502. package/engine/execution-test-plan-process-usage.js +0 -14
  503. package/engine/execution-test-plan-process-usage.js.map +0 -1
  504. package/engine/execution.d.ts +0 -8
  505. package/engine/execution.d.ts.map +0 -1
  506. package/engine/execution.js +0 -71
  507. package/engine/execution.js.map +0 -1
  508. package/engine/identity.d.ts +0 -31
  509. package/engine/identity.d.ts.map +0 -1
  510. package/engine/identity.js +0 -68
  511. package/engine/identity.js.map +0 -1
  512. package/engine/native-resource-observation.js +0 -70
  513. package/engine/native-resource-observation.js.map +0 -1
  514. package/engine/node-assertion-error.js +0 -47
  515. package/engine/node-assertion-error.js.map +0 -1
  516. package/engine/process-usage-growth.js +0 -12
  517. package/engine/process-usage-growth.js.map +0 -1
  518. package/engine/process-usage.d.ts +0 -22
  519. package/engine/process-usage.d.ts.map +0 -1
  520. package/engine/property-node.d.ts +0 -30
  521. package/engine/property-node.d.ts.map +0 -1
  522. package/engine/property-node.js +0 -9
  523. package/engine/property-node.js.map +0 -1
  524. package/engine/recorded-assertion-failure.js +0 -30
  525. package/engine/recorded-assertion-failure.js.map +0 -1
  526. package/engine/reporter-dispatcher.d.ts +0 -17
  527. package/engine/reporter-dispatcher.d.ts.map +0 -1
  528. package/engine/reporter-dispatcher.js +0 -316
  529. package/engine/reporter-dispatcher.js.map +0 -1
  530. package/engine/reporter-disposal.js +0 -13
  531. package/engine/reporter-disposal.js.map +0 -1
  532. package/engine/reporter-error-delivery-tracking.js +0 -33
  533. package/engine/reporter-error-delivery-tracking.js.map +0 -1
  534. package/engine/reporter-event-queue.js +0 -55
  535. package/engine/reporter-event-queue.js.map +0 -1
  536. package/engine/reporter-managed-output.js +0 -105
  537. package/engine/reporter-managed-output.js.map +0 -1
  538. package/engine/reporter-output-scope.js +0 -65
  539. package/engine/reporter-output-scope.js.map +0 -1
  540. package/engine/reporter-output.d.ts +0 -28
  541. package/engine/reporter-output.d.ts.map +0 -1
  542. package/engine/reporter-output.js +0 -17
  543. package/engine/reporter-output.js.map +0 -1
  544. package/engine/reporter.d.ts +0 -197
  545. package/engine/reporter.d.ts.map +0 -1
  546. package/engine/reporter.js +0 -111
  547. package/engine/reporter.js.map +0 -1
  548. package/engine/reporting-context.d.ts +0 -6
  549. package/engine/reporting-context.d.ts.map +0 -1
  550. package/engine/reporting-context.js +0 -74
  551. package/engine/reporting-context.js.map +0 -1
  552. package/engine/require-assertion-facade.d.ts +0 -18
  553. package/engine/require-assertion-facade.d.ts.map +0 -1
  554. package/engine/require-assertion-facade.js +0 -128
  555. package/engine/require-assertion-facade.js.map +0 -1
  556. package/engine/resource-owner-observation.js +0 -143
  557. package/engine/resource-owner-observation.js.map +0 -1
  558. package/engine/retry-policy.d.ts +0 -4
  559. package/engine/retry-policy.d.ts.map +0 -1
  560. package/engine/retry-policy.js +0 -22
  561. package/engine/retry-policy.js.map +0 -1
  562. package/engine/run-artifact.d.ts +0 -45
  563. package/engine/run-artifact.d.ts.map +0 -1
  564. package/engine/run-result.d.ts +0 -215
  565. package/engine/run-result.d.ts.map +0 -1
  566. package/engine/run-result.js +0 -202
  567. package/engine/run-result.js.map +0 -1
  568. package/engine/run-timings.d.ts +0 -57
  569. package/engine/run-timings.d.ts.map +0 -1
  570. package/engine/run-timings.js +0 -120
  571. package/engine/run-timings.js.map +0 -1
  572. package/engine/runner-error-reporting.js +0 -29
  573. package/engine/runner-error-reporting.js.map +0 -1
  574. package/engine/runtime-attachment.d.ts +0 -82
  575. package/engine/runtime-attachment.d.ts.map +0 -1
  576. package/engine/test-attempt-history.js +0 -25
  577. package/engine/test-attempt-history.js.map +0 -1
  578. package/engine/test-body-resource-attachment.d.ts +0 -53
  579. package/engine/test-body-resource-attachment.d.ts.map +0 -1
  580. package/engine/test-body-resource-attachment.js +0 -30
  581. package/engine/test-body-resource-attachment.js.map +0 -1
  582. package/engine/test-body.d.ts +0 -16
  583. package/engine/test-body.d.ts.map +0 -1
  584. package/engine/test-body.js +0 -51
  585. package/engine/test-body.js.map +0 -1
  586. package/engine/test-data.d.ts +0 -25
  587. package/engine/test-data.d.ts.map +0 -1
  588. package/engine/test-data.js +0 -126
  589. package/engine/test-data.js.map +0 -1
  590. package/engine/test-node.d.ts +0 -178
  591. package/engine/test-node.d.ts.map +0 -1
  592. package/engine/test-node.js +0 -226
  593. package/engine/test-node.js.map +0 -1
  594. package/engine/test-plan.d.ts +0 -52
  595. package/engine/test-plan.d.ts.map +0 -1
  596. package/engine/test-plan.js +0 -315
  597. package/engine/test-plan.js.map +0 -1
  598. package/engine/test-scope-lifecycle.js +0 -65
  599. package/engine/test-scope-lifecycle.js.map +0 -1
  600. package/engine/throwing-test-scope.js +0 -27
  601. package/engine/throwing-test-scope.js.map +0 -1
  602. package/engine/workload-input.d.ts +0 -3
  603. package/engine/workload-input.d.ts.map +0 -1
  604. package/engine/workload-input.js +0 -54
  605. package/engine/workload-input.js.map +0 -1
  606. package/engine/workload-parameters.d.ts +0 -3
  607. package/engine/workload-parameters.d.ts.map +0 -1
  608. package/engine/workload-parameters.js +0 -67
  609. package/engine/workload-parameters.js.map +0 -1
  610. package/engine/workload-test-case.d.ts +0 -8
  611. package/engine/workload-test-case.d.ts.map +0 -1
  612. package/engine/workload-test-case.js +0 -33
  613. package/engine/workload-test-case.js.map +0 -1
  614. package/stored-value.js +0 -12
  615. package/stored-value.js.map +0 -1
@@ -1,8 +0,0 @@
1
- export type ExecuteProcessBudgets = {
2
- readonly activeResourceCount: number | null;
3
- readonly javaScriptEngineHeapBytes: number | null;
4
- readonly residentSetBytes: number | null;
5
- readonly residentSetGrowthBytesPerSecond: number | null;
6
- };
7
- export {};
8
- //# sourceMappingURL=execution-process-budget-breach.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"execution-process-budget-breach.d.ts","sourceRoot":"","sources":["../../../../source/engine/execution-process-budget-breach.ts"],"names":[],"mappings":"MAGM,MAAM,qBAAqB,GAAG;IAChC,QAAQ,CAAC,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5C,QAAQ,CAAC,yBAAyB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClD,QAAQ,CAAC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IACzC,QAAQ,CAAC,+BAA+B,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3D,CAAC;MAII,CAA4B,EAKjC,CAAC"}
@@ -1,30 +0,0 @@
1
- import { observedGrowthBytesPerSecond } from "./process-usage-growth.js";
2
- const processBudgetMetrics = [
3
- 'activeResourceCount',
4
- 'javaScriptEngineHeapBytes',
5
- 'residentSetBytes',
6
- 'residentSetGrowthBytesPerSecond'
7
- ];
8
- function observedBudgetValue(metric, sample, previousSample) {
9
- const observedValues = {
10
- activeResourceCount: sample.activeResourceCount,
11
- javaScriptEngineHeapBytes: sample.javaScriptEngineHeapBytes,
12
- residentSetBytes: sample.residentSetBytes,
13
- residentSetGrowthBytesPerSecond: observedGrowthBytesPerSecond(sample, previousSample)
14
- };
15
- return observedValues[metric];
16
- }
17
- export function findProcessBudgetBreach(budgets, sample, previousSample) {
18
- if (budgets === null || budgets === undefined) {
19
- return null;
20
- }
21
- for (const metric of processBudgetMetrics) {
22
- const budget = budgets[metric];
23
- const observed = observedBudgetValue(metric, sample, previousSample);
24
- if (budget !== null && observed > budget) {
25
- return { budget, metric, observed, sample };
26
- }
27
- }
28
- return null;
29
- }
30
- //# sourceMappingURL=execution-process-budget-breach.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"execution-process-budget-breach.js","sourceRoot":"","sources":["../../../../source/engine/execution-process-budget-breach.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AAkBzE,MAAM,oBAAoB,GAAmC;IACzD,qBAAqB;IACrB,2BAA2B;IAC3B,kBAAkB;IAClB,iCAAiC;CACpC,CAAC;AAEF,SAAS,mBAAmB,CACxB,MAA2B,EAC3B,MAA4B,EAC5B,cAA2C;IAE3C,MAAM,cAAc,GAAG;QACnB,mBAAmB,EAAE,MAAM,CAAC,mBAAmB;QAC/C,yBAAyB,EAAE,MAAM,CAAC,yBAAyB;QAC3D,gBAAgB,EAAE,MAAM,CAAC,gBAAgB;QACzC,+BAA+B,EAAE,4BAA4B,CAAC,MAAM,EAAE,cAAc,CAAC;KACxF,CAAC;IAEF,OAAO,cAAc,CAAC,MAAM,CAAC,CAAC;AAClC,CAAC;AAED,MAAM,UAAU,uBAAuB,CACnC,OAAiD,EACjD,MAA4B,EAC5B,cAA2C;IAE3C,IAAI,OAAO,KAAK,IAAI,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QAC5C,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,KAAK,MAAM,MAAM,IAAI,oBAAoB,EAAE,CAAC;QACxC,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;QAC/B,MAAM,QAAQ,GAAG,mBAAmB,CAAC,MAAM,EAAE,MAAM,EAAE,cAAc,CAAC,CAAC;QAErE,IAAI,MAAM,KAAK,IAAI,IAAI,QAAQ,GAAG,MAAM,EAAE,CAAC;YACvC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC;QAChD,CAAC;IACL,CAAC;IAED,OAAO,IAAI,CAAC;AAChB,CAAC"}
@@ -1,33 +0,0 @@
1
- import { recordProcessUsageSample } from "./execution-supervision.js";
2
- export function startProcessBudgetTracking(input) {
3
- let previousSample = null;
4
- let breached = false;
5
- function recordSample(sample) {
6
- if (!breached) {
7
- breached = recordProcessUsageSample({
8
- budgets: input.processBudgets,
9
- dependencies: input.dependencies,
10
- previousSample,
11
- sample,
12
- supervision: input.supervision
13
- });
14
- }
15
- previousSample = sample;
16
- }
17
- input.processUsageTracker.start(recordSample);
18
- return {
19
- finish() {
20
- const runnerErrorCount = input.supervision.runnerErrors.length;
21
- const processUsage = input.processUsageTracker.finish();
22
- recordSample(processUsage.end);
23
- return {
24
- processUsage,
25
- runnerErrors: input.supervision.runnerErrors.slice(runnerErrorCount)
26
- };
27
- },
28
- stop() {
29
- input.processUsageTracker.finish();
30
- }
31
- };
32
- }
33
- //# sourceMappingURL=execution-process-budget-tracking.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"execution-process-budget-tracking.js","sourceRoot":"","sources":["../../../../source/engine/execution-process-budget-tracking.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,wBAAwB,EAG3B,MAAM,4BAA4B,CAAC;AAoBpC,MAAM,UAAU,0BAA0B,CAAC,KAAiC;IACxE,IAAI,cAAc,GAAgC,IAAI,CAAC;IACvD,IAAI,QAAQ,GAAG,KAAK,CAAC;IAErB,SAAS,YAAY,CAAC,MAA4B;QAC9C,IAAI,CAAC,QAAQ,EAAE,CAAC;YACZ,QAAQ,GAAG,wBAAwB,CAAC;gBAChC,OAAO,EAAE,KAAK,CAAC,cAAc;gBAC7B,YAAY,EAAE,KAAK,CAAC,YAAY;gBAChC,cAAc;gBACd,MAAM;gBACN,WAAW,EAAE,KAAK,CAAC,WAAW;aACjC,CAAC,CAAC;QACP,CAAC;QAED,cAAc,GAAG,MAAM,CAAC;IAC5B,CAAC;IAED,KAAK,CAAC,mBAAmB,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;IAE9C,OAAO;QACH,MAAM;YACF,MAAM,gBAAgB,GAAG,KAAK,CAAC,WAAW,CAAC,YAAY,CAAC,MAAM,CAAC;YAC/D,MAAM,YAAY,GAAG,KAAK,CAAC,mBAAmB,CAAC,MAAM,EAAE,CAAC;YACxD,YAAY,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC;YAE/B,OAAO;gBACH,YAAY;gBACZ,YAAY,EAAE,KAAK,CAAC,WAAW,CAAC,YAAY,CAAC,KAAK,CAAC,gBAAgB,CAAC;aACvE,CAAC;QACN,CAAC;QACD,IAAI;YACA,KAAK,CAAC,mBAAmB,CAAC,MAAM,EAAE,CAAC;QACvC,CAAC;KACJ,CAAC;AACN,CAAC"}
@@ -1,40 +0,0 @@
1
- import { startProcessBudgetTracking } from "./execution-process-budget-tracking.js";
2
- import { reportRunnerErrors } from "./runner-error-reporting.js";
3
- async function executeCasesWithProcessUsage(input, executeCases, processBudgetTracking) {
4
- const executedTestPlan = await executeCases(input);
5
- const processBudgetResult = processBudgetTracking.finish();
6
- const runnerErrors = await reportRunnerErrors(input.context.reporterDelivery, processBudgetResult.runnerErrors);
7
- return {
8
- executedTestPlan: {
9
- ...executedTestPlan,
10
- reporterErrors: [
11
- ...executedTestPlan.reporterErrors,
12
- ...runnerErrors
13
- ]
14
- },
15
- processUsage: processBudgetResult.processUsage
16
- };
17
- }
18
- export async function executeCasesAndMeasureProcessUsage(input, executeCases) {
19
- const { processUsageTracker } = input.options;
20
- if (processUsageTracker === null || processUsageTracker === undefined) {
21
- return {
22
- executedTestPlan: await executeCases(input),
23
- processUsage: null
24
- };
25
- }
26
- const processBudgetTracking = startProcessBudgetTracking({
27
- dependencies: input.context.dependencies,
28
- processBudgets: input.options.processBudgets ?? null,
29
- processUsageTracker,
30
- supervision: input.supervision
31
- });
32
- try {
33
- return await executeCasesWithProcessUsage(input, executeCases, processBudgetTracking);
34
- }
35
- catch (error) {
36
- processBudgetTracking.stop();
37
- throw error;
38
- }
39
- }
40
- //# sourceMappingURL=execution-process-tracked-cases.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"execution-process-tracked-cases.js","sourceRoot":"","sources":["../../../../source/engine/execution-process-tracked-cases.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,0BAA0B,EAE7B,MAAM,wCAAwC,CAAC;AAIhD,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AA8BjE,KAAK,UAAU,4BAA4B,CAIvC,KAAY,EACZ,YAAuD,EACvD,qBAA4C;IAE5C,MAAM,gBAAgB,GAAG,MAAM,YAAY,CAAC,KAAK,CAAC,CAAC;IACnD,MAAM,mBAAmB,GAAG,qBAAqB,CAAC,MAAM,EAAE,CAAC;IAC3D,MAAM,YAAY,GAAG,MAAM,kBAAkB,CACzC,KAAK,CAAC,OAAO,CAAC,gBAAgB,EAC9B,mBAAmB,CAAC,YAAY,CACnC,CAAC;IAEF,OAAO;QACH,gBAAgB,EAAE;YACd,GAAG,gBAAgB;YACnB,cAAc,EAAE;gBACZ,GAAG,gBAAgB,CAAC,cAAc;gBAClC,GAAG,YAAY;aAClB;SACJ;QACD,YAAY,EAAE,mBAAmB,CAAC,YAAY;KACjD,CAAC;AACN,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,kCAAkC,CAIpD,KAAY,EACZ,YAAuD;IAEvD,MAAM,EAAE,mBAAmB,EAAE,GAAG,KAAK,CAAC,OAAO,CAAC;IAE9C,IAAI,mBAAmB,KAAK,IAAI,IAAI,mBAAmB,KAAK,SAAS,EAAE,CAAC;QACpE,OAAO;YACH,gBAAgB,EAAE,MAAM,YAAY,CAAC,KAAK,CAAC;YAC3C,YAAY,EAAE,IAAI;SACrB,CAAC;IACN,CAAC;IAED,MAAM,qBAAqB,GAAG,0BAA0B,CAAC;QACrD,YAAY,EAAE,KAAK,CAAC,OAAO,CAAC,YAAY;QACxC,cAAc,EAAE,KAAK,CAAC,OAAO,CAAC,cAAc,IAAI,IAAI;QACpD,mBAAmB;QACnB,WAAW,EAAE,KAAK,CAAC,WAAW;KACjC,CAAC,CAAC;IAEH,IAAI,CAAC;QACD,OAAO,MAAM,4BAA4B,CAAC,KAAK,EAAE,YAAY,EAAE,qBAAqB,CAAC,CAAC;IAC1F,CAAC;IAAC,OAAO,KAAc,EAAE,CAAC;QACtB,qBAAqB,CAAC,IAAI,EAAE,CAAC;QAE7B,MAAM,KAAK,CAAC;IAChB,CAAC;AACL,CAAC"}
@@ -1,120 +0,0 @@
1
- import { workIdentityKey } from "./identity.js";
2
- import { runStatusFromPlan, runStatusFromSummary } from "./run-result.js";
3
- import { summaryRunTimings } from "./run-timings.js";
4
- export function appendRunnerErrors(result, runnerErrors) {
5
- if (runnerErrors.length === 0) {
6
- return result;
7
- }
8
- const updatedRunnerErrors = [...result.runnerErrors, ...runnerErrors];
9
- return {
10
- ...result,
11
- runnerErrors: updatedRunnerErrors,
12
- status: runStatusFromSummary(result.summary, updatedRunnerErrors)
13
- };
14
- }
15
- export async function throwWithCleanupErrors(error, cleanup) {
16
- const cleanupErrors = await cleanup();
17
- if (cleanupErrors.length > 0) {
18
- throw new AggregateError([error, ...cleanupErrors], 'Execution failed and reporter cleanup failed.', { cause: error });
19
- }
20
- throw error;
21
- }
22
- function hasFailed(testResult) {
23
- return testResult.verdict === 'fail';
24
- }
25
- function isInconclusive(testResult) {
26
- return testResult.verdict === 'inconclusive';
27
- }
28
- function hasPassed(testResult) {
29
- return testResult.verdict === 'pass';
30
- }
31
- function wasSkipped(testResult) {
32
- return testResult.verdict === 'skip';
33
- }
34
- function processExhausted(testResult) {
35
- return testResult.verdict === 'process-exhausted';
36
- }
37
- function crashed(testResult) {
38
- return testResult.verdict === 'crashed';
39
- }
40
- function runtimePolicy(testResult) {
41
- return testResult.verdict === 'runtime-policy';
42
- }
43
- function countOutcomes(testPlan, perTest) {
44
- return {
45
- crashed: perTest.filter(crashed).length,
46
- defined: testPlan.defined,
47
- discovered: testPlan.discoveredCases.length,
48
- failed: perTest.filter(hasFailed).length,
49
- inconclusive: perTest.filter(isInconclusive).length,
50
- passed: perTest.filter(hasPassed).length,
51
- planned: testPlan.cases.length,
52
- processExhausted: perTest.filter(processExhausted).length,
53
- runtimePolicy: perTest.filter(runtimePolicy).length,
54
- skipped: perTest.filter(wasSkipped).length
55
- };
56
- }
57
- function suiteKey(suitePath) {
58
- return suitePath.join(' > ');
59
- }
60
- function suiteTitles(suitePath) {
61
- return suitePath.map(function toTitle(entry) {
62
- return entry.title;
63
- });
64
- }
65
- function emptySuiteRunCounts() {
66
- return { discovered: 0, executed: 0, planned: 0 };
67
- }
68
- function incrementSuiteRunCounts(counts, field) {
69
- return {
70
- discovered: counts.discovered + (field === 'discovered' ? 1 : 0),
71
- executed: counts.executed + (field === 'executed' ? 1 : 0),
72
- planned: counts.planned + (field === 'planned' ? 1 : 0)
73
- };
74
- }
75
- function countSuitePath(counts, suitePath, field) {
76
- let updatedCounts = counts;
77
- for (let pathLength = 1; pathLength <= suitePath.length; pathLength += 1) {
78
- const key = suiteKey(suitePath.slice(0, pathLength));
79
- updatedCounts = {
80
- ...updatedCounts,
81
- [key]: incrementSuiteRunCounts(updatedCounts[key] ?? emptySuiteRunCounts(), field)
82
- };
83
- }
84
- return updatedCounts;
85
- }
86
- function countSuites(testPlan, perTest) {
87
- let counts = {};
88
- const executedIds = new Set(perTest.map(function toId(result) {
89
- return workIdentityKey(result.workId);
90
- }));
91
- for (const testCase of testPlan.discoveredCases) {
92
- counts = countSuitePath(counts, suiteTitles(testCase.suitePath), 'discovered');
93
- }
94
- for (const testCase of testPlan.cases) {
95
- counts = countSuitePath(counts, suiteTitles(testCase.suitePath), 'planned');
96
- if (executedIds.has(workIdentityKey(testCase.workId))) {
97
- counts = countSuitePath(counts, suiteTitles(testCase.suitePath), 'executed');
98
- }
99
- }
100
- return counts;
101
- }
102
- export function createRunResult(testPlan, perTest, reporterErrors, timing) {
103
- const summary = countOutcomes(testPlan, perTest);
104
- return {
105
- artifacts: [],
106
- bySuite: countSuites(testPlan, perTest),
107
- orphans: testPlan.orphans,
108
- perTest,
109
- planStatus: timing.planStatus,
110
- processUsage: timing.processUsage,
111
- runnerErrors: reporterErrors,
112
- status: runStatusFromPlan(summary, reporterErrors, timing.planStatus),
113
- summary,
114
- timings: summaryRunTimings({
115
- testExecutionWallTimeMicroseconds: timing.testExecutionWallTimeMicroseconds,
116
- totalWallTimeMicroseconds: timing.completedAtMicroseconds - timing.startedAtMicroseconds
117
- })
118
- };
119
- }
120
- //# sourceMappingURL=execution-result.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"execution-result.js","sourceRoot":"","sources":["../../../../source/engine/execution-result.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EACH,iBAAiB,EACjB,oBAAoB,EAKvB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAWrD,MAAM,UAAU,kBAAkB,CAAC,MAAiB,EAAE,YAAoC;IACtF,IAAI,YAAY,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC5B,OAAO,MAAM,CAAC;IAClB,CAAC;IAED,MAAM,mBAAmB,GAAG,CAAE,GAAG,MAAM,CAAC,YAAY,EAAE,GAAG,YAAY,CAAE,CAAC;IAExE,OAAO;QACH,GAAG,MAAM;QACT,YAAY,EAAE,mBAAmB;QACjC,MAAM,EAAE,oBAAoB,CAAC,MAAM,CAAC,OAAO,EAAE,mBAAmB,CAAC;KACpE,CAAC;AACN,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,sBAAsB,CACxC,KAAc,EACd,OAA0C;IAE1C,MAAM,aAAa,GAAG,MAAM,OAAO,EAAE,CAAC;IAEtC,IAAI,aAAa,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC3B,MAAM,IAAI,cAAc,CACpB,CAAE,KAAK,EAAE,GAAG,aAAa,CAAE,EAC3B,+CAA+C,EAC/C,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AAM,OAAO,GAAG,aAAa,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IAEjD,OAAO;QACH,SAAS,EAAE,EAAE;QACb,OAAO,EAAE,WAAW,CAAC,QAAQ,EAAE,OAAO,CAAC;QACvC,OAAO,EAAE,QAAQ,CAAC,OAAO;QACzB,OAAO;QACP,UAAU,EAAE,MAAM,CAAC,UAAU;QAC7B,YAAY,EAAE,MAAM,CAAC,YAAY;QACjC,YAAY,EAAE,cAAc;QAC5B,MAAM,EAAE,iBAAiB,CAAC,OAAO,EAAE,cAAc,EAAE,MAAM,CAAC,UAAU,CAAC;QACrE,OAAO;QACP,OAAO,EAAE,iBAAiB,CAAC;YACvB,iCAAiC,EAAE,MAAM,CAAC,iCAAiC;YAC3E,yBAAyB,EAAE,MAAM,CAAC,uBAAuB,GAAG,MAAM,CAAC,qBAAqB;SAC3F,CAAC;KACL,CAAC;AACN,CAAC"}
@@ -1,54 +0,0 @@
1
- import { AsyncLocalStorage } from 'node:async_hooks';
2
- import { createStoredValue } from "../stored-value.js";
3
- import { withRunnerInfrastructure } from "./execution-observation.js";
4
- import { currentCaseExecutionLifecycle } from "./case-execution-lifecycle.js";
5
- export function scheduleSupervisionTimeout(wallClock, callback, milliseconds) {
6
- const ownedCallback = AsyncLocalStorage.bind(callback);
7
- return withRunnerInfrastructure(function scheduleWatchdog() {
8
- return wallClock.setTimeout(ownedCallback, milliseconds);
9
- });
10
- }
11
- export function createBenchmarkState() {
12
- return createStoredValue(null);
13
- }
14
- export function createCaseCompletion() {
15
- const { promise, resolve } = Promise.withResolvers();
16
- return { complete: resolve, promise };
17
- }
18
- export function createExecutionSupervision() {
19
- const activeCases = new Map();
20
- const runnerErrors = [];
21
- let acceptsNewCases = true;
22
- return {
23
- lifecycle: currentCaseExecutionLifecycle(),
24
- acceptsNewCases() {
25
- return acceptsNewCases;
26
- },
27
- closedBoundaryVerdict() {
28
- const exhausted = runnerErrors.some(function processExhausted(error) {
29
- return error.subtype === 'process-exhaustion';
30
- });
31
- return exhausted ? 'process-exhausted' : 'crashed';
32
- },
33
- hasTerminalError() {
34
- return runnerErrors.some(function terminalError(error) {
35
- return error.subtype === 'crash' || error.subtype === 'process-exhaustion';
36
- });
37
- },
38
- activeCases,
39
- addActiveCase(key, activeCase) {
40
- activeCases.set(key, activeCase);
41
- },
42
- recordRunnerError(error) {
43
- runnerErrors.push(error);
44
- },
45
- removeActiveCase(key) {
46
- activeCases.delete(key);
47
- },
48
- runnerErrors,
49
- stopAcceptingCases() {
50
- acceptsNewCases = false;
51
- }
52
- };
53
- }
54
- //# sourceMappingURL=execution-supervision-state.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"execution-supervision-state.js","sourceRoot":"","sources":["../../../../source/engine/execution-supervision-state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,EAAE,iBAAiB,EAAoB,MAAM,oBAAoB,CAAC;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,6BAA6B,EAA+B,MAAM,+BAA+B,CAAC;AAO3G,MAAM,UAAU,0BAA0B,CACtC,SAAgB,EAChB,QAAoB,EACpB,YAAoB;IAEpB,MAAM,aAAa,GAAG,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACvD,OAAO,wBAAwB,CAAC,SAAS,gBAAgB;QACrD,OAAO,SAAS,CAAC,UAAU,CAAC,aAAa,EAAE,YAAY,CAAC,CAAC;IAC7D,CAAC,CAAC,CAAC;AACP,CAAC;AAGD,MAAM,UAAU,oBAAoB;IAChC,OAAO,iBAAiB,CAAkC,IAAI,CAAC,CAAC;AACpE,CAAC;AASD,MAAM,UAAU,oBAAoB;IAChC,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,aAAa,EAA2B,CAAC;IAC9E,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC;AAC1C,CAAC;AAyBD,MAAM,UAAU,0BAA0B;IACtC,MAAM,WAAW,GAAG,IAAI,GAAG,EAAsB,CAAC;IAClD,MAAM,YAAY,GAAmD,EAAE,CAAC;IACxE,IAAI,eAAe,GAAG,IAAI,CAAC;IAE3B,OAAO;QACH,SAAS,EAAE,6BAA6B,EAAE;QAC1C,eAAe;YACX,OAAO,eAAe,CAAC;QAC3B,CAAC;QACD,qBAAqB;YACjB,MAAM,SAAS,GAAG,YAAY,CAAC,IAAI,CAAC,SAAS,gBAAgB,CAAC,KAAK;gBAC/D,OAAO,KAAK,CAAC,OAAO,KAAK,oBAAoB,CAAC;YAClD,CAAC,CAAC,CAAC;YACH,OAAO,SAAS,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;QACvD,CAAC;QACD,gBAAgB;YACZ,OAAO,YAAY,CAAC,IAAI,CAAC,SAAS,aAAa,CAAC,KAAK;gBACjD,OAAO,KAAK,CAAC,OAAO,KAAK,OAAO,IAAI,KAAK,CAAC,OAAO,KAAK,oBAAoB,CAAC;YAC/E,CAAC,CAAC,CAAC;QACP,CAAC;QACD,WAAW;QACX,aAAa,CAAC,GAAG,EAAE,UAAU;YACzB,WAAW,CAAC,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC;QACrC,CAAC;QACD,iBAAiB,CAAC,KAAK;YACnB,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC7B,CAAC;QACD,gBAAgB,CAAC,GAAG;YAChB,WAAW,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QAC5B,CAAC;QACD,YAAY;QACZ,kBAAkB;YACd,eAAe,GAAG,KAAK,CAAC;QAC5B,CAAC;KACJ,CAAC;AACN,CAAC"}
@@ -1,16 +0,0 @@
1
- import type { Clock } from '@enormora/clock';
2
- import type { BenchmarkExecutionEnvironment } from './benchmark-environment.ts';
3
- import { type TestRuntimePolicy } from './case-execution.ts';
4
- import type { ExecutionGlobalErrorObserver } from './execution-global-error-observer.ts';
5
- export type ExecuteTimeoutPolicy = {
6
- readonly hardTimeoutMilliseconds: number;
7
- readonly timeoutMilliseconds: number;
8
- };
9
- export type ExecutionSupervisionDependencies = {
10
- readonly benchmarkEnvironment: BenchmarkExecutionEnvironment | null;
11
- readonly globalErrorObserver: ExecutionGlobalErrorObserver;
12
- readonly runtimePolicy?: TestRuntimePolicy | null;
13
- readonly wallClock: Clock;
14
- };
15
- export {};
16
- //# sourceMappingURL=execution-supervision.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"execution-supervision.d.ts","sourceRoot":"","sources":["../../../../source/engine/execution-supervision.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAChF,OAAO,EAIH,sBACsB,EACzB,MAAM,qBAAqB,CAAC;AAC7B,OAA0B,KASd,EAIH,4BAGiC,EAAE,MAAM,sCAAsC,CAAC;MAU/B,MAK9C,oBAAoB,GAAG;IAC/B,QAAQ,CAAC,uBAAuB,EAAE,MAAM,CAAC;IACzC,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;CACxC,CAAC;AACF,MAAM,MAAuB,gCACe,GAAG;IAC3C,QAAQ,CAAC,oBAAoB,EAAE,6BAA6B,GAAG,IAAI,CAAC;IACpE,QAAQ,CAAC,mBAAmB,EAAE,4BAA4B,CAAC;IAC3D,QAAQ,CAAC,aAAa,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAC;IAClD,QAAQ,CAAC,SAAS,EAAE,KAAK,CAAC;CAC7B,CAAC;AAkBF,MAAM,CAUiB,EAUtB,CAAC"}