@gfdelarue/testkit 0.4.4 → 0.5.0

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 (817) hide show
  1. package/README.md +752 -462
  2. package/bin/testkit-windows-owner-arm64.exe +0 -0
  3. package/bin/testkit-windows-owner-x64.exe +0 -0
  4. package/dist/app/bugs/categories.js +1 -1
  5. package/dist/app/bugs/ci-report.js +2 -2
  6. package/dist/app/bugs/ci-summary.js +3 -3
  7. package/dist/app/bugs/draft.js +4 -4
  8. package/dist/app/bugs/facts.js +2 -2
  9. package/dist/app/bugs/file.js +1 -1
  10. package/dist/app/bugs/gate.js +1 -1
  11. package/dist/app/bugs/guide.js +3 -3
  12. package/dist/app/bugs/issue.js +4 -4
  13. package/dist/app/bugs/known-failures.js +1 -1
  14. package/dist/app/bugs/record.js +2 -2
  15. package/dist/app/bugs/run-reading.js +1 -1
  16. package/dist/app/bugs/supplied-reproduce.js +1 -0
  17. package/dist/app/campaigns/campaign.js +1 -1
  18. package/dist/app/cleanup/index.js +1 -1
  19. package/dist/app/db-schema/prepare.js +1 -1
  20. package/dist/app/destroy/index.js +1 -1
  21. package/dist/app/discover/index.js +2 -2
  22. package/dist/app/doctor/index.js +1 -1
  23. package/dist/app/environments/config-driven.js +1 -0
  24. package/dist/app/environments/environment-file.js +1 -0
  25. package/dist/app/environments/file-setup.js +1 -0
  26. package/dist/app/environments/routing.js +1 -0
  27. package/dist/app/environments/static-values.js +1 -0
  28. package/dist/app/environments/supplied-input.js +1 -0
  29. package/dist/app/environments/supplied.js +1 -0
  30. package/dist/app/environments/task-databases.js +2 -0
  31. package/dist/app/file-selection.js +1 -1
  32. package/dist/app/inspect/artifacts.js +1 -1
  33. package/dist/app/inspect/index.js +1 -1
  34. package/dist/app/lint/index.js +1 -1
  35. package/dist/app/lint/native.js +1 -1
  36. package/dist/app/lint/options.js +1 -1
  37. package/dist/app/lint/rules/data.js +1 -1
  38. package/dist/app/lint/rules/engine-imports.js +1 -1
  39. package/dist/app/lint/rules/syntax.js +1 -1
  40. package/dist/app/lint/rules/unit.js +1 -1
  41. package/dist/app/lint/shared.js +1 -1
  42. package/dist/app/package-inspection.js +1 -1
  43. package/dist/app/reports/files.js +1 -0
  44. package/dist/app/reports/prepare.js +2 -0
  45. package/dist/app/reports/publish.js +1 -0
  46. package/dist/app/run/caller-redaction.js +1 -0
  47. package/dist/app/run/engine-evidence-persistence.js +1 -1
  48. package/dist/app/run/engine-execution-failures.js +1 -1
  49. package/dist/app/run/engine-execution-reporting.js +1 -1
  50. package/dist/app/run/engine-execution.js +1 -1
  51. package/dist/app/run/engine-orchestration.js +1 -1
  52. package/dist/app/run/environment.js +1 -0
  53. package/dist/app/run/failure-details.js +1 -1
  54. package/dist/app/run/live-run.js +1 -1
  55. package/dist/app/run/orchestrator.js +1 -1
  56. package/dist/app/run/planning.js +1 -1
  57. package/dist/app/run/request.js +1 -1
  58. package/dist/app/run/results.js +1 -1
  59. package/dist/app/run/run-events.js +1 -1
  60. package/dist/app/run/run-finalization.js +1 -1
  61. package/dist/app/run/runtime-fixtures.js +1 -1
  62. package/dist/app/run/scheduler/estimates.js +1 -1
  63. package/dist/app/run/scheduler/identity.js +1 -1
  64. package/dist/app/run/scheduler/index.js +1 -1
  65. package/dist/app/run/scheduler/locks.js +1 -0
  66. package/dist/app/run/selection.js +1 -1
  67. package/dist/app/run/setup/runtime-node-setup-protocol.js +1 -1
  68. package/dist/app/run/setup/runtime-node-setup-worker.js +1 -1
  69. package/dist/app/run/setup/runtime-node-setup.js +2 -2
  70. package/dist/app/run/task-batches.js +1 -1
  71. package/dist/app/run/task-leases.js +1 -0
  72. package/dist/app/run/worker-loop.js +1 -1
  73. package/dist/app/status/runs.js +1 -1
  74. package/dist/app/tracker/index.js +1 -1
  75. package/dist/app/typecheck/index.js +4 -4
  76. package/dist/cli/command-catalog.js +1 -1
  77. package/dist/cli/command-flags.js +1 -1
  78. package/dist/cli/command-registry.js +1 -1
  79. package/dist/cli/commands/artifacts.js +2 -2
  80. package/dist/cli/commands/bug/file.js +2 -2
  81. package/dist/cli/commands/bug/record.js +2 -2
  82. package/dist/cli/commands/discover.js +1 -1
  83. package/dist/cli/commands/report/prepare.js +5 -0
  84. package/dist/cli/commands/report/publish.js +2 -0
  85. package/dist/cli/commands/run.js +2 -2
  86. package/dist/cli/commands/typecheck.js +1 -1
  87. package/dist/cli/commands/workspace.js +1 -1
  88. package/dist/cli/framework/errors.js +1 -1
  89. package/dist/cli/framework/execute.js +7 -6
  90. package/dist/cli/framework/parser.js +1 -1
  91. package/dist/cli/json-errors.js +1 -1
  92. package/dist/cli/operations/run/operation.js +2 -2
  93. package/dist/cli/renderers/bug/text.js +1 -1
  94. package/dist/cli/renderers/discover/report.js +1 -1
  95. package/dist/cli/renderers/doctor/text.js +1 -1
  96. package/dist/cli/renderers/run/events.js +2 -2
  97. package/dist/cli/renderers/run/formatting.js +1 -1
  98. package/dist/cli/renderers/run/status.js +1 -1
  99. package/dist/cli/renderers/run/text-reporter.js +24 -22
  100. package/dist/cli/terminal/colors.js +1 -1
  101. package/dist/cli/terminal/layout.js +2 -2
  102. package/dist/config/authoring/http-methods.js +1 -1
  103. package/dist/config/authoring/index.js +1 -1
  104. package/dist/config/authoring/preset-env.js +1 -1
  105. package/dist/config/loader/config-loader.js +1 -1
  106. package/dist/config/loader/database.js +1 -1
  107. package/dist/config/loader/decode-execution.js +1 -1
  108. package/dist/config/loader/dependencies.js +1 -1
  109. package/dist/config/loader/discover-tests.js +1 -1
  110. package/dist/config/loader/discovery-summary.js +1 -1
  111. package/dist/config/loader/discovery.js +2 -2
  112. package/dist/config/loader/env.js +1 -1
  113. package/dist/config/loader/execution-model.js +1 -1
  114. package/dist/config/loader/file-metadata.js +1 -1
  115. package/dist/config/loader/groups.js +1 -0
  116. package/dist/config/loader/index.js +1 -1
  117. package/dist/config/loader/load.js +1 -1
  118. package/dist/config/loader/managed-configs.js +1 -1
  119. package/dist/config/loader/owned-discovery.js +1 -0
  120. package/dist/config/loader/path-policy.js +1 -1
  121. package/dist/config/loader/runtime-isolation.js +1 -1
  122. package/dist/config/loader/runtime.js +1 -1
  123. package/dist/config/loader/skip-config.js +1 -1
  124. package/dist/config/loader/task-policy.js +1 -0
  125. package/dist/config/loader/test-selection.js +1 -1
  126. package/dist/config/loader/validation.js +1 -1
  127. package/dist/database/activity-gate.js +1 -1
  128. package/dist/database/admin.js +2 -2
  129. package/dist/database/bindings.js +1 -0
  130. package/dist/database/cleanup.js +1 -1
  131. package/dist/database/docker-metadata.js +3 -3
  132. package/dist/database/docker.js +3 -3
  133. package/dist/database/index.js +1 -1
  134. package/dist/database/lifecycle-cleanup.js +1 -1
  135. package/dist/database/local-postgres.js +1 -1
  136. package/dist/database/naming.js +1 -1
  137. package/dist/database/postgres/connection-check.js +1 -0
  138. package/dist/database/postgres/protocol.js +2 -0
  139. package/dist/database/schema-operations.js +1 -1
  140. package/dist/database/schema-source.js +3 -3
  141. package/dist/database/source-schema-env.js +1 -0
  142. package/dist/database/source-url.js +2 -2
  143. package/dist/database/state-files.js +1 -1
  144. package/dist/database/state.js +1 -1
  145. package/dist/database/steps.js +3 -3
  146. package/dist/domain/file-timeout.js +1 -1
  147. package/dist/domain/identifiers.js +1 -1
  148. package/dist/domain/operation-display.js +1 -1
  149. package/dist/domain/retired-test-types.js +1 -0
  150. package/dist/domain/runtime-isolation-contract.js +1 -1
  151. package/dist/domain/suite-selection.js +1 -1
  152. package/dist/domain/test-outcomes.js +1 -1
  153. package/dist/domain/test-types.js +1 -1
  154. package/dist/engines/adapters/evidence-files.js +1 -1
  155. package/dist/engines/adapters/evidence-identity.js +1 -1
  156. package/dist/engines/adapters/execution.js +1 -1
  157. package/dist/engines/adapters/json-bounds.js +2 -0
  158. package/dist/engines/adapters/native-report.js +1 -1
  159. package/dist/engines/api/execution-scope.js +1 -1
  160. package/dist/engines/api/execution.js +1 -1
  161. package/dist/engines/api/index.js +1 -1
  162. package/dist/engines/api/runtime-artifact.js +1 -1
  163. package/dist/engines/bundle-cache.js +1 -1
  164. package/dist/engines/catalog.js +1 -1
  165. package/dist/engines/contracts/environment-values.js +1 -0
  166. package/dist/engines/contracts/fixture-manifest.js +1 -1
  167. package/dist/engines/definitions.js +1 -1
  168. package/dist/engines/environment/handles.js +1 -0
  169. package/dist/engines/environment/index.js +1 -0
  170. package/dist/engines/factory.js +1 -1
  171. package/dist/engines/installations/node-vitest.js +1 -1
  172. package/dist/engines/installations/package-resolution.js +1 -1
  173. package/dist/engines/installations/playwright-resolution-child.js +1 -1
  174. package/dist/engines/installations/playwright.js +1 -1
  175. package/dist/engines/managed-module-resolution-policy-input.js +1 -1
  176. package/dist/engines/managed-module-resolution-policy.js +1 -1
  177. package/dist/engines/managed-module-resolution.js +2 -2
  178. package/dist/engines/manager.js +1 -1
  179. package/dist/engines/node-vitest/adapter/adapter.js +1 -1
  180. package/dist/engines/node-vitest/adapter/driver.js +2 -0
  181. package/dist/engines/node-vitest/adapter/evidence.js +2 -2
  182. package/dist/engines/node-vitest/adapter/failure-details.js +4 -2
  183. package/dist/engines/node-vitest/adapter/reporter.js +1 -1
  184. package/dist/engines/node-vitest/adapter/workspace.js +31 -192
  185. package/dist/engines/node-vitest/inventory/index.js +2 -0
  186. package/dist/engines/node-vitest/inventory/list-files.js +3 -0
  187. package/dist/engines/node-vitest/runtime/contract/index.js +1 -1
  188. package/dist/engines/node-vitest/runtime/data/http.js +1 -1
  189. package/dist/engines/node-vitest/runtime/data/index.js +1 -1
  190. package/dist/engines/node-vitest/runtime/data/report.js +5 -6
  191. package/dist/engines/node-vitest/runtime/data/scenario.js +2 -2
  192. package/dist/engines/node-vitest/runtime/runtime-input.js +1 -1
  193. package/dist/engines/node-vitest/selection.js +1 -0
  194. package/dist/engines/playwright/adapter/adapter.js +1 -1
  195. package/dist/engines/playwright/adapter/config.js +4 -4
  196. package/dist/engines/playwright/adapter/evidence-validation.js +1 -1
  197. package/dist/engines/playwright/adapter/evidence.js +1 -1
  198. package/dist/engines/playwright/adapter/reporter.js +1 -1
  199. package/dist/engines/playwright/runtime/config-file.js +1 -1
  200. package/dist/engines/playwright/runtime/config.js +1 -1
  201. package/dist/engines/playwright/runtime/runtime-input.js +43 -20
  202. package/dist/engines/runtime-input-file.js +1 -1
  203. package/dist/environment/lifecycle-artifacts.js +1 -1
  204. package/dist/environment/lifecycle-controller.js +1 -1
  205. package/dist/environment/lifecycle.js +1 -1
  206. package/dist/environment/ports.js +1 -0
  207. package/dist/environment/ready-environment.js +1 -1
  208. package/dist/environment/run-environment.js +1 -1
  209. package/dist/environment/run-stopping.js +1 -1
  210. package/dist/environment/runtime-contexts.js +1 -1
  211. package/dist/environment/runtime-manager.js +1 -1
  212. package/dist/environment/runtime-planning.js +1 -1
  213. package/dist/environment/runtime-preparation.js +1 -1
  214. package/dist/environment/services.js +3 -1
  215. package/dist/environment/state.js +1 -1
  216. package/dist/environment/template.js +1 -1
  217. package/dist/evidence/artifact-config.js +1 -1
  218. package/dist/evidence/artifact-validation.js +1 -1
  219. package/dist/evidence/artifacts.js +2 -2
  220. package/dist/evidence/bundles.js +1 -1
  221. package/dist/evidence/environment-record.js +1 -0
  222. package/dist/evidence/index.js +1 -1
  223. package/dist/evidence/logs.js +2 -2
  224. package/dist/evidence/operation-timings.js +1 -1
  225. package/dist/evidence/read-fields.js +1 -1
  226. package/dist/evidence/read-run.js +1 -1
  227. package/dist/evidence/reading.js +1 -1
  228. package/dist/evidence/redaction.js +4 -0
  229. package/dist/evidence/reporting.js +1 -1
  230. package/dist/evidence/run-model.js +1 -0
  231. package/dist/evidence/storage.js +2 -2
  232. package/dist/evidence/timing.js +1 -1
  233. package/dist/kernel/error-serialization.js +1 -1
  234. package/dist/kernel/redaction-targets.js +1 -0
  235. package/dist/kernel/redaction.js +4 -1
  236. package/dist/kernel/unknown-values.js +1 -1
  237. package/dist/process/environment.js +1 -1
  238. package/dist/process/execa-bundle.json +3 -3
  239. package/dist/process/files/json-file.js +1 -1
  240. package/dist/process/files/paths.js +1 -1
  241. package/dist/process/host/metadata.js +1 -1
  242. package/dist/process/host/platform.js +1 -1
  243. package/dist/process/host-process.js +1 -1
  244. package/dist/process/index.js +1 -1
  245. package/dist/process/lifecycle-fence.js +1 -1
  246. package/dist/process/locks.js +4 -4
  247. package/dist/process/port-listener.js +2 -0
  248. package/dist/process/process-group.js +1 -1
  249. package/dist/process/process-identity.js +1 -1
  250. package/dist/process/process.js +33 -33
  251. package/dist/process/readiness.js +1 -1
  252. package/dist/process/ready-deadline.js +1 -0
  253. package/dist/process/recovery.js +1 -1
  254. package/dist/process/runs/manifest.js +1 -1
  255. package/dist/process/runs/ownership.js +1 -1
  256. package/dist/process/runs/product-state.js +1 -1
  257. package/dist/process/runs/stop.js +1 -1
  258. package/dist/process/service-processes.js +1 -1
  259. package/dist/process/stoppable-settlement.js +1 -0
  260. package/dist/process/url-redaction.js +1 -0
  261. package/dist/process/windows-cli-owner.js +3 -3
  262. package/dist/process/windows-native.js +1 -1
  263. package/dist/repo/ci-environment.js +1 -1
  264. package/dist/repo/fingerprint-policy.js +1 -1
  265. package/dist/repo/managed-git.js +1 -1
  266. package/dist/repo/physical-tree.js +1 -1
  267. package/dist/repo/publish-directory.js +3 -0
  268. package/dist/repo/state.js +4 -4
  269. package/dist/steps/build-config.js +1 -1
  270. package/dist/steps/configured-step-testkit-modules.js +1 -1
  271. package/dist/steps/configured-steps.js +1 -1
  272. package/dist/steps/environment.js +1 -1
  273. package/dist/steps/index.js +1 -1
  274. package/dist/steps/run.js +2 -2
  275. package/dist/toolchains/archive.js +1 -1
  276. package/dist/toolchains/index.js +3 -3
  277. package/dist/toolchains/node-provisioning.js +2 -2
  278. package/dist/toolchains/semver.js +1 -1
  279. package/dist/toolchains/vitest/index.js +1 -1
  280. package/dist/tracker/redaction.js +1 -2
  281. package/dist/{config/runtime/build-assets.d.ts → types/config-build-assets.d.ts} +5 -3
  282. package/dist/{database/steps.d.ts → types/config-database-steps.d.ts} +7 -7
  283. package/dist/{config/runtime/next-runtime-tsconfig.d.ts → types/config-next-runtime-tsconfig.d.ts} +5 -3
  284. package/dist/types/config.d.ts +501 -0
  285. package/dist/types/drizzle.d.ts +13 -0
  286. package/dist/{config/runtime/env/index.d.ts → types/env.d.ts} +22 -20
  287. package/dist/types/environment.d.ts +40 -0
  288. package/dist/types/index.d.ts +21 -0
  289. package/dist/types/node-vitest-contract.d.ts +75 -0
  290. package/dist/types/node-vitest-data.d.ts +407 -0
  291. package/dist/types/playwright.d.ts +130 -0
  292. package/dist/types/tooling-vitest.d.ts +13 -0
  293. package/dist/types/workspace.d.ts +617 -0
  294. package/docs/bug-records.md +83 -81
  295. package/docs/engines.md +213 -0
  296. package/docs/test-types.md +35 -33
  297. package/package.json +22 -29
  298. package/testkit-config-schema.md +403 -171
  299. package/dist/app/bugs/areas.d.ts +0 -38
  300. package/dist/app/bugs/assessment.d.ts +0 -9
  301. package/dist/app/bugs/categories.d.ts +0 -41
  302. package/dist/app/bugs/ci-report.d.ts +0 -21
  303. package/dist/app/bugs/ci-summary.d.ts +0 -13
  304. package/dist/app/bugs/draft.d.ts +0 -70
  305. package/dist/app/bugs/facts.d.ts +0 -48
  306. package/dist/app/bugs/file.d.ts +0 -45
  307. package/dist/app/bugs/gate.d.ts +0 -22
  308. package/dist/app/bugs/guide.d.ts +0 -20
  309. package/dist/app/bugs/issue.d.ts +0 -18
  310. package/dist/app/bugs/known-failures.d.ts +0 -49
  311. package/dist/app/bugs/record.d.ts +0 -14
  312. package/dist/app/bugs/run-reading.d.ts +0 -51
  313. package/dist/app/bugs/store.d.ts +0 -34
  314. package/dist/app/campaigns/brief.d.ts +0 -7
  315. package/dist/app/campaigns/campaign.d.ts +0 -14
  316. package/dist/app/campaigns/index.d.ts +0 -38
  317. package/dist/app/campaigns/store.d.ts +0 -5
  318. package/dist/app/campaigns/summary.d.ts +0 -13
  319. package/dist/app/cleanup/index.d.ts +0 -52
  320. package/dist/app/db-schema/prepare.d.ts +0 -11
  321. package/dist/app/db-schema/refresh.d.ts +0 -17
  322. package/dist/app/db-schema/verify.d.ts +0 -11
  323. package/dist/app/destroy/index.d.ts +0 -16
  324. package/dist/app/discover/index.d.ts +0 -8
  325. package/dist/app/doctor/index.d.ts +0 -17
  326. package/dist/app/file-selection.d.ts +0 -1
  327. package/dist/app/inspect/artifacts.d.ts +0 -30
  328. package/dist/app/inspect/index.d.ts +0 -112
  329. package/dist/app/lint/index.d.ts +0 -28
  330. package/dist/app/lint/native.d.ts +0 -10
  331. package/dist/app/lint/options.d.ts +0 -67
  332. package/dist/app/lint/policy.d.ts +0 -21
  333. package/dist/app/lint/rules/data.d.ts +0 -3
  334. package/dist/app/lint/rules/engine-imports.d.ts +0 -3
  335. package/dist/app/lint/rules/syntax.d.ts +0 -4
  336. package/dist/app/lint/rules/unit.d.ts +0 -3
  337. package/dist/app/lint/shared.d.ts +0 -36
  338. package/dist/app/package-inspection.d.ts +0 -20
  339. package/dist/app/run/endpoint-readiness.d.ts +0 -43
  340. package/dist/app/run/endpoint-readiness.js +0 -1
  341. package/dist/app/run/engine-evidence-persistence.d.ts +0 -39
  342. package/dist/app/run/engine-execution-cleanup.d.ts +0 -8
  343. package/dist/app/run/engine-execution-cleanup.js +0 -1
  344. package/dist/app/run/engine-execution-failures.d.ts +0 -41
  345. package/dist/app/run/engine-execution-observer.d.ts +0 -21
  346. package/dist/app/run/engine-execution-reporting.d.ts +0 -17
  347. package/dist/app/run/engine-execution.d.ts +0 -63
  348. package/dist/app/run/engine-failure-stack.d.ts +0 -1
  349. package/dist/app/run/engine-orchestration.d.ts +0 -49
  350. package/dist/app/run/failure-details.d.ts +0 -37
  351. package/dist/app/run/live-run.d.ts +0 -27
  352. package/dist/app/run/operation-progress.d.ts +0 -13
  353. package/dist/app/run/orchestrator.d.ts +0 -68
  354. package/dist/app/run/planning-types.d.ts +0 -68
  355. package/dist/app/run/planning.d.ts +0 -15
  356. package/dist/app/run/playwright-configuration.d.ts +0 -2
  357. package/dist/app/run/playwright-configuration.js +0 -1
  358. package/dist/app/run/request.d.ts +0 -30
  359. package/dist/app/run/results.d.ts +0 -161
  360. package/dist/app/run/run-events.d.ts +0 -144
  361. package/dist/app/run/run-finalization.d.ts +0 -52
  362. package/dist/app/run/run-guards.d.ts +0 -3
  363. package/dist/app/run/runtime-failures.d.ts +0 -18
  364. package/dist/app/run/runtime-fixtures.d.ts +0 -2
  365. package/dist/app/run/runtime-task-types.d.ts +0 -20
  366. package/dist/app/run/scheduler/estimates.d.ts +0 -32
  367. package/dist/app/run/scheduler/identity.d.ts +0 -9
  368. package/dist/app/run/scheduler/index.d.ts +0 -124
  369. package/dist/app/run/scheduler/observations.d.ts +0 -20
  370. package/dist/app/run/selection.d.ts +0 -10
  371. package/dist/app/run/setup/runtime-node-setup-errors.d.ts +0 -13
  372. package/dist/app/run/setup/runtime-node-setup-protocol.d.ts +0 -85
  373. package/dist/app/run/setup/runtime-node-setup-worker.d.ts +0 -1
  374. package/dist/app/run/setup/runtime-node-setup.d.ts +0 -48
  375. package/dist/app/run/task-batches.d.ts +0 -23
  376. package/dist/app/run/worker-loop.d.ts +0 -57
  377. package/dist/app/setup/playwright.d.ts +0 -22
  378. package/dist/app/status/index.d.ts +0 -9
  379. package/dist/app/status/model.d.ts +0 -29
  380. package/dist/app/status/runs.d.ts +0 -99
  381. package/dist/app/stop/index.d.ts +0 -14
  382. package/dist/app/tracker/index.d.ts +0 -8
  383. package/dist/app/tracker/remote.d.ts +0 -13
  384. package/dist/app/tracker/token.d.ts +0 -7
  385. package/dist/app/typecheck/index.d.ts +0 -63
  386. package/dist/cli/command-catalog.d.ts +0 -137
  387. package/dist/cli/command-flags.d.ts +0 -19
  388. package/dist/cli/command-registry.d.ts +0 -3
  389. package/dist/cli/commands/artifacts.d.ts +0 -48
  390. package/dist/cli/commands/bug/file.d.ts +0 -16
  391. package/dist/cli/commands/bug/guide.d.ts +0 -5
  392. package/dist/cli/commands/bug/record.d.ts +0 -9
  393. package/dist/cli/commands/campaign/finish.d.ts +0 -10
  394. package/dist/cli/commands/campaign/start.d.ts +0 -7
  395. package/dist/cli/commands/campaign/status.d.ts +0 -13
  396. package/dist/cli/commands/ci/report.d.ts +0 -15
  397. package/dist/cli/commands/cleanup.d.ts +0 -13
  398. package/dist/cli/commands/db/schema/refresh.d.ts +0 -2
  399. package/dist/cli/commands/db/schema/verify.d.ts +0 -2
  400. package/dist/cli/commands/destroy.d.ts +0 -9
  401. package/dist/cli/commands/discover.d.ts +0 -2
  402. package/dist/cli/commands/doctor.d.ts +0 -2
  403. package/dist/cli/commands/guard/unsafe-entrypoint.d.ts +0 -2
  404. package/dist/cli/commands/lint.d.ts +0 -2
  405. package/dist/cli/commands/run/status.d.ts +0 -5
  406. package/dist/cli/commands/run/stop.d.ts +0 -7
  407. package/dist/cli/commands/run.d.ts +0 -9
  408. package/dist/cli/commands/setup/playwright.d.ts +0 -2
  409. package/dist/cli/commands/status.d.ts +0 -5
  410. package/dist/cli/commands/stop.d.ts +0 -12
  411. package/dist/cli/commands/typecheck.d.ts +0 -2
  412. package/dist/cli/commands/workspace.d.ts +0 -2
  413. package/dist/cli/entrypoint.d.ts +0 -1
  414. package/dist/cli/framework/command.d.ts +0 -21
  415. package/dist/cli/framework/definitions.d.ts +0 -100
  416. package/dist/cli/framework/errors.d.ts +0 -6
  417. package/dist/cli/framework/execute.d.ts +0 -14
  418. package/dist/cli/framework/help.d.ts +0 -11
  419. package/dist/cli/framework/index.d.ts +0 -3
  420. package/dist/cli/framework/parser.d.ts +0 -6
  421. package/dist/cli/index.d.ts +0 -4
  422. package/dist/cli/json-errors.d.ts +0 -3
  423. package/dist/cli/operations/db/schema/refresh/operation.d.ts +0 -7
  424. package/dist/cli/operations/db/schema/verify/operation.d.ts +0 -7
  425. package/dist/cli/operations/run/operation.d.ts +0 -24
  426. package/dist/cli/process-signal.d.ts +0 -1
  427. package/dist/cli/renderers/bug/text.d.ts +0 -8
  428. package/dist/cli/renderers/campaign/text.d.ts +0 -2
  429. package/dist/cli/renderers/ci/text.d.ts +0 -2
  430. package/dist/cli/renderers/cleanup/format.d.ts +0 -14
  431. package/dist/cli/renderers/db-schema/text.d.ts +0 -4
  432. package/dist/cli/renderers/destroy/text.d.ts +0 -4
  433. package/dist/cli/renderers/discover/report.d.ts +0 -7
  434. package/dist/cli/renderers/discover/text.d.ts +0 -3
  435. package/dist/cli/renderers/doctor/text.d.ts +0 -2
  436. package/dist/cli/renderers/lint/text.d.ts +0 -2
  437. package/dist/cli/renderers/run/events.d.ts +0 -8
  438. package/dist/cli/renderers/run/failure.d.ts +0 -8
  439. package/dist/cli/renderers/run/formatting.d.ts +0 -79
  440. package/dist/cli/renderers/run/status.d.ts +0 -6
  441. package/dist/cli/renderers/run/text-reporter.d.ts +0 -19
  442. package/dist/cli/renderers/status/text.d.ts +0 -2
  443. package/dist/cli/renderers/stop/text.d.ts +0 -7
  444. package/dist/cli/renderers/typecheck/text.d.ts +0 -2
  445. package/dist/cli/terminal/colors.d.ts +0 -10
  446. package/dist/cli/terminal/layout.d.ts +0 -11
  447. package/dist/cli/version-drift.d.ts +0 -25
  448. package/dist/config/authoring/build-config-contract.d.ts +0 -27
  449. package/dist/config/authoring/configured-step-contract.d.ts +0 -18
  450. package/dist/config/authoring/http-execution-contract.d.ts +0 -70
  451. package/dist/config/authoring/http-methods.d.ts +0 -18
  452. package/dist/config/authoring/index.d.ts +0 -381
  453. package/dist/config/authoring/preset-env.d.ts +0 -19
  454. package/dist/config/authoring/runtime.d.ts +0 -64
  455. package/dist/config/loader/bugs.d.ts +0 -15
  456. package/dist/config/loader/config-loader.d.ts +0 -9
  457. package/dist/config/loader/database-materialization.d.ts +0 -19
  458. package/dist/config/loader/database-roles.d.ts +0 -2
  459. package/dist/config/loader/database.d.ts +0 -55
  460. package/dist/config/loader/decode-discovery.d.ts +0 -5
  461. package/dist/config/loader/decode-execution.d.ts +0 -9
  462. package/dist/config/loader/dependencies.d.ts +0 -7
  463. package/dist/config/loader/discover-tests.d.ts +0 -111
  464. package/dist/config/loader/discovery-summary.d.ts +0 -29
  465. package/dist/config/loader/discovery.d.ts +0 -54
  466. package/dist/config/loader/env.d.ts +0 -4
  467. package/dist/config/loader/execution-model.d.ts +0 -16
  468. package/dist/config/loader/file-metadata.d.ts +0 -19
  469. package/dist/config/loader/index.d.ts +0 -10
  470. package/dist/config/loader/load.d.ts +0 -91
  471. package/dist/config/loader/managed-configs.d.ts +0 -23
  472. package/dist/config/loader/path-policy.d.ts +0 -9
  473. package/dist/config/loader/paths.d.ts +0 -5
  474. package/dist/config/loader/runtime-isolation.d.ts +0 -44
  475. package/dist/config/loader/runtime.d.ts +0 -25
  476. package/dist/config/loader/skip-config.d.ts +0 -44
  477. package/dist/config/loader/test-selection.d.ts +0 -15
  478. package/dist/config/loader/validation.d.ts +0 -16
  479. package/dist/config/loader/values.d.ts +0 -4
  480. package/dist/config/loader/values.js +0 -1
  481. package/dist/database/activity-gate.d.ts +0 -22
  482. package/dist/database/admin.d.ts +0 -31
  483. package/dist/database/cleanup.d.ts +0 -36
  484. package/dist/database/configured-steps.d.ts +0 -27
  485. package/dist/database/constants.d.ts +0 -11
  486. package/dist/database/docker-metadata.d.ts +0 -3
  487. package/dist/database/docker.d.ts +0 -65
  488. package/dist/database/drizzle/index.d.ts +0 -13
  489. package/dist/database/fingerprint.d.ts +0 -12
  490. package/dist/database/index.d.ts +0 -39
  491. package/dist/database/lifecycle-cleanup.d.ts +0 -7
  492. package/dist/database/local-postgres.d.ts +0 -71
  493. package/dist/database/naming.d.ts +0 -17
  494. package/dist/database/postgres/index.d.ts +0 -71
  495. package/dist/database/progress.d.ts +0 -6
  496. package/dist/database/roles.d.ts +0 -19
  497. package/dist/database/runtime-config.d.ts +0 -16
  498. package/dist/database/runtime-reservations.d.ts +0 -19
  499. package/dist/database/schema-operations.d.ts +0 -18
  500. package/dist/database/schema-source.d.ts +0 -96
  501. package/dist/database/source-refresh-lock.d.ts +0 -8
  502. package/dist/database/source-url.d.ts +0 -22
  503. package/dist/database/state-files.d.ts +0 -13
  504. package/dist/database/state.d.ts +0 -26
  505. package/dist/database/template-steps.d.ts +0 -39
  506. package/dist/domain/file-timeout.d.ts +0 -28
  507. package/dist/domain/identifiers.d.ts +0 -9
  508. package/dist/domain/operation-display.d.ts +0 -10
  509. package/dist/domain/operation-reason.d.ts +0 -5
  510. package/dist/domain/postgres-route.d.ts +0 -4
  511. package/dist/domain/runtime-identity.d.ts +0 -1
  512. package/dist/domain/runtime-isolation-contract.d.ts +0 -5
  513. package/dist/domain/service-name.d.ts +0 -2
  514. package/dist/domain/suite-selection.d.ts +0 -20
  515. package/dist/domain/test-outcomes.d.ts +0 -3
  516. package/dist/domain/test-types.d.ts +0 -16
  517. package/dist/engines/adapters/evidence-files.d.ts +0 -32
  518. package/dist/engines/adapters/evidence-identity.d.ts +0 -12
  519. package/dist/engines/adapters/execution.d.ts +0 -42
  520. package/dist/engines/adapters/native-report.d.ts +0 -25
  521. package/dist/engines/adapters/node-startup-cache.d.ts +0 -8
  522. package/dist/engines/adapters/workspace.d.ts +0 -4
  523. package/dist/engines/api/capabilities.d.ts +0 -31
  524. package/dist/engines/api/capabilities.js +0 -1
  525. package/dist/engines/api/evidence.d.ts +0 -38
  526. package/dist/engines/api/execution-observer.d.ts +0 -8
  527. package/dist/engines/api/execution-scope.d.ts +0 -17
  528. package/dist/engines/api/execution.d.ts +0 -101
  529. package/dist/engines/api/index.d.ts +0 -5
  530. package/dist/engines/api/k6-runtime-input.d.ts +0 -26
  531. package/dist/engines/api/k6-runtime-input.js +0 -1
  532. package/dist/engines/api/runtime-artifact.d.ts +0 -19
  533. package/dist/engines/bundle-cache.d.ts +0 -32
  534. package/dist/engines/catalog.d.ts +0 -27
  535. package/dist/engines/contracts/fixture-manifest.d.ts +0 -34
  536. package/dist/engines/contracts/json-bounds.d.ts +0 -36
  537. package/dist/engines/contracts/json-bounds.js +0 -2
  538. package/dist/engines/contracts/k6-repository-configuration.d.ts +0 -12
  539. package/dist/engines/contracts/k6-repository-configuration.js +0 -1
  540. package/dist/engines/contracts/test-context.d.ts +0 -15
  541. package/dist/engines/contracts/test-context.js +0 -1
  542. package/dist/engines/definitions.d.ts +0 -22
  543. package/dist/engines/factory.d.ts +0 -6
  544. package/dist/engines/generated-performance.d.ts +0 -1
  545. package/dist/engines/installation-catalog.d.ts +0 -27
  546. package/dist/engines/installation-catalog.js +0 -1
  547. package/dist/engines/installations/k6.d.ts +0 -98
  548. package/dist/engines/installations/k6.js +0 -1
  549. package/dist/engines/installations/node-vitest.d.ts +0 -33
  550. package/dist/engines/installations/package-requirements.d.ts +0 -28
  551. package/dist/engines/installations/package-resolution.d.ts +0 -51
  552. package/dist/engines/installations/playwright-resolution-child.d.ts +0 -1
  553. package/dist/engines/installations/playwright.d.ts +0 -75
  554. package/dist/engines/installations/types.d.ts +0 -10
  555. package/dist/engines/k6/adapter/bundle.d.ts +0 -25
  556. package/dist/engines/k6/adapter/bundle.js +0 -112
  557. package/dist/engines/k6/adapter/evidence.d.ts +0 -15
  558. package/dist/engines/k6/adapter/evidence.js +0 -4
  559. package/dist/engines/k6/adapter/executor.d.ts +0 -13
  560. package/dist/engines/k6/adapter/executor.js +0 -1
  561. package/dist/engines/k6/adapter/index.d.ts +0 -1
  562. package/dist/engines/k6/adapter/index.js +0 -1
  563. package/dist/engines/k6/adapter/input.d.ts +0 -21
  564. package/dist/engines/k6/adapter/input.js +0 -1
  565. package/dist/engines/k6/adapter/native-summary.d.ts +0 -11
  566. package/dist/engines/k6/adapter/native-summary.js +0 -1
  567. package/dist/engines/k6/adapter/repository-configuration.d.ts +0 -2
  568. package/dist/engines/k6/adapter/repository-configuration.js +0 -1
  569. package/dist/engines/k6/authoring-type-paths.d.ts +0 -3
  570. package/dist/engines/k6/authoring-type-paths.js +0 -1
  571. package/dist/engines/k6/runtime/ambient-types/bundle-manifest.json +0 -146
  572. package/dist/engines/k6/runtime/ambient-types/k6/LICENSE +0 -21
  573. package/dist/engines/k6/runtime/ambient-types/k6/browser/index.d.ts +0 -6332
  574. package/dist/engines/k6/runtime/ambient-types/k6/crypto/index.d.ts +0 -218
  575. package/dist/engines/k6/runtime/ambient-types/k6/data/index.d.ts +0 -16
  576. package/dist/engines/k6/runtime/ambient-types/k6/encoding/index.d.ts +0 -46
  577. package/dist/engines/k6/runtime/ambient-types/k6/execution/index.d.ts +0 -127
  578. package/dist/engines/k6/runtime/ambient-types/k6/experimental/csv/index.d.ts +0 -96
  579. package/dist/engines/k6/runtime/ambient-types/k6/experimental/fs/index.d.ts +0 -104
  580. package/dist/engines/k6/runtime/ambient-types/k6/experimental/redis/index.d.ts +0 -821
  581. package/dist/engines/k6/runtime/ambient-types/k6/experimental/streams/index.d.ts +0 -198
  582. package/dist/engines/k6/runtime/ambient-types/k6/global.d.ts +0 -83
  583. package/dist/engines/k6/runtime/ambient-types/k6/html/index.d.ts +0 -1325
  584. package/dist/engines/k6/runtime/ambient-types/k6/http/index.d.ts +0 -806
  585. package/dist/engines/k6/runtime/ambient-types/k6/index.d.ts +0 -126
  586. package/dist/engines/k6/runtime/ambient-types/k6/metrics/index.d.ts +0 -66
  587. package/dist/engines/k6/runtime/ambient-types/k6/net/grpc/index.d.ts +0 -247
  588. package/dist/engines/k6/runtime/ambient-types/k6/options/index.d.ts +0 -459
  589. package/dist/engines/k6/runtime/ambient-types/k6/package.json +0 -79
  590. package/dist/engines/k6/runtime/ambient-types/k6/secrets/index.d.ts +0 -36
  591. package/dist/engines/k6/runtime/ambient-types/k6/timers/index.d.ts +0 -47
  592. package/dist/engines/k6/runtime/ambient-types/k6/websockets/index.d.ts +0 -324
  593. package/dist/engines/k6/runtime/ambient-types/k6/ws/index.d.ts +0 -283
  594. package/dist/engines/k6/runtime/ambient-types/xk6-sql/LICENSE +0 -201
  595. package/dist/engines/k6/runtime/ambient-types/xk6-sql/index.d.ts +0 -397
  596. package/dist/engines/k6/runtime/ambient-types/xk6-sql/package.json +0 -15
  597. package/dist/engines/k6/runtime/artifacts.d.ts +0 -2
  598. package/dist/engines/k6/runtime/artifacts.js +0 -1
  599. package/dist/engines/k6/runtime/checks.d.ts +0 -17
  600. package/dist/engines/k6/runtime/checks.js +0 -1
  601. package/dist/engines/k6/runtime/dal-fixtures.d.ts +0 -24
  602. package/dist/engines/k6/runtime/dal-fixtures.js +0 -1
  603. package/dist/engines/k6/runtime/dal-suite.d.ts +0 -24
  604. package/dist/engines/k6/runtime/dal-suite.js +0 -1
  605. package/dist/engines/k6/runtime/dal.d.ts +0 -10
  606. package/dist/engines/k6/runtime/dal.js +0 -1
  607. package/dist/engines/k6/runtime/fixtures.d.ts +0 -3
  608. package/dist/engines/k6/runtime/fixtures.js +0 -1
  609. package/dist/engines/k6/runtime/http-assertions.d.ts +0 -19
  610. package/dist/engines/k6/runtime/http-assertions.js +0 -1
  611. package/dist/engines/k6/runtime/http-checks.d.ts +0 -19
  612. package/dist/engines/k6/runtime/http-checks.js +0 -1
  613. package/dist/engines/k6/runtime/http-suite-runtime.d.ts +0 -103
  614. package/dist/engines/k6/runtime/http-suite-runtime.js +0 -1
  615. package/dist/engines/k6/runtime/http.d.ts +0 -15
  616. package/dist/engines/k6/runtime/http.js +0 -1
  617. package/dist/engines/k6/runtime/index.d.ts +0 -11
  618. package/dist/engines/k6/runtime/index.js +0 -1
  619. package/dist/engines/k6/runtime/input.d.ts +0 -3
  620. package/dist/engines/k6/runtime/input.js +0 -1
  621. package/dist/engines/k6/runtime/k6-repository-configuration.d.ts +0 -9
  622. package/dist/engines/k6/runtime/k6-repository-configuration.js +0 -1
  623. package/dist/engines/k6/runtime/node-setup.d.ts +0 -13
  624. package/dist/engines/k6/runtime/node-setup.js +0 -1
  625. package/dist/engines/k6/runtime/runtime-globals.d.ts +0 -10
  626. package/dist/engines/k6/runtime/runtime.d.ts +0 -54
  627. package/dist/engines/k6/runtime/runtime.js +0 -1
  628. package/dist/engines/k6/runtime/shared/assertion-details.d.ts +0 -19
  629. package/dist/engines/k6/runtime/shared/assertion-details.js +0 -2
  630. package/dist/engines/k6/runtime/shared/db-normalization.d.ts +0 -19
  631. package/dist/engines/k6/runtime/shared/db-normalization.js +0 -1
  632. package/dist/engines/k6/runtime/shared/error-body.d.ts +0 -3
  633. package/dist/engines/k6/runtime/shared/error-body.js +0 -1
  634. package/dist/engines/k6/runtime/shared/file-data.d.ts +0 -1
  635. package/dist/engines/k6/runtime/shared/file-data.js +0 -1
  636. package/dist/engines/k6/runtime/shared/fixture-engine.d.ts +0 -8
  637. package/dist/engines/k6/runtime/shared/fixture-engine.js +0 -2
  638. package/dist/engines/k6/runtime/shared/http-check-plan.d.ts +0 -29
  639. package/dist/engines/k6/runtime/shared/http-check-plan.js +0 -1
  640. package/dist/engines/k6/runtime/shared/http-parsing.d.ts +0 -10
  641. package/dist/engines/k6/runtime/shared/http-parsing.js +0 -3
  642. package/dist/engines/k6/runtime/shared/ordering.d.ts +0 -2
  643. package/dist/engines/k6/runtime/shared/ordering.js +0 -1
  644. package/dist/engines/k6/runtime/shared/properties.d.ts +0 -1
  645. package/dist/engines/k6/runtime/shared/properties.js +0 -1
  646. package/dist/engines/k6/runtime/suite.d.ts +0 -4
  647. package/dist/engines/k6/runtime/suite.js +0 -1
  648. package/dist/engines/k6/runtime/types.d.ts +0 -244
  649. package/dist/engines/k6/runtime/types.js +0 -1
  650. package/dist/engines/k6/runtime/xk6-sql-driver-postgres.d.ts +0 -7
  651. package/dist/engines/k6/runtime/xk6-sql-driver-postgres.js +0 -1
  652. package/dist/engines/managed-module-resolution-policy-input.d.ts +0 -9
  653. package/dist/engines/managed-module-resolution-policy.d.ts +0 -25
  654. package/dist/engines/managed-module-resolution.d.ts +0 -13
  655. package/dist/engines/manager.d.ts +0 -25
  656. package/dist/engines/node-vitest/adapter/adapter.d.ts +0 -16
  657. package/dist/engines/node-vitest/adapter/consumer-typescript-paths.d.ts +0 -17
  658. package/dist/engines/node-vitest/adapter/consumer-typescript-paths.js +0 -3
  659. package/dist/engines/node-vitest/adapter/evidence.d.ts +0 -33
  660. package/dist/engines/node-vitest/adapter/failure-details.d.ts +0 -3
  661. package/dist/engines/node-vitest/adapter/index.d.ts +0 -1
  662. package/dist/engines/node-vitest/adapter/reporter.d.ts +0 -7
  663. package/dist/engines/node-vitest/adapter/resolution.d.ts +0 -12
  664. package/dist/engines/node-vitest/adapter/resolution.js +0 -1
  665. package/dist/engines/node-vitest/adapter/workspace.d.ts +0 -19
  666. package/dist/engines/node-vitest/runtime/contract/index.d.ts +0 -64
  667. package/dist/engines/node-vitest/runtime/data/http.d.ts +0 -4
  668. package/dist/engines/node-vitest/runtime/data/index.d.ts +0 -8
  669. package/dist/engines/node-vitest/runtime/data/primitives.d.ts +0 -1
  670. package/dist/engines/node-vitest/runtime/data/report.d.ts +0 -3
  671. package/dist/engines/node-vitest/runtime/data/runner.d.ts +0 -4
  672. package/dist/engines/node-vitest/runtime/data/scenario.d.ts +0 -12
  673. package/dist/engines/node-vitest/runtime/data/types.d.ts +0 -412
  674. package/dist/engines/node-vitest/runtime/runtime-input.d.ts +0 -64
  675. package/dist/engines/playwright/adapter/adapter.d.ts +0 -18
  676. package/dist/engines/playwright/adapter/attachments.d.ts +0 -26
  677. package/dist/engines/playwright/adapter/config.d.ts +0 -45
  678. package/dist/engines/playwright/adapter/evidence-validation.d.ts +0 -12
  679. package/dist/engines/playwright/adapter/evidence.d.ts +0 -32
  680. package/dist/engines/playwright/adapter/failure-details.d.ts +0 -2
  681. package/dist/engines/playwright/adapter/index.d.ts +0 -3
  682. package/dist/engines/playwright/adapter/reporter.d.ts +0 -12
  683. package/dist/engines/playwright/runtime/config-file.d.ts +0 -2
  684. package/dist/engines/playwright/runtime/config.d.ts +0 -24
  685. package/dist/engines/playwright/runtime/index.d.ts +0 -4
  686. package/dist/engines/playwright/runtime/runtime-input.d.ts +0 -36
  687. package/dist/engines/playwright/runtime/sandbox.d.ts +0 -84
  688. package/dist/engines/runtime-input-file.d.ts +0 -27
  689. package/dist/environment/lifecycle-artifacts.d.ts +0 -7
  690. package/dist/environment/lifecycle-controller.d.ts +0 -70
  691. package/dist/environment/lifecycle.d.ts +0 -29
  692. package/dist/environment/maintenance.d.ts +0 -68
  693. package/dist/environment/planning-types.d.ts +0 -35
  694. package/dist/environment/readiness.d.ts +0 -12
  695. package/dist/environment/readiness.js +0 -1
  696. package/dist/environment/ready-environment.d.ts +0 -19
  697. package/dist/environment/run-environment.d.ts +0 -38
  698. package/dist/environment/run-stopping.d.ts +0 -13
  699. package/dist/environment/runtime-contexts.d.ts +0 -33
  700. package/dist/environment/runtime-manager.d.ts +0 -95
  701. package/dist/environment/runtime-planning.d.ts +0 -16
  702. package/dist/environment/runtime-preparation.d.ts +0 -30
  703. package/dist/environment/runtime-service.d.ts +0 -18
  704. package/dist/environment/services.d.ts +0 -48
  705. package/dist/environment/state.d.ts +0 -18
  706. package/dist/environment/status-runtime.d.ts +0 -53
  707. package/dist/environment/template.d.ts +0 -180
  708. package/dist/evidence/artifact-config.d.ts +0 -14
  709. package/dist/evidence/artifact-validation.d.ts +0 -5
  710. package/dist/evidence/artifacts.d.ts +0 -75
  711. package/dist/evidence/bundles.d.ts +0 -27
  712. package/dist/evidence/ci-provenance.d.ts +0 -9
  713. package/dist/evidence/contracts.d.ts +0 -154
  714. package/dist/evidence/file-evidence.d.ts +0 -23
  715. package/dist/evidence/finalization.d.ts +0 -9
  716. package/dist/evidence/index.d.ts +0 -8
  717. package/dist/evidence/logs.d.ts +0 -31
  718. package/dist/evidence/operation-timings.d.ts +0 -60
  719. package/dist/evidence/read-bundle.d.ts +0 -4
  720. package/dist/evidence/read-fields.d.ts +0 -22
  721. package/dist/evidence/read-provenance.d.ts +0 -2
  722. package/dist/evidence/read-redaction.d.ts +0 -2
  723. package/dist/evidence/read-retention.d.ts +0 -2
  724. package/dist/evidence/read-run.d.ts +0 -2
  725. package/dist/evidence/reading.d.ts +0 -28
  726. package/dist/evidence/reporting-types.d.ts +0 -330
  727. package/dist/evidence/reporting.d.ts +0 -3
  728. package/dist/evidence/secure-file-copy.d.ts +0 -24
  729. package/dist/evidence/setup-progress.d.ts +0 -63
  730. package/dist/evidence/step-output.d.ts +0 -16
  731. package/dist/evidence/storage-inventory.d.ts +0 -27
  732. package/dist/evidence/storage.d.ts +0 -27
  733. package/dist/evidence/timing.d.ts +0 -23
  734. package/dist/file.d.ts +0 -11
  735. package/dist/index.d.ts +0 -4
  736. package/dist/kernel/error-serialization.d.ts +0 -38
  737. package/dist/kernel/redaction.d.ts +0 -2
  738. package/dist/kernel/unknown-values.d.ts +0 -6
  739. package/dist/kernel/work-metrics.d.ts +0 -6
  740. package/dist/process/capture-output.d.ts +0 -7
  741. package/dist/process/command-shell.d.ts +0 -1
  742. package/dist/process/environment-overlay.d.ts +0 -17
  743. package/dist/process/environment.d.ts +0 -33
  744. package/dist/process/files/contained-path.d.ts +0 -8
  745. package/dist/process/files/directory-status.d.ts +0 -14
  746. package/dist/process/files/dotenv.d.ts +0 -2
  747. package/dist/process/files/file-snapshot.d.ts +0 -34
  748. package/dist/process/files/json-file.d.ts +0 -12
  749. package/dist/process/files/paths.d.ts +0 -1
  750. package/dist/process/files/product-dir.d.ts +0 -1
  751. package/dist/process/files/temp-dir.d.ts +0 -11
  752. package/dist/process/host/metadata.d.ts +0 -6
  753. package/dist/process/host/platform.d.ts +0 -57
  754. package/dist/process/host-command.d.ts +0 -4
  755. package/dist/process/host-inspection-command.d.ts +0 -13
  756. package/dist/process/host-process.d.ts +0 -19
  757. package/dist/process/index.d.ts +0 -9
  758. package/dist/process/lifecycle-fence.d.ts +0 -11
  759. package/dist/process/locks.d.ts +0 -28
  760. package/dist/process/process-contracts.d.ts +0 -78
  761. package/dist/process/process-group.d.ts +0 -12
  762. package/dist/process/process-identity.d.ts +0 -27
  763. package/dist/process/process-limits.d.ts +0 -6
  764. package/dist/process/process.d.ts +0 -12
  765. package/dist/process/readiness.d.ts +0 -37
  766. package/dist/process/recovery.d.ts +0 -3
  767. package/dist/process/runs/inspection.d.ts +0 -5
  768. package/dist/process/runs/manifest.d.ts +0 -86
  769. package/dist/process/runs/ownership.d.ts +0 -11
  770. package/dist/process/runs/product-state.d.ts +0 -2
  771. package/dist/process/runs/schema.d.ts +0 -3
  772. package/dist/process/runs/stop.d.ts +0 -19
  773. package/dist/process/runtime-socket.d.ts +0 -4
  774. package/dist/process/service-processes.d.ts +0 -13
  775. package/dist/process/shutdown.d.ts +0 -10
  776. package/dist/process/windows-cli-owner.d.ts +0 -2
  777. package/dist/process/windows-native.d.ts +0 -6
  778. package/dist/process/windows-process-identity.d.ts +0 -4
  779. package/dist/repo/ci-environment.d.ts +0 -7
  780. package/dist/repo/fingerprint-policy.d.ts +0 -15
  781. package/dist/repo/git-path.d.ts +0 -2
  782. package/dist/repo/history.d.ts +0 -17
  783. package/dist/repo/managed-git.d.ts +0 -10
  784. package/dist/repo/metadata.d.ts +0 -3
  785. package/dist/repo/physical-tree.d.ts +0 -37
  786. package/dist/repo/remote.d.ts +0 -6
  787. package/dist/repo/state.d.ts +0 -26
  788. package/dist/repo/tree-listing.d.ts +0 -10
  789. package/dist/steps/build-config.d.ts +0 -35
  790. package/dist/steps/configured-step-testkit-modules.d.ts +0 -19
  791. package/dist/steps/configured-steps.d.ts +0 -51
  792. package/dist/steps/environment.d.ts +0 -84
  793. package/dist/steps/index.d.ts +0 -2
  794. package/dist/steps/module-runner.d.ts +0 -1
  795. package/dist/steps/run.d.ts +0 -36
  796. package/dist/toolchains/archive.d.ts +0 -53
  797. package/dist/toolchains/esbuild.d.ts +0 -9
  798. package/dist/toolchains/host-node-support.d.ts +0 -3
  799. package/dist/toolchains/index.d.ts +0 -114
  800. package/dist/toolchains/managed-node-releases.d.ts +0 -28
  801. package/dist/toolchains/node-cache.d.ts +0 -20
  802. package/dist/toolchains/node-integrity.d.ts +0 -18
  803. package/dist/toolchains/node-provisioning.d.ts +0 -29
  804. package/dist/toolchains/semver.d.ts +0 -13
  805. package/dist/toolchains/shared-operation.d.ts +0 -11
  806. package/dist/toolchains/timeouts.d.ts +0 -1
  807. package/dist/toolchains/vitest/index.d.ts +0 -13
  808. package/dist/tracker/gitea.d.ts +0 -14
  809. package/dist/tracker/github.d.ts +0 -14
  810. package/dist/tracker/http.d.ts +0 -33
  811. package/dist/tracker/index.d.ts +0 -4
  812. package/dist/tracker/redaction.d.ts +0 -4
  813. package/dist/tracker/requests.d.ts +0 -17
  814. package/dist/tracker/responses.d.ts +0 -24
  815. package/dist/tracker/types.d.ts +0 -51
  816. package/docs/engine-architecture.md +0 -654
  817. /package/dist/engines/{k6/runtime/runtime-globals.js → api/profiles.js} +0 -0
@@ -1,48 +0,0 @@
1
- import { type SupervisedProcessHandle, type SupervisedProcessReady } from "../process/index.js";
2
- import { type ToolchainResolvedReporter } from "../toolchains/index.js";
3
- import { type RuntimeServiceConfig } from "./template.js";
4
- import { type OutputLineHandler } from "../process/index.js";
5
- import type { RunLogRegistry } from "../evidence/logs.js";
6
- type LocalServiceConfig = RuntimeServiceConfig & {
7
- runtimeLabel: string;
8
- stateDir: string;
9
- testkit: RuntimeServiceConfig["testkit"] & {
10
- local: NonNullable<RuntimeServiceConfig["testkit"]["local"]> & {
11
- readyTimeoutMs?: number;
12
- shutdownTimeoutMs?: number;
13
- };
14
- };
15
- };
16
- export type ResolvedServiceConfig = RuntimeServiceConfig & {
17
- runtimeLabel: string;
18
- stateDir: string;
19
- };
20
- export interface LocalServiceLifecycle {
21
- isStopRequested(): unknown;
22
- registerService(config: LocalServiceConfig, supervisor: SupervisedProcessHandle, ownership: SupervisedProcessReady, cwd: string): unknown;
23
- requestStop(reason?: unknown): unknown;
24
- signal: AbortSignal;
25
- unregisterService(supervisorPid: number): unknown;
26
- }
27
- export interface LocalServiceReporter extends ToolchainResolvedReporter<LocalServiceConfig> {
28
- localServiceStarting?: (config: LocalServiceConfig, command: string) => unknown;
29
- outputMode?: string;
30
- writeDebugLine?: OutputLineHandler;
31
- }
32
- export interface StartLocalServicesOptions {
33
- extraEnv?: NodeJS.ProcessEnv | null;
34
- logRegistry?: RunLogRegistry | null;
35
- reporter?: LocalServiceReporter | null;
36
- }
37
- export interface StartedLocalService {
38
- completionMonitor: Promise<Error | null>;
39
- expectCompletion(): void;
40
- name: string;
41
- outputDrains: Promise<void>[];
42
- ownership: SupervisedProcessReady;
43
- supervisor: SupervisedProcessHandle;
44
- }
45
- export declare function startLocalServices(runtimeConfigs: readonly ResolvedServiceConfig[], lifecycle: LocalServiceLifecycle, options?: Readonly<StartLocalServicesOptions>): Promise<StartedLocalService[]>;
46
- export declare function startLocalService(config: LocalServiceConfig, lifecycle: LocalServiceLifecycle, options?: Readonly<StartLocalServicesOptions>): Promise<StartedLocalService>;
47
- export declare function stopLocalServices(started: readonly StartedLocalService[], lifecycle: LocalServiceLifecycle | null | undefined): Promise<void>;
48
- export {};
@@ -1,18 +0,0 @@
1
- import type { RuntimeGraph } from "./planning-types.js";
2
- export type GraphMetadataInput = Pick<RuntimeGraph, "dirName" | "instanceCount" | "key" | "maxConcurrentTasks" | "portNamespaceIndex" | "portNamespaceStride" | "runtimeNames" | "targetNames">;
3
- export interface GraphMetadata extends Record<string, unknown> {
4
- dirName?: null | string;
5
- instanceCount?: null | number;
6
- key?: null | string;
7
- maxConcurrentTasks?: null | number;
8
- portNamespaceIndex?: null | number;
9
- portNamespaceStride?: null | number;
10
- runtimeNames?: string[];
11
- runtimeServices?: string[];
12
- targetServices?: string[];
13
- }
14
- export declare function findRuntimeStateDirs(rootDir: string, isDatabaseStateDir: (directory: string) => boolean): string[];
15
- export declare function findGraphDirsForService(productDir: string, serviceName: string): string[];
16
- export declare function writeGraphMetadata(graphDir: string, graph: Readonly<GraphMetadataInput>): void;
17
- export declare function readGraphMetadata(graphDir: string): GraphMetadata | null;
18
- export declare function normalizePathSeparators(filePath: string): string;
@@ -1,53 +0,0 @@
1
- import type { DesiredRuntimeGraph } from "./planning-types.js";
2
- export interface RuntimeDirectoryStatus {
3
- id: string;
4
- path: string;
5
- }
6
- export interface StaleRuntimeDirectoryStatus extends RuntimeDirectoryStatus {
7
- active: boolean;
8
- }
9
- export interface DesiredRuntimeGraphStatus {
10
- instanceCount: number;
11
- runtimeIds: string[];
12
- runtimeServices: string[];
13
- targetServices: string[];
14
- }
15
- export interface ActualRuntimeGraphStatus {
16
- runtimeServices: string[];
17
- targetServices: string[];
18
- }
19
- export interface RuntimeGraphStatus {
20
- actual: ActualRuntimeGraphStatus | null;
21
- currentRuntimeDirs: RuntimeDirectoryStatus[];
22
- desired: DesiredRuntimeGraphStatus | null;
23
- exists: boolean;
24
- name: string;
25
- orphan: boolean;
26
- path: string;
27
- runtimeDirCount: number;
28
- staleRuntimeDirs: StaleRuntimeDirectoryStatus[];
29
- }
30
- export interface RunStatusEntry {
31
- pid?: number;
32
- ports: string[];
33
- runId: unknown;
34
- startedAt: null | string;
35
- status: "active" | "stale";
36
- }
37
- export interface RunStatus {
38
- active: number;
39
- runs: RunStatusEntry[];
40
- stale: number;
41
- total: number;
42
- }
43
- export interface RuntimeCleanupTarget {
44
- graph: string;
45
- path: string;
46
- runtimeId: string;
47
- }
48
- export interface RuntimeGraphStatusOptions {
49
- desiredGraphs?: readonly DesiredRuntimeGraph[];
50
- serviceName?: null | string;
51
- }
52
- export declare function collectRuntimeGraphStatus(productDir: string, { desiredGraphs, serviceName }?: Readonly<RuntimeGraphStatusOptions>): RuntimeGraphStatus[];
53
- export declare function collectRunStatus(productDir: string): RunStatus;
@@ -1,180 +0,0 @@
1
- import type { RuntimeSocket } from "../process/runtime-socket.js";
2
- import { type NormalizedDatabaseConfig, type NormalizedRuntimeConfig } from "../config/loader/index.js";
3
- import { type ExecutionEnvironmentConfig, type ExecutionEnvironmentLocalConfig, type ExecutionEnvironmentTestkitConfig, type ExecutionTemplateContextValues, type RuntimeUrlMapping } from "../steps/index.js";
4
- import { readDatabaseInfo } from "../database/state.js";
5
- type RuntimeIdentifier = number | string;
6
- type StringMap = ReadonlyMap<string, string>;
7
- interface RuntimeLocalConfig extends ExecutionEnvironmentLocalConfig {
8
- baseUrl: string;
9
- cwd?: string;
10
- port?: number;
11
- readyUrl?: false | null | string;
12
- shutdownTimeoutMs?: number;
13
- start: string;
14
- }
15
- interface RuntimeServiceTestkitConfig extends ExecutionEnvironmentTestkitConfig {
16
- database?: NormalizedDatabaseConfig | null;
17
- local?: RuntimeLocalConfig | null;
18
- runtime: NormalizedRuntimeConfig;
19
- }
20
- export interface RuntimeServiceConfig extends ExecutionEnvironmentConfig {
21
- testkit: RuntimeServiceTestkitConfig;
22
- }
23
- export interface RuntimePortNamespace {
24
- index?: unknown;
25
- portOffset?: unknown;
26
- stride?: unknown;
27
- }
28
- export interface RuntimeInstanceResolutionOptions {
29
- externalEndpoints?: Readonly<Record<string, null | string | undefined>>;
30
- graphDirName?: null | string;
31
- portNamespaceIndex?: number;
32
- portNamespaceStride?: number;
33
- portOffset?: number;
34
- privateEndpoints?: Readonly<Record<string, null | string | undefined>>;
35
- publicEndpoints?: Readonly<Record<string, null | string | undefined>>;
36
- publicHost?: null | string;
37
- serviceContextEndpoints?: Readonly<Record<string, null | string | undefined>>;
38
- }
39
- interface RuntimeUrlResolutionContext extends ExecutionTemplateContextValues {
40
- portMap: ReadonlyMap<string, number>;
41
- }
42
- export declare function resolveRuntimeInstanceConfigs<T extends RuntimeServiceConfig>(runtimeConfigs: readonly T[], runtimeId: string, runtimeDir: string, options?: RuntimeInstanceResolutionOptions): (T & {
43
- stateDir: string;
44
- runtimeId: string;
45
- runtimeLabel: string;
46
- testkit: {
47
- mode?: string;
48
- serviceEnv?: Readonly<Record<string, string>>;
49
- ui?: unknown;
50
- database: import("../config/loader/database-materialization.js").MaterializedDatabaseConfig<{
51
- image?: string;
52
- password?: string;
53
- user?: string;
54
- binding: import("../config/loader/execution-model.js").DatabaseBinding;
55
- maxConnections: number | undefined;
56
- reservedConnections: number | undefined;
57
- reset: boolean;
58
- roles: import("../config/authoring/index.js").DatabaseRoleConfig[];
59
- runtimeConnections: number | undefined;
60
- serviceName: string;
61
- sourceSchema: import("../config/loader/database.js").NormalizedSourceSchemaConfig | null;
62
- template: import("../config/loader/database.js").NormalizedDatabaseTemplateConfig;
63
- }> | undefined;
64
- prepareDir: string;
65
- templateContext: {
66
- runtimeId: string;
67
- runtimeLabel: string;
68
- runtimeDir: string;
69
- productDir: string;
70
- serviceName: string;
71
- serviceCwd: string;
72
- serviceStateDir: string;
73
- prepareDir: string;
74
- portMap: ReadonlyMap<string, number>;
75
- baseUrlByService: StringMap;
76
- readyUrlByService: StringMap;
77
- publicBaseUrlByService: StringMap;
78
- privateBaseUrlByService: StringMap;
79
- serviceContextUrlByService: StringMap;
80
- publicHost: string | null;
81
- stateDirByService: StringMap;
82
- urlMappings: readonly RuntimeUrlMapping[];
83
- leaseId: null;
84
- leaseDir: null;
85
- databaseBindingsReader: typeof readDatabaseInfo;
86
- };
87
- runtime: {
88
- build: import("../steps/build-config.js").NormalizedBuildConfig | null;
89
- instances: number;
90
- maxConcurrentTasks: number;
91
- toolchain: import("../toolchains/index.js").NormalizedRuntimeToolchain | null;
92
- prepare: import("../steps/build-config.js").NormalizedBuildPrepareConfig;
93
- };
94
- local: {
95
- shutdownTimeoutMs?: number;
96
- start: string;
97
- cwd: string | undefined;
98
- port: number | undefined;
99
- baseUrl: string | undefined;
100
- readyUrl: string | undefined;
101
- env: {
102
- [x: string]: string;
103
- };
104
- } | undefined;
105
- };
106
- })[];
107
- export declare function buildPortMap(runtimeConfigs: readonly RuntimeServiceConfig[], runtimeId: RuntimeIdentifier, namespace?: RuntimePortNamespace): Map<string, number>;
108
- export declare function resolveRuntimeConfig<T extends RuntimeServiceConfig>(config: T, runtimeId: string, runtimeLabel: string, runtimeDir: string, portMap: ReadonlyMap<string, number>, baseUrlByService: StringMap, readyUrlByService: StringMap, publicBaseUrlByService: StringMap, privateBaseUrlByService: StringMap, serviceContextUrlByService: StringMap, publicHost: null | string, stateDirByService: StringMap, urlMappings: readonly RuntimeUrlMapping[]): T & {
109
- stateDir: string;
110
- runtimeId: string;
111
- runtimeLabel: string;
112
- testkit: {
113
- mode?: string;
114
- serviceEnv?: Readonly<Record<string, string>>;
115
- ui?: unknown;
116
- database: import("../config/loader/database-materialization.js").MaterializedDatabaseConfig<{
117
- image?: string;
118
- password?: string;
119
- user?: string;
120
- binding: import("../config/loader/execution-model.js").DatabaseBinding;
121
- maxConnections: number | undefined;
122
- reservedConnections: number | undefined;
123
- reset: boolean;
124
- roles: import("../config/authoring/index.js").DatabaseRoleConfig[];
125
- runtimeConnections: number | undefined;
126
- serviceName: string;
127
- sourceSchema: import("../config/loader/database.js").NormalizedSourceSchemaConfig | null;
128
- template: import("../config/loader/database.js").NormalizedDatabaseTemplateConfig;
129
- }> | undefined;
130
- prepareDir: string;
131
- templateContext: {
132
- runtimeId: string;
133
- runtimeLabel: string;
134
- runtimeDir: string;
135
- productDir: string;
136
- serviceName: string;
137
- serviceCwd: string;
138
- serviceStateDir: string;
139
- prepareDir: string;
140
- portMap: ReadonlyMap<string, number>;
141
- baseUrlByService: StringMap;
142
- readyUrlByService: StringMap;
143
- publicBaseUrlByService: StringMap;
144
- privateBaseUrlByService: StringMap;
145
- serviceContextUrlByService: StringMap;
146
- publicHost: string | null;
147
- stateDirByService: StringMap;
148
- urlMappings: readonly RuntimeUrlMapping[];
149
- leaseId: null;
150
- leaseDir: null;
151
- databaseBindingsReader: typeof readDatabaseInfo;
152
- };
153
- runtime: {
154
- build: import("../steps/build-config.js").NormalizedBuildConfig | null;
155
- instances: number;
156
- maxConcurrentTasks: number;
157
- toolchain: import("../toolchains/index.js").NormalizedRuntimeToolchain | null;
158
- prepare: import("../steps/build-config.js").NormalizedBuildPrepareConfig;
159
- };
160
- local: {
161
- shutdownTimeoutMs?: number;
162
- start: string;
163
- cwd: string | undefined;
164
- port: number | undefined;
165
- baseUrl: string | undefined;
166
- readyUrl: string | undefined;
167
- env: {
168
- [x: string]: string;
169
- };
170
- } | undefined;
171
- };
172
- };
173
- export declare function resolveServiceStateDir(runtimeDir: string, config: Pick<ExecutionEnvironmentConfig, "name">): string;
174
- export declare function resolveServicePrepareDir(runtimeDir: string, config: Pick<ExecutionEnvironmentConfig, "name">): string;
175
- export declare function resolveRuntimeUrl(rawUrl: string, serviceName: string, runtimeId: string, context: RuntimeUrlResolutionContext): string;
176
- export declare function rewriteUrlPort(rawUrl: string, port: number): string;
177
- export declare function numericPortFromUrl(rawUrl: string): number | null;
178
- export declare function socketFromUrl(rawUrl: string): RuntimeSocket | null;
179
- export declare function normalizeSocketHost(hostname: string): string;
180
- export {};
@@ -1,14 +0,0 @@
1
- export interface NormalizedArtifactRetentionConfig {
2
- maxRuns: number | null;
3
- maxAgeDays: number | null;
4
- preserveSuites: string[];
5
- }
6
- export interface NormalizedArtifactPublicationConfig {
7
- directory: string;
8
- required: boolean;
9
- }
10
- export interface NormalizedArtifactArchiveConfig {
11
- retention: NormalizedArtifactRetentionConfig;
12
- publication: NormalizedArtifactPublicationConfig | null;
13
- }
14
- export declare function normalizeArtifactArchiveConfig(config?: unknown): NormalizedArtifactArchiveConfig;
@@ -1,5 +0,0 @@
1
- export { requireObjectRecord, isObjectRecord, requireStringArray as normalizeStringArray } from "./read-fields.js";
2
- export type UnknownRecord = Record<string, unknown>;
3
- export declare function isUnknownArray(value: unknown): value is unknown[];
4
- export declare function readOptionalProperty(value: UnknownRecord | undefined, key: string): unknown;
5
- export declare function normalizeOptionalNonEmptyString(value: unknown, label: string): string | null;
@@ -1,75 +0,0 @@
1
- import type { RunArtifactDocument } from "./reporting-types.js";
2
- import { type EngineJsonValue } from "../engines/api/index.js";
3
- import { type EngineId, type PublicTestType, type RunnerProfileId } from "../domain/identifiers.js";
4
- import { type NormalizedArtifactArchiveConfig } from "./artifact-config.js";
5
- import { applyRunBundleRetention, publishRunBundle, sealRunBundle, type RunBundleArtifact, type SealRunBundleOptions } from "./bundles.js";
6
- import { type Timings, type TimingUpdate } from "./timing.js";
7
- import type { ReportingArtifactReference } from "./reporting-types.js";
8
- import { type SecureFileCopyResult } from "./secure-file-copy.js";
9
- export type WrittenRunArtifact<Artifact extends RunArtifactDocument> = Omit<Artifact, "archive"> & RunBundleArtifact;
10
- export interface WriteRunArtifactOptions extends Omit<SealRunBundleOptions, "archiveConfig" | "declaredEnvironmentKeys"> {
11
- archiveConfig?: NormalizedArtifactArchiveConfig | null;
12
- declaredEnvironmentKeys?: readonly string[];
13
- }
14
- export interface WriteRunArtifactDependencies {
15
- applyRunBundleRetention?: typeof applyRunBundleRetention;
16
- publishRunBundle?: typeof publishRunBundle;
17
- sealRunBundle?: typeof sealRunBundle;
18
- writeLatestProjection?: (filePath: string, value: unknown) => void;
19
- }
20
- export interface InterruptLiveRunArtifactOptions {
21
- finishedAt?: Date | number | string;
22
- reason?: string;
23
- runId?: null | string;
24
- status?: string;
25
- }
26
- export interface ArtifactTask {
27
- engineId: EngineId;
28
- file?: null | string;
29
- id: number | string;
30
- profileId: RunnerProfileId;
31
- serviceName?: null | string;
32
- suiteKey?: null | string;
33
- suiteName?: null | string;
34
- testType: PublicTestType;
35
- }
36
- export interface PersistedArtifactReference extends ReportingArtifactReference {
37
- contentType: string;
38
- kind: null | string;
39
- summary: null | string;
40
- }
41
- interface RuntimeArtifactInput {
42
- contentType?: null | string;
43
- data?: EngineJsonValue;
44
- emittedAt?: null | string;
45
- kind?: null | string;
46
- name: string;
47
- summary?: null | string;
48
- }
49
- interface FileArtifactInput {
50
- contentType?: null | string;
51
- kind?: null | string;
52
- name?: null | string;
53
- path: string;
54
- summary?: null | string;
55
- }
56
- interface TaskOutputArtifactInput extends Partial<Omit<RuntimeArtifactInput, "data">> {
57
- stream?: null | string;
58
- text: string;
59
- }
60
- export interface PersistTaskFileArtifactsOptions {
61
- copyResults?: SecureFileCopyResult[];
62
- maxBytes?: number;
63
- sizeLimitDescription?: string;
64
- sourceRoot?: string;
65
- }
66
- export declare function writeRunArtifact<Artifact extends RunArtifactDocument>(productDir: string, artifact: Artifact, options?: WriteRunArtifactOptions, dependencies?: Readonly<WriteRunArtifactDependencies>): WrittenRunArtifact<Artifact>;
67
- export declare function writeLiveRunArtifact(productDir: string, artifact: RunArtifactDocument): void;
68
- export declare function finalizeLiveRunArtifact(productDir: string, options?: InterruptLiveRunArtifactOptions): boolean;
69
- export declare function resetResultArtifacts(productDir: string): void;
70
- export declare function persistTaskArtifacts(productDir: string, task: Readonly<ArtifactTask>, emittedArtifacts: readonly RuntimeArtifactInput[]): PersistedArtifactReference[];
71
- export declare function persistTaskFileArtifacts(productDir: string, task: Readonly<ArtifactTask>, fileArtifacts: readonly FileArtifactInput[], options?: Readonly<PersistTaskFileArtifactsOptions>): PersistedArtifactReference[];
72
- export declare function persistTaskOutputArtifacts(productDir: string, task: Readonly<ArtifactTask>, outputs: readonly TaskOutputArtifactInput[]): PersistedArtifactReference[];
73
- export declare function loadTimings(productDir: string): Timings;
74
- export declare function saveTimings(productDir: string, timings: Timings, updates: readonly TimingUpdate[]): void;
75
- export {};
@@ -1,27 +0,0 @@
1
- import type { RunArtifactDocument } from "./reporting-types.js";
2
- import type { NormalizedArtifactPublicationConfig, NormalizedArtifactRetentionConfig } from "./artifact-config.js";
3
- import { type RunBundleArtifact, type RunBundleCleanup, type RunBundleManifest, type RunBundlePublication, type RunBundleRetentionDecision, type RunBundleSummary, type RunBundleVerification, type SealRunBundleOptions } from "./contracts.js";
4
- export type { RunBundleArchive, RunBundleArtifact, RunBundleCleanup, RunBundleLatestProjection, RunBundleManifest, RunBundleManifestEntry, RunBundlePublication, RunBundleRedaction, RunBundleRetentionDecision, RunBundleStorage, RunBundleSummary, RunBundleVerification, SealRunBundleOptions, } from "./contracts.js";
5
- interface PublicationReceiptInput extends RunBundlePublication {
6
- bytesUploaded: number;
7
- }
8
- export interface RunBundleSealDependencies {
9
- cleanupActiveRunResults?: (resultsDir: string) => RunBundleCleanup;
10
- }
11
- export interface RunBundleRetentionDependencies {
12
- removeObject?: (objectPath: string) => void;
13
- removeRunBundle?: (bundlePath: string) => void;
14
- }
15
- export interface RunBundlePublicationDependencies {
16
- writePublicationReceipt?: (productDir: string, runId: string, receipt: PublicationReceiptInput) => RunBundlePublication;
17
- }
18
- export declare function sealRunBundle(productDir: string, artifact: RunArtifactDocument, options?: SealRunBundleOptions, dependencies?: Readonly<RunBundleSealDependencies>): RunBundleArtifact;
19
- export declare function loadVerifiedRunBundleArtifactIfExists(productDir: string, runId: unknown): RunBundleArtifact | null;
20
- export declare function loadRunBundleArtifact(productDir: string, runId: unknown): RunBundleArtifact;
21
- export declare function loadRunBundleManifest(productDir: string, runId: unknown): RunBundleManifest;
22
- export declare function listRunBundles(productDir: string, options?: {
23
- file?: null | string;
24
- }): RunBundleSummary[];
25
- export declare function verifyRunBundle(productDir: string, runId: unknown): RunBundleVerification;
26
- export declare function publishRunBundle(productDir: string, runId: unknown, publication: NormalizedArtifactPublicationConfig | null, dependencies?: Readonly<RunBundlePublicationDependencies>): RunBundlePublication;
27
- export declare function applyRunBundleRetention(productDir: string, currentRunId: unknown, retention?: Partial<NormalizedArtifactRetentionConfig>, dependencies?: Readonly<RunBundleRetentionDependencies>): RunBundleRetentionDecision;
@@ -1,9 +0,0 @@
1
- export type CiProvider = "github" | "gitlab" | "other";
2
- export interface CiProvenance {
3
- readonly actor: string | null;
4
- readonly eventName: string | null;
5
- readonly provider: CiProvider | null;
6
- readonly runId: string | null;
7
- readonly runUrl: string | null;
8
- }
9
- export declare function resolveCiProvenance(env: Readonly<NodeJS.ProcessEnv>): CiProvenance;
@@ -1,154 +0,0 @@
1
- import type { CiProvenance } from "./ci-provenance.js";
2
- import type { NormalizedArtifactArchiveConfig } from "./artifact-config.js";
3
- import type { RunArtifactDocument } from "./reporting-types.js";
4
- export declare const BUNDLE_SCHEMA_VERSION = 2;
5
- export type RunBundleSchemaVersion = typeof BUNDLE_SCHEMA_VERSION;
6
- export declare const PROVENANCE_SCHEMA_VERSION = 3;
7
- export type ProvenanceSchemaVersion = typeof PROVENANCE_SCHEMA_VERSION;
8
- export declare const RETENTION_DECISION_SCHEMA_VERSION = 1;
9
- export type RunBundleRetentionDecisionSchemaVersion = typeof RETENTION_DECISION_SCHEMA_VERSION;
10
- export declare const OBJECTS_DIRNAME = "objects";
11
- export declare const RUNS_DIRNAME = "runs";
12
- export type UnknownRecord = Record<string, unknown>;
13
- export interface RunBundleStorage extends UnknownRecord {
14
- deduplicatedBytes: number;
15
- fileCount: number;
16
- logicalBytes: number;
17
- objectBytesWritten: number;
18
- }
19
- export interface RunBundleRedaction extends UnknownRecord {
20
- filesRedacted: number;
21
- policyVersion: number;
22
- replacements: number;
23
- sensitiveEnvironmentKeys: string[];
24
- status: string;
25
- structuredReplacements?: number;
26
- textualFilesScanned: number;
27
- valuesStored: boolean;
28
- }
29
- export interface RunBundlePublication extends UnknownRecord {
30
- bundleBytes?: number;
31
- bytesUploaded?: number;
32
- configured?: boolean;
33
- error?: string;
34
- manifestDigest?: null | string;
35
- required?: boolean;
36
- reused?: boolean;
37
- status: "complete" | "failed" | "not_configured" | "pending";
38
- target?: null | string;
39
- }
40
- export interface RunBundleGarbageCollection {
41
- failures: RunBundleGarbageCollectionFailure[];
42
- reclaimedBytes: number;
43
- removedObjects: number;
44
- status: "complete" | "failed" | "not_started";
45
- }
46
- export interface RunBundleGarbageCollectionFailure {
47
- error: string;
48
- path: string;
49
- }
50
- export interface RunBundleCleanup {
51
- error?: string;
52
- status: "complete" | "failed";
53
- }
54
- export interface RunBundleLatestProjection {
55
- error?: string;
56
- path: string;
57
- status: "complete" | "failed";
58
- }
59
- export interface RunBundleRemoval {
60
- reasons: ("max_age" | "max_runs")[];
61
- runId: string;
62
- }
63
- export interface RunBundleRemovalError extends RunBundleRemoval {
64
- error: string;
65
- path: string;
66
- removed: boolean;
67
- }
68
- export interface RunBundleRetentionLedger {
69
- error?: string;
70
- path: string;
71
- status: "complete" | "failed" | "not_started";
72
- }
73
- export interface RunBundleRetentionDecision extends UnknownRecord {
74
- currentRunId: string;
75
- decidedAt: string;
76
- error?: string;
77
- garbageCollection: RunBundleGarbageCollection;
78
- ledger?: RunBundleRetentionLedger;
79
- policy: {
80
- maxAgeDays: null | number;
81
- maxRuns: null | number;
82
- preserveSuites: string[];
83
- };
84
- protectedRunIds: string[];
85
- removed: RunBundleRemoval[];
86
- removalErrors: RunBundleRemovalError[];
87
- schemaVersion: RunBundleRetentionDecisionSchemaVersion;
88
- status: "complete" | "failed";
89
- }
90
- export interface RunBundleArchive extends UnknownRecord {
91
- canonicalRunPath: string;
92
- cleanup?: RunBundleCleanup;
93
- integrity: "sha256";
94
- latest?: RunBundleLatestProjection;
95
- manifestDigest?: string;
96
- manifestPath: string;
97
- provenancePath: string;
98
- publication: RunBundlePublication;
99
- redaction: RunBundleRedaction;
100
- retention?: RunBundleRetentionDecision;
101
- runId: string;
102
- schemaVersion: RunBundleSchemaVersion;
103
- status: "complete";
104
- storage?: RunBundleStorage;
105
- }
106
- export interface RunBundleArtifact extends RunArtifactDocument {
107
- archive: RunBundleArchive;
108
- finalizationFailure?: RunArtifactDocument["finalizationFailure"];
109
- }
110
- export interface RunBundleManifestEntry extends UnknownRecord {
111
- bytes: number;
112
- path: string;
113
- sha256: string;
114
- }
115
- export interface RunBundleManifest extends UnknownRecord {
116
- algorithm: "sha256";
117
- createdAt: string;
118
- digest: string;
119
- files: RunBundleManifestEntry[];
120
- redaction: RunBundleRedaction;
121
- runId: string;
122
- schemaVersion: RunBundleSchemaVersion;
123
- storage: RunBundleStorage;
124
- }
125
- export interface RunBundleSummary {
126
- canonicalRunPath: null | string;
127
- finishedAt: null | string;
128
- manifestDigest: null | string;
129
- runId: string;
130
- startedAt: null | string;
131
- status: null | string;
132
- }
133
- export interface RunBundleVerification {
134
- checkedFiles: number;
135
- errors: string[];
136
- manifestDigest?: null | string;
137
- ok: boolean;
138
- runId: string;
139
- storage?: null | RunBundleStorage;
140
- }
141
- export interface SealRunBundleOptions {
142
- archiveConfig?: Partial<NormalizedArtifactArchiveConfig>;
143
- declaredEnvironmentKeys?: readonly string[];
144
- env?: NodeJS.ProcessEnv;
145
- }
146
- export interface RunBundleProvenance extends UnknownRecord {
147
- schemaVersion: ProvenanceSchemaVersion;
148
- runId: string;
149
- ci: CiProvenance;
150
- source: UnknownRecord;
151
- runtime: UnknownRecord;
152
- scenario: UnknownRecord;
153
- redaction: RunBundleRedaction;
154
- }
@@ -1,23 +0,0 @@
1
- import { type ArtifactTask, type PersistedArtifactReference } from "./artifacts.js";
2
- export interface FileEvidenceInput {
3
- readonly path: string;
4
- readonly name: string;
5
- readonly kind: string;
6
- readonly contentType?: string;
7
- readonly summary?: string;
8
- readonly data?: unknown;
9
- readonly metadata?: unknown;
10
- }
11
- export interface FileEvidenceBudget {
12
- consume(sizeBytes: number): void;
13
- maximumBytes(): number;
14
- remainingBytes(): number;
15
- }
16
- export declare function fileEvidenceBudgetError(maximumBytes: number): Error;
17
- export declare function persistFileEvidence({ artifactRoot, artifacts, productDir, task, fileEvidenceBudget, }: Readonly<{
18
- artifactRoot: string;
19
- artifacts: readonly FileEvidenceInput[];
20
- productDir: string;
21
- task: Readonly<ArtifactTask>;
22
- fileEvidenceBudget?: FileEvidenceBudget;
23
- }>): PersistedArtifactReference[];
@@ -1,9 +0,0 @@
1
- export interface CommittedRunFinalization {
2
- artifactStatus: "failed" | "interrupted" | "passed";
3
- interruptReason: null | string;
4
- }
5
- export interface RunFinalizationInterruption {
6
- interruptReason: null | string;
7
- interrupted: boolean;
8
- }
9
- export declare function resolveCommittedRunFinalization(artifactStatus: "failed" | "passed", interruption: Readonly<RunFinalizationInterruption>): CommittedRunFinalization;
@@ -1,8 +0,0 @@
1
- export { normalizeArtifactArchiveConfig, type NormalizedArtifactArchiveConfig, type NormalizedArtifactPublicationConfig, type NormalizedArtifactRetentionConfig, } from "./artifact-config.js";
2
- export { finalizeLiveRunArtifact, loadTimings, persistTaskArtifacts, persistTaskFileArtifacts, persistTaskOutputArtifacts, resetResultArtifacts, saveTimings, writeLiveRunArtifact, writeRunArtifact, type ArtifactTask, type PersistedArtifactReference, type WriteRunArtifactOptions, } from "./artifacts.js";
3
- export { applyRunBundleRetention, listRunBundles, loadRunBundleArtifact, loadRunBundleManifest, loadVerifiedRunBundleArtifactIfExists, publishRunBundle, sealRunBundle, verifyRunBundle, type RunBundleVerification, } from "./bundles.js";
4
- export { collectArtifactEntries, loadCurrentRunArtifact, loadLatestRunArtifact, loadRunArtifact, type CollectedArtifactEntry, type RunArtifactFileSubject, type RunArtifactPayload, } from "./reading.js";
5
- export { DEFAULT_REPORTED_ARCHIVE_CONFIG, type BuildLiveRunArtifactOptions, type BuildRunArtifactOptions, type ReportedRunArtifact, type ReportedRunService, type ReportingArtifactReference, type ReportingDiagnostic, type ReportingExecution, type ReportingFailureDetail, type ReportingFailureLocation, type ReportingFailureRequest, type ReportingFailureResponse, type ReportingFileSummary, type ReportingMetadata, type ReportingOperationTiming, type ReportingOperationTimingInput, type ReportingRecord, type ReportingRuntimeBatch, type ReportingRuntimeReset, type ReportingServiceLogReference, type ReportingServiceSummary, type ReportingSetupLogReference, type ReportingSetupOperation, type ReportingSuiteSelector, type ReportingSuiteSummary, type RunArtifactDocument, type RunArtifactFile, type RunArtifactRun, type RunArtifactService, type RunArtifactSuite, type RunArtifactSummary, type RunServiceResult, } from "./reporting-types.js";
6
- export { copyRegularFileSecurely, MAX_PERSISTED_FILE_ARTIFACT_BYTES, type SecureFileCopyOptions, type SecureFileCopyResult, } from "./secure-file-copy.js";
7
- export { collectTestkitStorageInventory } from "./storage-inventory.js";
8
- export { type Timings, type TimingUpdate } from "./timing.js";