@overkill-dev/run 0.0.62 → 0.0.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assertion-protocol/assertion-node.d.ts +0 -15
- package/assertion-protocol/assertion-node.d.ts.map +1 -1
- package/assertion-protocol/assertion-reference.d.ts +0 -21
- package/assertion-protocol/assertion-reference.d.ts.map +1 -1
- package/assertion-protocol/assertion-reference.js +3 -30
- package/assertion-protocol/assertion-reference.js.map +1 -1
- package/assertion-protocol/assertions/boolean.d.ts +0 -7
- package/assertion-protocol/assertions/boolean.d.ts.map +1 -1
- package/assertion-protocol/assertions/collection.d.ts +0 -9
- package/assertion-protocol/assertions/collection.d.ts.map +1 -1
- package/assertion-protocol/assertions/equality.d.ts +0 -11
- package/assertion-protocol/assertions/equality.d.ts.map +1 -1
- package/assertion-protocol/assertions/fail.d.ts +0 -5
- package/assertion-protocol/assertions/fail.d.ts.map +1 -1
- package/assertion-protocol/assertions/numeric.d.ts +0 -13
- package/assertion-protocol/assertions/numeric.d.ts.map +1 -1
- package/assertion-protocol/assertions/partial.d.ts +0 -9
- package/assertion-protocol/assertions/partial.d.ts.map +1 -1
- package/assertion-protocol/assertions/presence.d.ts +0 -11
- package/assertion-protocol/assertions/presence.d.ts.map +1 -1
- package/assertion-protocol/assertions/string.d.ts +0 -13
- package/assertion-protocol/assertions/string.d.ts.map +1 -1
- package/assertion-protocol/assertions/type-shape.d.ts +0 -19
- package/assertion-protocol/assertions/type-shape.d.ts.map +1 -1
- package/assertion-protocol/source-location-forwarding.js +15 -9
- package/assertion-protocol/source-location-forwarding.js.map +1 -1
- package/assertion-protocol/source-location.js +1 -0
- package/assertion-protocol/source-location.js.map +1 -1
- package/assertion-protocol/thrown-error-record.d.ts +0 -1
- package/assertion-protocol/thrown-error-record.d.ts.map +1 -1
- package/assertion-protocol/thrown-matcher.d.ts +1 -18
- package/assertion-protocol/thrown-matcher.d.ts.map +1 -1
- package/compare/serialized-value-shape.d.ts +0 -9
- package/compare/serialized-value-shape.d.ts.map +1 -1
- package/compare/serialized-value.d.ts +1 -8
- package/compare/serialized-value.d.ts.map +1 -1
- package/engine/assertion-facade.d.ts +2 -5
- package/engine/assertion-facade.d.ts.map +1 -1
- package/engine/async-control.d.ts +0 -26
- package/engine/async-control.d.ts.map +1 -1
- package/engine/async-leak-diagnostics.js +9 -9
- package/engine/async-leak-diagnostics.js.map +1 -1
- package/engine/case-attempt-execution.js +191 -0
- package/engine/case-attempt-execution.js.map +1 -0
- package/engine/case-execution.d.ts +5 -16
- package/engine/case-execution.d.ts.map +1 -1
- package/engine/case-execution.js +25 -24
- package/engine/case-execution.js.map +1 -1
- package/engine/coverage-artifact.d.ts +1 -14
- package/engine/coverage-artifact.d.ts.map +1 -1
- package/engine/custom-assertion-recording.js +1 -1
- package/engine/custom-assertion-recording.js.map +1 -1
- package/engine/engine.d.ts +1 -8
- package/engine/engine.d.ts.map +1 -1
- package/engine/execution-async-leak-policy.js +3 -10
- package/engine/execution-async-leak-policy.js.map +1 -1
- package/engine/execution-global-error-observer.d.ts +2 -4
- package/engine/execution-global-error-observer.d.ts.map +1 -1
- package/engine/execution-global-error-observer.js +20 -46
- package/engine/execution-global-error-observer.js.map +1 -1
- package/engine/execution-options.d.ts +4 -7
- package/engine/execution-options.d.ts.map +1 -1
- package/engine/execution-options.js +7 -2
- package/engine/execution-options.js.map +1 -1
- package/engine/execution-resource-budget-breach.d.ts +0 -9
- package/engine/execution-resource-budget-breach.d.ts.map +1 -1
- package/engine/execution-resource-budget-tracking.js.map +1 -1
- package/engine/execution-resource-tracked-cases.js.map +1 -1
- package/engine/execution-result.js.map +1 -1
- package/engine/execution-supervision-state.js.map +1 -1
- package/engine/execution-supervision.d.ts +0 -16
- package/engine/execution-supervision.d.ts.map +1 -1
- package/engine/execution-supervision.js +50 -33
- package/engine/execution-supervision.js.map +1 -1
- package/engine/execution-test-plan-cases.js +6 -126
- package/engine/execution-test-plan-cases.js.map +1 -1
- package/engine/execution-test-plan-resource-usage.js.map +1 -1
- package/engine/execution.d.ts +1 -12
- package/engine/execution.d.ts.map +1 -1
- package/engine/execution.js +3 -3
- package/engine/execution.js.map +1 -1
- package/engine/identity.d.ts +3 -6
- package/engine/identity.d.ts.map +1 -1
- package/engine/reporter-dispatcher.d.ts +1 -11
- package/engine/reporter-dispatcher.d.ts.map +1 -1
- package/engine/reporter-dispatcher.js +1 -0
- package/engine/reporter-dispatcher.js.map +1 -1
- package/engine/reporter-event-queue.js.map +1 -1
- package/engine/reporter-output.d.ts +0 -6
- package/engine/reporter-output.d.ts.map +1 -1
- package/engine/reporter.d.ts +2 -17
- package/engine/reporter.d.ts.map +1 -1
- package/engine/reporter.js.map +1 -1
- package/engine/reporting-context.d.ts +1 -13
- package/engine/reporting-context.d.ts.map +1 -1
- package/engine/require-assertion-facade.d.ts +2 -5
- package/engine/require-assertion-facade.d.ts.map +1 -1
- package/engine/resource-usage.d.ts +22 -0
- package/engine/resource-usage.d.ts.map +1 -0
- package/engine/retry-policy.d.ts +4 -0
- package/engine/retry-policy.d.ts.map +1 -0
- package/engine/retry-policy.js +22 -0
- package/engine/retry-policy.js.map +1 -0
- package/engine/run-artifact.d.ts +45 -0
- package/engine/run-artifact.d.ts.map +1 -0
- package/engine/run-result.d.ts +18 -114
- package/engine/run-result.d.ts.map +1 -1
- package/engine/run-result.js +14 -0
- package/engine/run-result.js.map +1 -1
- package/engine/run-timings.d.ts +0 -18
- package/engine/run-timings.d.ts.map +1 -1
- package/engine/runner-error-reporting.js.map +1 -1
- package/engine/test-attempt-history.js +24 -0
- package/engine/test-attempt-history.js.map +1 -0
- package/engine/test-body-resource-attachment.d.ts +0 -12
- package/engine/test-body-resource-attachment.d.ts.map +1 -1
- package/engine/test-body-resource-attachment.js +3 -134
- package/engine/test-body-resource-attachment.js.map +1 -1
- package/engine/test-data.d.ts +0 -6
- package/engine/test-data.d.ts.map +1 -1
- package/engine/test-node.d.ts +0 -21
- package/engine/test-node.d.ts.map +1 -1
- package/engine/test-node.js +1 -20
- package/engine/test-node.js.map +1 -1
- package/engine/test-plan.d.ts +1 -4
- package/engine/test-plan.d.ts.map +1 -1
- package/package.json +21 -7
- package/packages/run/config.entry-point.d.ts +2 -0
- package/packages/run/config.entry-point.d.ts.map +1 -1
- package/packages/run/run.entry-point.d.ts +2 -0
- package/packages/run/run.entry-point.d.ts.map +1 -1
- package/packages/run/transcript-store.entry-point.d.ts +3 -0
- package/packages/run/transcript-store.entry-point.d.ts.map +1 -0
- package/packages/run/transcript-store.entry-point.js +2 -0
- package/packages/run/transcript-store.entry-point.js.map +1 -0
- package/packages/simulation/transcript.entry-point.js +2 -0
- package/packages/simulation/transcript.entry-point.js.map +1 -0
- package/readme.md +47 -2
- package/reporters/human-reporter-rendering.js +12 -3
- package/reporters/human-reporter-rendering.js.map +1 -1
- package/reporters/line-reporter.js +6 -1
- package/reporters/line-reporter.js.map +1 -1
- package/reporters/tree-reporter.js +2 -103
- package/reporters/tree-reporter.js.map +1 -1
- package/resources/resource-definition-shape.d.ts +0 -2
- package/resources/resource-definition-shape.d.ts.map +1 -1
- package/resources/resource-definition-types.d.ts +1 -96
- package/resources/resource-definition-types.d.ts.map +1 -1
- package/resources/resource-definition.js.map +1 -1
- package/resources/resource-lifecycle-error.d.ts +0 -1
- package/resources/resource-lifecycle-error.d.ts.map +1 -1
- package/resources/resource-lifecycle-error.js +17 -1
- package/resources/resource-lifecycle-error.js.map +1 -1
- package/resources/resource-scenario-binding.js +1 -69
- package/resources/resource-scenario-binding.js.map +1 -1
- package/resources/resource-scenario.d.ts +0 -19
- package/resources/resource-scenario.d.ts.map +1 -1
- package/resources/resource-session.d.ts +1 -20
- package/resources/resource-session.d.ts.map +1 -1
- package/resources/resources.d.ts +5 -88
- package/resources/resources.d.ts.map +1 -1
- package/resources/resources.js +5 -81
- package/resources/resources.js.map +1 -1
- package/resources/runtime-definition.d.ts +0 -7
- package/resources/runtime-definition.d.ts.map +1 -1
- package/resources/runtime-definition.js +2 -57
- package/resources/runtime-definition.js.map +1 -1
- package/resources/runtime-matrix-definition.d.ts +0 -36
- package/resources/runtime-matrix-definition.d.ts.map +1 -1
- package/run/capability-policy-snapshots.d.ts +0 -19
- package/run/capability-policy-snapshots.d.ts.map +1 -1
- package/run/capability-policy.js +10 -5
- package/run/capability-policy.js.map +1 -1
- package/run/collected-run-plan.js.map +1 -1
- package/run/command-line-command-namespace.d.ts +0 -5
- package/run/command-line-command-namespace.d.ts.map +1 -1
- package/run/command-line-command.d.ts +1 -4
- package/run/command-line-command.d.ts.map +1 -1
- package/run/command-line-runner.d.ts +0 -2
- package/run/command-line-runner.d.ts.map +1 -1
- package/run/coverage-loaded-sources.js +112 -0
- package/run/coverage-loaded-sources.js.map +1 -0
- package/run/coverage-native-data.js +18 -0
- package/run/coverage-native-data.js.map +1 -0
- package/run/coverage-paths.js +45 -4
- package/run/coverage-paths.js.map +1 -1
- package/run/coverage-reporting.js +37 -123
- package/run/coverage-reporting.js.map +1 -1
- package/run/coverage-run-record.js +50 -0
- package/run/coverage-run-record.js.map +1 -0
- package/run/coverage-runtime-source.js +37 -0
- package/run/coverage-runtime-source.js.map +1 -0
- package/run/coverage-session.js +344 -6
- package/run/coverage-session.js.map +1 -1
- package/run/coverage-source-map.js +125 -0
- package/run/coverage-source-map.js.map +1 -0
- package/run/coverage-source-selection.js +120 -0
- package/run/coverage-source-selection.js.map +1 -0
- package/run/current-process-run-orchestrator.d.ts +1 -5
- package/run/current-process-run-orchestrator.d.ts.map +1 -1
- package/run/duration-history.d.ts +0 -30
- package/run/duration-history.d.ts.map +1 -1
- package/run/duration-history.js +1 -0
- package/run/duration-history.js.map +1 -1
- package/run/node-run-execution.js +25 -0
- package/run/node-run-execution.js.map +1 -0
- package/run/node-runtime-state-store.js +38 -0
- package/run/node-runtime-state-store.js.map +1 -0
- package/run/node-worker-pool-factory.js +0 -31
- package/run/node-worker-pool-factory.js.map +1 -1
- package/run/path-containment.js +6 -1
- package/run/path-containment.js.map +1 -1
- package/run/permission-denial-runtime-policy.js +21 -13
- package/run/permission-denial-runtime-policy.js.map +1 -1
- package/run/placement-trace.d.ts +0 -18
- package/run/placement-trace.d.ts.map +1 -1
- package/run/recorded-coverage-run.js +45 -0
- package/run/recorded-coverage-run.js.map +1 -0
- package/run/recorded-coverage-session.js +50 -0
- package/run/recorded-coverage-session.js.map +1 -0
- package/run/resource-lifecycle-composition.d.ts +0 -3
- package/run/resource-lifecycle-composition.d.ts.map +1 -1
- package/run/resource-lifecycle-composition.js +1 -14
- package/run/resource-lifecycle-composition.js.map +1 -1
- package/run/resource-lifecycle-session-acquirer.js +11 -6
- package/run/resource-lifecycle-session-acquirer.js.map +1 -1
- package/run/resource-lifecycle-state.d.ts +4 -5
- package/run/resource-lifecycle-state.d.ts.map +1 -1
- package/run/resource-lifecycle-state.js +9 -3
- package/run/resource-lifecycle-state.js.map +1 -1
- package/run/resource-lifecycle.js +36 -10
- package/run/resource-lifecycle.js.map +1 -1
- package/run/resource-usage.js.map +1 -1
- package/run/retry-artifact-retention.js +37 -0
- package/run/retry-artifact-retention.js.map +1 -0
- package/run/run-collection-source.d.ts +1 -5
- package/run/run-collection-source.d.ts.map +1 -1
- package/run/run-config-schema.d.ts +25 -4
- package/run/run-config-schema.d.ts.map +1 -1
- package/run/run-config-schema.js +7 -0
- package/run/run-config-schema.js.map +1 -1
- package/run/run-config.d.ts +3 -3
- package/run/run-config.d.ts.map +1 -1
- package/run/run-config.js +4 -0
- package/run/run-config.js.map +1 -1
- package/run/run-coverage.js +5 -2
- package/run/run-coverage.js.map +1 -1
- package/run/run-discovery-types.d.ts +0 -14
- package/run/run-discovery-types.d.ts.map +1 -1
- package/run/run-engine-primitives.d.ts +11 -0
- package/run/run-engine-primitives.d.ts.map +1 -0
- package/run/run-engine-selection.d.ts +0 -10
- package/run/run-engine-selection.d.ts.map +1 -1
- package/run/run-errors.d.ts +0 -2
- package/run/run-errors.d.ts.map +1 -1
- package/run/run-errors.js +1 -0
- package/run/run-errors.js.map +1 -1
- package/run/run-execution-config.d.ts +5 -0
- package/run/run-execution-config.d.ts.map +1 -1
- package/run/run-facts.js +2 -0
- package/run/run-facts.js.map +1 -1
- package/run/run-if-main-options.d.ts +0 -7
- package/run/run-if-main-options.d.ts.map +1 -1
- package/run/run-if-main-profile.d.ts +0 -1
- package/run/run-if-main-profile.d.ts.map +1 -1
- package/run/run-if-main.d.ts +0 -1
- package/run/run-if-main.d.ts.map +1 -1
- package/run/run-isolated-command.js +2 -0
- package/run/run-isolated-command.js.map +1 -1
- package/run/run-local-command.js +8 -82
- package/run/run-local-command.js.map +1 -1
- package/run/run-local-coverage.js +72 -0
- package/run/run-local-coverage.js.map +1 -0
- package/run/run-local-execution.js +1 -0
- package/run/run-local-execution.js.map +1 -1
- package/run/run-local-resolution.js +6 -3
- package/run/run-local-resolution.js.map +1 -1
- package/run/run-orchestrator-dependencies.d.ts +2 -7
- package/run/run-orchestrator-dependencies.d.ts.map +1 -1
- package/run/run-orchestrator.d.ts +0 -8
- package/run/run-orchestrator.d.ts.map +1 -1
- package/run/run-orchestrator.entry-point.d.ts +1 -1
- package/run/run-orchestrator.entry-point.d.ts.map +1 -1
- package/run/run-orchestrator.js +6 -18
- package/run/run-orchestrator.js.map +1 -1
- package/run/run-record-error.js +26 -0
- package/run/run-record-error.js.map +1 -0
- package/run/run-record-input.js +34 -0
- package/run/run-record-input.js.map +1 -0
- package/run/run-record-outcomes.d.ts +46 -0
- package/run/run-record-outcomes.d.ts.map +1 -0
- package/run/run-record-result.js +58 -0
- package/run/run-record-result.js.map +1 -0
- package/run/run-record-storage.js +51 -0
- package/run/run-record-storage.js.map +1 -0
- package/run/run-record-types.d.ts +73 -0
- package/run/run-record-types.d.ts.map +1 -0
- package/run/run-record-versions.js +51 -0
- package/run/run-record-versions.js.map +1 -0
- package/run/run-record.js +48 -0
- package/run/run-record.js.map +1 -0
- package/run/run-result-reporting.js +16 -0
- package/run/run-result-reporting.js.map +1 -0
- package/run/run-selection-filters.d.ts +2 -11
- package/run/run-selection-filters.d.ts.map +1 -1
- package/run/run-supervised-finalization.js +8 -0
- package/run/run-supervised-finalization.js.map +1 -0
- package/run/run-supervised-process.js +34 -33
- package/run/run-supervised-process.js.map +1 -1
- package/run/run-support.js +17 -8
- package/run/run-support.js.map +1 -1
- package/run/run-test-modules.d.ts +0 -4
- package/run/run-test-modules.d.ts.map +1 -1
- package/run/run-timing-collection.d.ts +0 -21
- package/run/run-timing-collection.d.ts.map +1 -1
- package/run/run-types.d.ts +4 -2
- package/run/run-types.d.ts.map +1 -1
- package/run/run-types.js.map +1 -1
- package/run/run.d.ts +0 -3
- package/run/run.d.ts.map +1 -1
- package/run/supervised-child-execution.js +38 -0
- package/run/supervised-child-execution.js.map +1 -0
- package/run/supervised-child-process.d.ts +1 -53
- package/run/supervised-child-process.d.ts.map +1 -1
- package/run/supervised-child-process.js +1 -5
- package/run/supervised-child-process.js.map +1 -1
- package/run/supervised-child-test-plan.js +2 -0
- package/run/supervised-child-test-plan.js.map +1 -1
- package/run/supervised-child.js +5 -36
- package/run/supervised-child.js.map +1 -1
- package/run/supervised-output-capture.js +66 -0
- package/run/supervised-output-capture.js.map +1 -0
- package/run/supervised-protocol.js.map +1 -1
- package/run/supervised-run-collection.js +3 -1
- package/run/supervised-run-collection.js.map +1 -1
- package/run/supervised-run-resource-policy.js +12 -1
- package/run/supervised-run-resource-policy.js.map +1 -1
- package/run/supervised-run-runtime.js +16 -27
- package/run/supervised-run-runtime.js.map +1 -1
- package/run/supervised-run-state.js +64 -81
- package/run/supervised-run-state.js.map +1 -1
- package/run/supervised-run.js +3 -1
- package/run/supervised-run.js.map +1 -1
- package/run/worker-pool-collection.js +1 -0
- package/run/worker-pool-collection.js.map +1 -1
- package/run/worker-pool-command.js +1 -0
- package/run/worker-pool-command.js.map +1 -1
- package/run/worker-pool-execution.js +2 -1
- package/run/worker-pool-execution.js.map +1 -1
- package/run/worker-pool-hedged-arbitration.js +4 -0
- package/run/worker-pool-hedged-arbitration.js.map +1 -1
- package/run/worker-pool-host-process.js.map +1 -1
- package/run/worker-pool-host-protocol.js.map +1 -1
- package/run/worker-pool-output.js +1 -1
- package/run/worker-pool-output.js.map +1 -1
- package/run/worker-pool-protocol.js.map +1 -1
- package/run/worker-pool-resource-lifecycle-execution.js +1 -0
- package/run/worker-pool-resource-lifecycle-execution.js.map +1 -1
- package/run/worker-pool-resource-tracking.js +2 -2
- package/run/worker-pool-resource-tracking.js.map +1 -1
- package/run/worker-pool-results.js +7 -9
- package/run/worker-pool-results.js.map +1 -1
- package/run/worker-pool-run.js +3 -9
- package/run/worker-pool-run.js.map +1 -1
- package/run/worker-pool-task-events.js +7 -2
- package/run/worker-pool-task-events.js.map +1 -1
- package/run/worker-pool-warm-lane-affinity.d.ts +0 -11
- package/run/worker-pool-warm-lane-affinity.d.ts.map +1 -1
- package/run/worker-pool-worker-plan.js +1 -0
- package/run/worker-pool-worker-plan.js.map +1 -1
- package/run/worker-pool-worker-resources.js +1 -0
- package/run/worker-pool-worker-resources.js.map +1 -1
- package/run/worker-pool-worker.js +2 -1
- package/run/worker-pool-worker.js.map +1 -1
- package/sbom.cdx.json +66 -15
- package/transcript/http-transcript.js +3 -0
- package/transcript/http-transcript.js.map +1 -0
- package/transcript/transcript-store.d.ts +25 -0
- package/transcript/transcript-store.d.ts.map +1 -0
- package/transcript/transcript-store.js +73 -0
- package/transcript/transcript-store.js.map +1 -0
- package/assertion-protocol/assertion-evaluation.d.ts +0 -13
- package/assertion-protocol/assertion-evaluation.d.ts.map +0 -1
- package/assertion-protocol/evaluation.d.ts +0 -32
- package/assertion-protocol/evaluation.d.ts.map +0 -1
- package/assertion-protocol/source-location-forwarding.d.ts +0 -4
- package/assertion-protocol/source-location-forwarding.d.ts.map +0 -1
- package/assertion-protocol/source-location.d.ts +0 -8
- package/assertion-protocol/source-location.d.ts.map +0 -1
- package/compare/comparison-result.d.ts +0 -25
- package/compare/comparison-result.d.ts.map +0 -1
- package/compare/comparison.d.ts +0 -12
- package/compare/comparison.d.ts.map +0 -1
- package/engine/async-leak-diagnostics.d.ts +0 -27
- package/engine/async-leak-diagnostics.d.ts.map +0 -1
- package/engine/custom-assertion-recording.d.ts +0 -33
- package/engine/custom-assertion-recording.d.ts.map +0 -1
- package/engine/execution-async-leak-policy.d.ts +0 -24
- package/engine/execution-async-leak-policy.d.ts.map +0 -1
- package/engine/execution-supervision-state.d.ts +0 -30
- package/engine/execution-supervision-state.d.ts.map +0 -1
- package/engine/reporter-disposal.d.ts +0 -6
- package/engine/reporter-disposal.d.ts.map +0 -1
- package/packages/engine/assertion-protocol.entry-point.d.ts +0 -10
- package/packages/engine/assertion-protocol.entry-point.d.ts.map +0 -1
- package/packages/engine/assertion-protocol.entry-point.js +0 -5
- package/packages/engine/assertion-protocol.entry-point.js.map +0 -1
- package/packages/engine/engine.entry-point.d.ts +0 -58
- package/packages/engine/engine.entry-point.d.ts.map +0 -1
- package/packages/engine/engine.entry-point.js +0 -75
- package/packages/engine/engine.entry-point.js.map +0 -1
- package/resources/resource-definition-brand.d.ts +0 -2
- package/resources/resource-definition-brand.d.ts.map +0 -1
- package/resources/resource-graph.d.ts +0 -24
- package/resources/resource-graph.d.ts.map +0 -1
- package/resources/resource-scenario-binding.d.ts +0 -37
- package/resources/resource-scenario-binding.d.ts.map +0 -1
- package/run/duration-history-schema.d.ts +0 -251
- package/run/duration-history-schema.d.ts.map +0 -1
- package/run/supervised-run-state.d.ts +0 -44
- package/run/supervised-run-state.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -5,8 +5,11 @@
|
|
|
5
5
|
},
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@enormora/clock": "0.0.3",
|
|
8
|
-
"@
|
|
8
|
+
"@jridgewell/trace-mapping": "0.3.31",
|
|
9
|
+
"@schema-hub/zod-error-formatter": "0.0.19",
|
|
10
|
+
"acorn": "8.18.0",
|
|
9
11
|
"ansi-escapes": "7.3.0",
|
|
12
|
+
"convert-source-map": "2.0.0",
|
|
10
13
|
"diff": "9.0.0",
|
|
11
14
|
"figures": "6.1.0",
|
|
12
15
|
"hash-wasm": "4.12.0",
|
|
@@ -17,7 +20,7 @@
|
|
|
17
20
|
"string-width": "8.3.0",
|
|
18
21
|
"sucrase": "3.35.1",
|
|
19
22
|
"tinypool": "2.2.0",
|
|
20
|
-
"type-fest": "5.
|
|
23
|
+
"type-fest": "5.10.0",
|
|
21
24
|
"ulid": "3.0.2",
|
|
22
25
|
"yoctocolors": "2.2.0",
|
|
23
26
|
"zod": "4.6.5"
|
|
@@ -46,6 +49,10 @@
|
|
|
46
49
|
"./resource-lifecycle": {
|
|
47
50
|
"import": "./packages/run/resource-lifecycle.entry-point.js",
|
|
48
51
|
"types": "./packages/run/resource-lifecycle.entry-point.d.ts"
|
|
52
|
+
},
|
|
53
|
+
"./transcript-store": {
|
|
54
|
+
"import": "./packages/run/transcript-store.entry-point.js",
|
|
55
|
+
"types": "./packages/run/transcript-store.entry-point.d.ts"
|
|
49
56
|
}
|
|
50
57
|
},
|
|
51
58
|
"homepage": "https://github.com/enormora/overkill#readme",
|
|
@@ -61,8 +68,10 @@
|
|
|
61
68
|
"url": "git+https://github.com/enormora/overkill.git"
|
|
62
69
|
},
|
|
63
70
|
"sideEffects": [
|
|
71
|
+
"./assertion-protocol/assertion-node.js",
|
|
64
72
|
"./assertion-protocol/assertion-reference.js",
|
|
65
73
|
"./assertion-protocol/source-location-forwarding.js",
|
|
74
|
+
"./engine/assertion-recorder.js",
|
|
66
75
|
"./engine/async-leak-diagnostics.js",
|
|
67
76
|
"./engine/execution-async-leak-policy.js",
|
|
68
77
|
"./engine/execution-global-error-observer.js",
|
|
@@ -76,7 +85,6 @@
|
|
|
76
85
|
"./engine/test-body-resource-attachment.js",
|
|
77
86
|
"./engine/test-data.js",
|
|
78
87
|
"./engine/test-node.js",
|
|
79
|
-
"./packages/engine/engine.entry-point.js",
|
|
80
88
|
"./packages/run/command-line.entry-point.js",
|
|
81
89
|
"./packages/run/config.entry-point.js",
|
|
82
90
|
"./packages/run/run.entry-point.js",
|
|
@@ -84,6 +92,7 @@
|
|
|
84
92
|
"./reporters/line-reporter.js",
|
|
85
93
|
"./reporters/tree-reporter.js",
|
|
86
94
|
"./resources/resource-definition.js",
|
|
95
|
+
"./resources/resource-lifecycle-error.js",
|
|
87
96
|
"./resources/resource-scenario-binding.js",
|
|
88
97
|
"./resources/resources.js",
|
|
89
98
|
"./resources/runtime-definition.js",
|
|
@@ -92,7 +101,9 @@
|
|
|
92
101
|
"./run/child-process.entry-point.js",
|
|
93
102
|
"./run/command-line-command.js",
|
|
94
103
|
"./run/coverage-config-schema.js",
|
|
95
|
-
"./run/coverage-
|
|
104
|
+
"./run/coverage-native-data.js",
|
|
105
|
+
"./run/coverage-runtime-source.js",
|
|
106
|
+
"./run/coverage-source-map.js",
|
|
96
107
|
"./run/default-run-engine.js",
|
|
97
108
|
"./run/definition-location-capture.js",
|
|
98
109
|
"./run/duration-history-schema.js",
|
|
@@ -106,18 +117,19 @@
|
|
|
106
117
|
"./run/run-collection-source.js",
|
|
107
118
|
"./run/run-config-schema.js",
|
|
108
119
|
"./run/run-coverage.js",
|
|
120
|
+
"./run/run-errors.js",
|
|
109
121
|
"./run/run-filter-grammar.js",
|
|
110
122
|
"./run/run-host-process.js",
|
|
111
123
|
"./run/run-if-main.js",
|
|
112
124
|
"./run/run-isolated-process.js",
|
|
113
125
|
"./run/run-orchestrator.entry-point.js",
|
|
126
|
+
"./run/run-record-versions.js",
|
|
114
127
|
"./run/run-selection-filters.js",
|
|
115
128
|
"./run/run-supervised-process.js",
|
|
116
129
|
"./run/run-timing-collection.js",
|
|
117
130
|
"./run/run-types.js",
|
|
118
131
|
"./run/supervised-child-process.js",
|
|
119
132
|
"./run/supervised-child.entry-point.js",
|
|
120
|
-
"./run/supervised-run-state.js",
|
|
121
133
|
"./run/tinypool-node-compatibility.js",
|
|
122
134
|
"./run/work-unit-planning.js",
|
|
123
135
|
"./run/worker-pool-host.entry-point.js",
|
|
@@ -125,8 +137,10 @@
|
|
|
125
137
|
"./run/worker-pool-run.js",
|
|
126
138
|
"./run/worker-pool-runtime.js",
|
|
127
139
|
"./run/worker-pool-task-validation.js",
|
|
128
|
-
"./run/worker-pool-worker-resources.js"
|
|
140
|
+
"./run/worker-pool-worker-resources.js",
|
|
141
|
+
"./transcript/http-transcript.js",
|
|
142
|
+
"./transcript/transcript-store.js"
|
|
129
143
|
],
|
|
130
144
|
"type": "module",
|
|
131
|
-
"version": "0.0.
|
|
145
|
+
"version": "0.0.64"
|
|
132
146
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export declare const loadRunConfig: import("../../run/run-config.ts").RunConfigLoader;
|
|
2
2
|
export { defineConfig } from '../../run/run-config.ts';
|
|
3
3
|
export { RunConfigError } from '../../run/run-errors.ts';
|
|
4
|
+
export type { IntegrationRetryPolicy, RetryArtifactPolicy } from '../../run/run-execution-config.ts';
|
|
5
|
+
export type { RunProjectIntegrationRetryPolicy } from '../../run/run-config-schema.ts';
|
|
4
6
|
export type { LoadedRunConfig, RunConfigLoader, RunConfigLoaderDependencies, RunConfigLoadRequest, RunProjectCoverageOutput, RunProjectCoveragePolicy, RunProjectCoverageSources, RunProjectCoverageThresholds, RunProjectConfig, RunProjectIntegrationExecution, RunProjectIntegrationProfileConfig, RunProjectMeasuredResourceUsage, RunProjectMicrotestExecution, RunProjectMicrotestProfileConfig, RunProjectProfileConfig, RunProjectProfileFiles, RunProjectProfilesConfig, RunProjectResourceBudgets, RunProjectResourceUsageConfig, RunProjectTimingProfilePolicy, RunProjectTimeoutConfig, RunProjectUnmeasuredResourceUsage } from '../../run/run-config.ts';
|
|
5
7
|
//# sourceMappingURL=config.entry-point.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.entry-point.d.ts","sourceRoot":"","sources":["../../../../../source/packages/run/config.entry-point.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,aAAa,mDAGxB,CAAC;AAEH,OAAO,EACH,YAAY,EACf,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,YAAY,EACR,eAAe,EACf,eAAe,EACf,2BAA2B,EAC3B,oBAAoB,EACpB,wBAAwB,EACxB,wBAAwB,EACxB,yBAAyB,EACzB,4BAA4B,EAC5B,gBAAgB,EAChB,8BAA8B,EAC9B,kCAAkC,EAClC,+BAA+B,EAC/B,4BAA4B,EAC5B,gCAAgC,EAChC,uBAAuB,EACvB,sBAAsB,EACtB,wBAAwB,EACxB,yBAAyB,EACzB,6BAA6B,EAC7B,6BAA6B,EAC7B,uBAAuB,EACvB,iCAAiC,EACpC,MAAM,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"config.entry-point.d.ts","sourceRoot":"","sources":["../../../../../source/packages/run/config.entry-point.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,aAAa,mDAGxB,CAAC;AAEH,OAAO,EACH,YAAY,EACf,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,YAAY,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACrG,YAAY,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AACvF,YAAY,EACR,eAAe,EACf,eAAe,EACf,2BAA2B,EAC3B,oBAAoB,EACpB,wBAAwB,EACxB,wBAAwB,EACxB,yBAAyB,EACzB,4BAA4B,EAC5B,gBAAgB,EAChB,8BAA8B,EAC9B,kCAAkC,EAClC,+BAA+B,EAC/B,4BAA4B,EAC5B,gCAAgC,EAChC,uBAAuB,EACvB,sBAAsB,EACtB,wBAAwB,EACxB,yBAAyB,EACzB,6BAA6B,EAC7B,6BAA6B,EAC7B,uBAAuB,EACvB,iCAAiC,EACpC,MAAM,yBAAyB,CAAC"}
|
|
@@ -2,6 +2,7 @@ export declare const runIfMain: import("../../run/run-if-main.ts").RunIfMain;
|
|
|
2
2
|
export { orchestrator } from '../../run/run-orchestrator.entry-point.ts';
|
|
3
3
|
export { defineConfig, loadRunConfig, RunConfigError } from './config.entry-point.ts';
|
|
4
4
|
export { RunExecutionPlanError, RunResolutionError } from '../../run/run-errors.ts';
|
|
5
|
+
export type { IntegrationRetryPolicy, RetryArtifactPolicy, RunProjectIntegrationRetryPolicy } from './config.entry-point.ts';
|
|
5
6
|
export type { PlannedResourceOwner, ResourceOwnerPlacement, ResourceOwnershipPlan } from '../../run/resource-ownership-plan.ts';
|
|
6
7
|
export type { LoadedRunConfig, RunConfigLoader, RunConfigLoaderDependencies, RunConfigLoadRequest, RunProjectCoverageOutput, RunProjectCoveragePolicy, RunProjectCoverageSources, RunProjectCoverageThresholds, RunProjectConfig, RunProjectIntegrationExecution, RunProjectIntegrationProfileConfig, RunProjectMeasuredResourceUsage, RunProjectMicrotestExecution, RunProjectMicrotestProfileConfig, RunProjectProfileFiles, RunProjectProfileConfig, RunProjectProfilesConfig, RunProjectResourceBudgets, RunProjectResourceUsageConfig, RunProjectTimingProfilePolicy, RunProjectTimeoutConfig, RunProjectUnmeasuredResourceUsage } from '../../run/run-config.ts';
|
|
7
8
|
export type { RunIfMain, RunIfMainDependencies } from '../../run/run-if-main.ts';
|
|
@@ -14,4 +15,5 @@ export type { DynamicWorkUnitId, PlacementAttemptId, PlacementAttemptInterruptio
|
|
|
14
15
|
export type { CoverageOutput, CollectedRunCase, CollectedRunFile, CollectedRunPlan, ExecutorDescriptor, PlacementAssignment, PlacementLane, PlacementPlan, ResolvedRun, ResolvedRunPlan, RunCaseFacts, RunCommand, RunConfig, RunCoveragePolicy, RunCoverageSourcePolicy, RunCoverageThresholds, RunDebugRequest, RunEngineFacts, RunEnvironmentFacts, RunExecutionRequest, RunFacts, RunExecutionFacts, RunHostProcess, RunHostProcessFacts, RunHostProcessReason, RunIntegrationExecution, RunIntegrationProfileConfig, RunLoaderConfig, RunMaxConcurrency, RunMicrotestExecution, RunMicrotestProfileConfig, RunOrder, RunOrchestrator, RunProcessModel, RunProfileConfig, RunProfileFiles, RunProfilesConfig, RunResourceBudgets, RunResourceUsagePolicy, RunReproducibilityFacts, RunRequest, RunScheduling, RunSeed, RunShard, RunTestFamily, RunTimeoutPolicy, TimingCollectionMode, TimingCollectionOverride, TimingProfilePolicy, RunWorkDistribution, RunWorkGroup, RunWorkGroupGranularity, RunWorkGroupOrder, RunWorkGroupScheduling, RunWorkGroupWorkerLifecycle, RunWorkerPoolAssignmentPolicy, RunWorkerPoolDispatchPolicy, RunWorkerPoolHedgingPolicy, RunWorkerCountFacts, RunWorkerLifecycle, SerializedValue, DuplicateExecutionSafety, WorkUnitId, WorkUnit, WorkUnitMode } from '../../run/run-types.ts';
|
|
15
16
|
export type { RunEngineSelection } from '../../run/run-request-types.ts';
|
|
16
17
|
export type { RunFilter, RunRuntimeDimensionFilter, RunRuntimeFilter, RunRuntimeScenarioFilter, RunRuntimeVariantFilter, RunSelection, RunStringFilterField } from '../../run/run-request-types.ts';
|
|
18
|
+
export type { ResolvedRuntime, RunRecord, RunRecordCoverage, RunRecordRequest, RunRecordResult, RunRecordVersions } from '../../run/run-record-types.ts';
|
|
17
19
|
//# sourceMappingURL=run.entry-point.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run.entry-point.d.ts","sourceRoot":"","sources":["../../../../../source/packages/run/run.entry-point.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,SAAS,8CAapB,CAAC;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AACzE,OAAO,EACH,YAAY,EACZ,aAAa,EACb,cAAc,EACjB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AACpF,YAAY,EACR,oBAAoB,EACpB,sBAAsB,EACtB,qBAAqB,EACxB,MAAM,sCAAsC,CAAC;AAC9C,YAAY,EACR,eAAe,EACf,eAAe,EACf,2BAA2B,EAC3B,oB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AuB,EACvB,2BAA2B,EAC3B,eAAe,EACf,iBAAiB,EACjB,qBAAqB,EACrB,yBAAyB,EACzB,QAAQ,EACR,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,EACvB,UAAU,EACV,aAAa,EACb,OAAO,EACP,QAAQ,EACR,aAAa,EACb,gBAAgB,EAChB,oBAAoB,EACpB,wBAAwB,EACxB,mBAAmB,EACnB,mBAAmB,EACnB,YAAY,EACZ,uBAAuB,EACvB,iBAAiB,EACjB,sBAAsB,EACtB,2BAA2B,EAC3B,6BAA6B,EAC7B,2BAA2B,EAC3B,0BAA0B,EAC1B,mBAAmB,EACnB,kBAAkB,EAClB,eAAe,EACf,wBAAwB,EACxB,UAAU,EACV,QAAQ,EACR,YAAY,EACf,MAAM,wBAAwB,CAAC;AAChC,YAAY,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACzE,YAAY,EACR,SAAS,EACT,yBAAyB,EACzB,gBAAgB,EAChB,wBAAwB,EACxB,uBAAuB,EACvB,YAAY,EACZ,oBAAoB,EACvB,MAAM,gCAAgC,CAAC"}
|
|
1
|
+
{"version":3,"file":"run.entry-point.d.ts","sourceRoot":"","sources":["../../../../../source/packages/run/run.entry-point.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,SAAS,8CAapB,CAAC;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AACzE,OAAO,EACH,YAAY,EACZ,aAAa,EACb,cAAc,EACjB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AACpF,YAAY,EACR,sBAAsB,EACtB,mBAAmB,EACnB,gCAAgC,EACnC,MAAM,yBAAyB,CAAC;AACjC,YAAY,EACR,oBAAoB,EACpB,sBAAsB,EACtB,qBAAqB,EACxB,MAAM,sCAAsC,CAAC;AAC9C,YA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ACjB,cAAc,EACd,mBAAmB,EACnB,oBAAoB,EACpB,uBAAuB,EACvB,2BAA2B,EAC3B,eAAe,EACf,iBAAiB,EACjB,qBAAqB,EACrB,yBAAyB,EACzB,QAAQ,EACR,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,EACvB,UAAU,EACV,aAAa,EACb,OAAO,EACP,QAAQ,EACR,aAAa,EACb,gBAAgB,EAChB,oBAAoB,EACpB,wBAAwB,EACxB,mBAAmB,EACnB,mBAAmB,EACnB,YAAY,EACZ,uBAAuB,EACvB,iBAAiB,EACjB,sBAAsB,EACtB,2BAA2B,EAC3B,6BAA6B,EAC7B,2BAA2B,EAC3B,0BAA0B,EAC1B,mBAAmB,EACnB,kBAAkB,EAClB,eAAe,EACf,wBAAwB,EACxB,UAAU,EACV,QAAQ,EACR,YAAY,EACf,MAAM,wBAAwB,CAAC;AAChC,YAAY,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACzE,YAAY,EACR,SAAS,EACT,yBAAyB,EACzB,gBAAgB,EAChB,wBAAwB,EACxB,uBAAuB,EACvB,YAAY,EACZ,oBAAoB,EACvB,MAAM,gCAAgC,CAAC;AACxC,YAAY,EACR,eAAe,EACf,SAAS,EACT,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,iBAAiB,EACpB,MAAM,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { brandTranscriptView, createTranscriptStore, isTranscriptView, runWithTranscriptScope } from '../../transcript/transcript-store.ts';
|
|
2
|
+
export type { TranscriptEntry, TranscriptScope, TranscriptStore, TranscriptView } from '../../transcript/transcript-store.ts';
|
|
3
|
+
//# sourceMappingURL=transcript-store.entry-point.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transcript-store.entry-point.d.ts","sourceRoot":"","sources":["../../../../../source/packages/run/transcript-store.entry-point.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,EAChB,sBAAsB,EACzB,MAAM,sCAAsC,CAAC;AAC9C,YAAY,EACR,eAAe,EACf,eAAe,EACf,eAAe,EACf,cAAc,EACjB,MAAM,sCAAsC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transcript-store.entry-point.js","sourceRoot":"","sources":["../../../../../source/packages/run/transcript-store.entry-point.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,EAChB,sBAAsB,EACzB,MAAM,sCAAsC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transcript.entry-point.js","sourceRoot":"","sources":["../../../../../source/packages/simulation/transcript.entry-point.ts"],"names":[],"mappings":"AAAA,OAAgC,qCAAqC,CAAC"}
|
package/readme.md
CHANGED
|
@@ -78,6 +78,10 @@ Resource wrapper lifecycle coordination is exposed through
|
|
|
78
78
|
`@overkill-dev/run/resource-lifecycle` for packages that compose
|
|
79
79
|
runner-managed resource scopes with test-body authoring wrappers.
|
|
80
80
|
|
|
81
|
+
Scoped transcript storage is exposed through
|
|
82
|
+
`@overkill-dev/run/transcript-store` for runner and test integrations. Test
|
|
83
|
+
authors should use the higher-level transcript API from `@overkill-dev/test`.
|
|
84
|
+
|
|
81
85
|
The current runner accepts explicit file paths through `RunRequest.paths` and
|
|
82
86
|
profile file discovery through `profiles.<name>.files`. Profile files may use
|
|
83
87
|
top-level `include` and `exclude`, or mutually exclusive named `sets` whose
|
|
@@ -108,7 +112,7 @@ same `RunFilter` tree. Runs use seeded ordering by default. Pass
|
|
|
108
112
|
`RunRequest.order: 'plan'` for programmatic callers that need an already
|
|
109
113
|
materialized order. `RunRequest.shard` uses one-based `{ index, total }`
|
|
110
114
|
values and partitions the filtered work-unit set by stable identity hash.
|
|
111
|
-
|
|
115
|
+
General recording, replay, and `--last-failed` are separate runner milestones. Direct
|
|
112
116
|
prebuilt `TestPlan` execution belongs to `@overkill-dev/engine` through
|
|
113
117
|
`execute(testPlan)`.
|
|
114
118
|
The command methods other than `runTests` and `listTests` are fixed first-party
|
|
@@ -118,12 +122,37 @@ implementations land.
|
|
|
118
122
|
Coverage is explicit per run. `RunRequest.coverage` defaults to `false` in
|
|
119
123
|
first-party callers, and the `@overkill-dev/test` binary maps `--coverage` to
|
|
120
124
|
`true`. Coverage requests are valid only for microtest profiles and are
|
|
121
|
-
recorded in `RunFacts.execution.coverage
|
|
125
|
+
recorded in `RunFacts.execution.coverage`, with the resolved policy in
|
|
126
|
+
`RunFacts.coveragePolicy`. Microtest profiles may configure
|
|
122
127
|
coverage `outputs`, loaded or all-files `sources`, line/function/branch
|
|
123
128
|
`thresholds`, and a config-file-relative `outputDir`. The default outputs are
|
|
124
129
|
V8 and LCOV. An empty `outputs` array keeps raw coverage without rendering
|
|
125
130
|
reports.
|
|
126
131
|
|
|
132
|
+
Type-only TypeScript files, including modules containing documentation comments
|
|
133
|
+
or empty export markers, do not contribute to coverage totals. Executable
|
|
134
|
+
imports and runtime declarations remain covered.
|
|
135
|
+
|
|
136
|
+
Source patterns apply to original files when scripts declare source maps.
|
|
137
|
+
Generated script paths do not need to match those patterns. Broken declared
|
|
138
|
+
maps or references fail coverage; scripts without declarations use JavaScript
|
|
139
|
+
coverage. Known test sources are excluded automatically. Mixed test bundles
|
|
140
|
+
use `coverage.sources.exclude` to exclude their test originals.
|
|
141
|
+
|
|
142
|
+
All-files reporting emits 0% when selected runtime sources were never loaded.
|
|
143
|
+
A scope containing no executable sources fails, including scopes matching only
|
|
144
|
+
types or no files. Native data is retained on reporting failures. Replay and
|
|
145
|
+
automatic coverage cleanup await the replay and record-retention workflows.
|
|
146
|
+
|
|
147
|
+
Coverage runs persist a `RunRecord` at `<runtimeStateDir>/runs/<id>.json`.
|
|
148
|
+
The same ULID names the default `<runtimeStateDir>/runs/<id>/coverage`
|
|
149
|
+
directory. Configured output directories keep raw data under `raw/<id>`.
|
|
150
|
+
Records preserve the request, decimal seed, resolved facts, execution policy,
|
|
151
|
+
project-relative coverage paths, and result artifacts. The started record
|
|
152
|
+
precedes coverage setup and imports; early failures may have `facts: null`.
|
|
153
|
+
Completion includes reporter and cleanup errors. Required persistence failures
|
|
154
|
+
fail the run. Ordinary runs and `orchestrator.resolve()` do not create records.
|
|
155
|
+
|
|
127
156
|
Resolved runtime identities contain selected scenario bindings. They flow into
|
|
128
157
|
`RunFacts`, duration-history keys, reporter labels, and artifact IDs so replay
|
|
129
158
|
metadata and captured evidence identify the selected scenario.
|
|
@@ -170,6 +199,22 @@ Configured integration profiles require a `files` policy. Integration tests
|
|
|
170
199
|
are not governed by `RunRequest.capabilityRestrictions`; that request field is
|
|
171
200
|
part of the microtest runtime model only.
|
|
172
201
|
|
|
202
|
+
Integration profiles can opt into `retries: { maxAttempts: 3 }`. The limit
|
|
203
|
+
includes the initial attempt; omission or `maxAttempts: 1` runs once.
|
|
204
|
+
`retries.artifacts` accepts `first-failure-and-final` (default),
|
|
205
|
+
`last-failure-and-final`, or `all`. Microtest profiles reject this setting.
|
|
206
|
+
Only completed assertion failures, ordinary body errors, and cooperative soft
|
|
207
|
+
timeouts can retry. Cleanup, contract, resource, runtime-policy, and crash
|
|
208
|
+
failures are terminal. Each attempt gets fresh per-case resources and timeout
|
|
209
|
+
state; shared resources and the selected work identity stay unchanged.
|
|
210
|
+
|
|
211
|
+
Results retain every attempt's outcome, verdict, and duration. `retried` is
|
|
212
|
+
`null` for one attempt and otherwise records the actual attempt count and final
|
|
213
|
+
verdict. Counts and duration history record one logical case, with durations
|
|
214
|
+
summed across attempts. Case artifacts carry a zero-based `AttemptId`;
|
|
215
|
+
run-scoped artifacts carry `null`. Captured output remains capped at 1 MiB per
|
|
216
|
+
logical work item across all attempts.
|
|
217
|
+
|
|
173
218
|
Microtest profile execution is modeled with two independent fields:
|
|
174
219
|
`execution.processModel` is `in-process` or `supervised-process`, and
|
|
175
220
|
`execution.scheduling` is `concurrent` or `serial`.
|
|
@@ -2,7 +2,7 @@ import colors from 'yoctocolors';
|
|
|
2
2
|
import { formatCaseId } from "../engine/identity.js";
|
|
3
3
|
import { formatDefinitionLocations } from "../engine/reporting-context.js";
|
|
4
4
|
import { formatFailure } from "./line-failure-rendering.js";
|
|
5
|
-
import
|
|
5
|
+
import "./run-summary-rendering.js";
|
|
6
6
|
const colorPalette = [
|
|
7
7
|
colors.cyan,
|
|
8
8
|
colors.green,
|
|
@@ -10,12 +10,21 @@ const colorPalette = [
|
|
|
10
10
|
colors.yellow,
|
|
11
11
|
colors.blue
|
|
12
12
|
];
|
|
13
|
+
|
|
13
14
|
function executedCount(result) {
|
|
14
15
|
const { summary } = result;
|
|
15
16
|
return summary.passed + summary.failed + summary.skipped + summary.inconclusive +
|
|
16
17
|
summary.resourceExhausted + summary.crashed + summary.runtimePolicy;
|
|
17
18
|
}
|
|
18
|
-
|
|
19
|
+
function formatRetrySummary(result) {
|
|
20
|
+
const retried = result
|
|
21
|
+
.perTest
|
|
22
|
+
.filter(function wasRetried(testResult) {
|
|
23
|
+
return testResult.retried !== null;
|
|
24
|
+
})
|
|
25
|
+
.length;
|
|
26
|
+
return retried === 0 ? '' : `, ${retried} retried`;
|
|
27
|
+
}
|
|
19
28
|
export function formatCountSummary(result) {
|
|
20
29
|
const { summary } = result;
|
|
21
30
|
const outcomes = [
|
|
@@ -30,7 +39,7 @@ export function formatCountSummary(result) {
|
|
|
30
39
|
.join(', ');
|
|
31
40
|
const orphanSummary = result.orphans.length === 0 ? '' : `, ${result.orphans.length} orphaned`;
|
|
32
41
|
return `${summary.discovered} discovered, ${summary.planned} planned, ${executedCount(result)} executed ` +
|
|
33
|
-
`(${outcomes})${orphanSummary}`;
|
|
42
|
+
`(${outcomes})${orphanSummary}${formatRetrySummary(result)}`;
|
|
34
43
|
}
|
|
35
44
|
function hashText(value) {
|
|
36
45
|
let hash = 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"human-reporter-rendering.js","sourceRoot":"","sources":["../../../../source/reporters/human-reporter-rendering.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,YAAY,EAA+B,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,yBAAyB,EAAyB,MAAM,gCAAgC,CAAC;AAElG,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,
|
|
1
|
+
{"version":3,"file":"human-reporter-rendering.js","sourceRoot":"","sources":["../../../../source/reporters/human-reporter-rendering.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,YAAY,EAA+B,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,yBAAyB,EAAyB,MAAM,gCAAgC,CAAC;AAElG,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAA8D,4BAA4B,CAAC;AAE3F,MAAM,YAAY,GAAG;IACjB,MAAM,CAAC,IAAI;IACX,MAAM,CAAC,KAAK;IACZ,MAAM,CAAC,OAAO;IACd,MAAM,CAAC,MAAM;IACb,MAAM,CAAC,IAAI;CACL,CAAC;AAauE;AAWlF,SAAS,aAAa,CAAC,MAAiB;IACpC,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;IAE3B,OAAO,OAAO,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC,YAAY;QAC3E,OAAO,CAAC,iBAAiB,GAAG,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC,aAAa,CAAC;AAC5E,CAAC;AAED,SAAS,kBAAkB,CAAC,MAAiB;IACzC,MAAM,OAAO,GAAG,MAAM;SACjB,OAAO;SACP,MAAM,CAAC,SAAS,UAAU,CAAC,UAAU;QAClC,OAAO,UAAU,CAAC,OAAO,KAAK,IAAI,CAAC;IACvC,C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C,CAAC,CAAC,EAAE,CAAC;IACT,MAAM,KAAK,GAAG,CAAE,GAAG,SAAS,EAAE,GAAG,gBAAgB,EAAE,GAAG,gBAAgB,CAAE,CAAC;IAEzE,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QAC7B,UAAU;QACV,GAAG,KAAK,CAAC,GAAG,CAAC,SAAS,aAAa,CAAC,IAAI;YACpC,OAAO,KAAK,IAAI,EAAE,CAAC;QACvB,CAAC,CAAC;KACL,CAAC;AACN,CAAC"}
|
|
@@ -161,12 +161,17 @@ export function createLineReporter(dependencies) {
|
|
|
161
161
|
}
|
|
162
162
|
};
|
|
163
163
|
function logTestEnd(event) {
|
|
164
|
+
if (event.completion === 'retry') {
|
|
165
|
+
wrappedTerminal.line(infoSymbol, `Retry after attempt ${event.attempt + 1}: ${event.case.title}`);
|
|
166
|
+
return;
|
|
167
|
+
}
|
|
164
168
|
const prefix = contextPrefix(event.workId?.runtimes ?? [], event.case.suite, formatOptions);
|
|
165
169
|
const [symbol, message] = event.outcome === null
|
|
166
170
|
? formatTerminalTestResult(event.case, event.verdict, event.durationMicroseconds, prefix)
|
|
167
171
|
: formatTestResult(event.case, event.outcome, event.durationMicroseconds, prefix);
|
|
168
172
|
const definitionLocations = formatDefinitionLocations(event.definitionLocations, context);
|
|
169
|
-
|
|
173
|
+
const retried = event.attempt === 0 ? '' : ` [${event.attempt + 1} attempts]`;
|
|
174
|
+
wrappedTerminal.line(symbol, `${message}${retried}${failureLocation(event, definitionLocations)}`);
|
|
170
175
|
}
|
|
171
176
|
return {
|
|
172
177
|
dispose: null,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"line-reporter.js","sourceRoot":"","sources":["../../../../source/reporters/line-reporter.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAC;AAC9B,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,cAAc,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e,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBAC/B,CAAC;gBACD,UAAU,CAAC,eAAe,EAAE,WAAW,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;YAC9D,CAAC;SACJ,CAAC;IACN,CAAC,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -1,111 +1,10 @@
|
|
|
1
1
|
import figures from 'figures';
|
|
2
2
|
import colors from 'yoctocolors';
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import "../engine/reporter.js";
|
|
4
|
+
import "./human-reporter-rendering.js";
|
|
5
5
|
const successSymbol = colors.green(figures.tick);
|
|
6
6
|
const errorSymbol = colors.red(figures.cross);
|
|
7
7
|
const skipSymbol = colors.cyan('°');
|
|
8
8
|
const inconclusiveSymbol = colors.cyan('?');
|
|
9
9
|
const crashSymbol = colors.red(figures.warning);
|
|
10
|
-
const microsecondsPerMillisecond = 1000;
|
|
11
|
-
function formatDuration(durationMicroseconds) {
|
|
12
|
-
return `${durationMicroseconds / microsecondsPerMillisecond} ms`;
|
|
13
|
-
}
|
|
14
|
-
function symbolFor(testResult) {
|
|
15
|
-
if (testResult.verdict === 'pass') {
|
|
16
|
-
return successSymbol;
|
|
17
|
-
}
|
|
18
|
-
if (testResult.verdict === 'skip') {
|
|
19
|
-
return skipSymbol;
|
|
20
|
-
}
|
|
21
|
-
if (testResult.verdict === 'inconclusive') {
|
|
22
|
-
return inconclusiveSymbol;
|
|
23
|
-
}
|
|
24
|
-
if (testResult.verdict === 'fail') {
|
|
25
|
-
return errorSymbol;
|
|
26
|
-
}
|
|
27
|
-
return crashSymbol;
|
|
28
|
-
}
|
|
29
|
-
function resultVisible(testResult, options) {
|
|
30
|
-
return options.showPassing || testResult.verdict !== 'pass';
|
|
31
|
-
}
|
|
32
|
-
function caseLine(testResult) {
|
|
33
|
-
const params = testResult.id.params === null ? '' : ` [${testResult.id.params}]`;
|
|
34
|
-
return `${symbolFor(testResult)} ${testResult.id.title}${params} ` +
|
|
35
|
-
`(${formatDuration(testResult.durationMicroseconds)})`;
|
|
36
|
-
}
|
|
37
|
-
function indent(depth) {
|
|
38
|
-
return ' '.repeat(depth);
|
|
39
|
-
}
|
|
40
|
-
function appendFileLine(state, testResult) {
|
|
41
|
-
if (state.fileStarted && testResult.id.file === state.currentFile) {
|
|
42
|
-
return state;
|
|
43
|
-
}
|
|
44
|
-
return {
|
|
45
|
-
currentFile: testResult.id.file,
|
|
46
|
-
currentSuite: [],
|
|
47
|
-
fileStarted: true,
|
|
48
|
-
lines: [...state.lines, testResult.id.file ?? '<unknown>']
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
function appendSuiteLines(state, suite) {
|
|
52
|
-
const { currentSuite: previousSuite } = state;
|
|
53
|
-
const lines = Array.from(state.lines);
|
|
54
|
-
let currentSuite = previousSuite;
|
|
55
|
-
for (let index = 0; index < suite.length; index += 1) {
|
|
56
|
-
const [title] = suite.slice(index, index + 1);
|
|
57
|
-
const previous = currentSuite[index];
|
|
58
|
-
if (title !== previous) {
|
|
59
|
-
currentSuite = suite.slice(0, index + 1);
|
|
60
|
-
lines.push(`${indent(index + 1)}${title}`);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
return { ...state, currentSuite, lines };
|
|
64
|
-
}
|
|
65
|
-
function appendTestLine(state, testResult) {
|
|
66
|
-
const lines = [
|
|
67
|
-
...state.lines,
|
|
68
|
-
`${indent(testResult.id.suite.length + 1)}${caseLine(testResult)}`
|
|
69
|
-
];
|
|
70
|
-
return { ...state, lines };
|
|
71
|
-
}
|
|
72
|
-
function appendVisibleTestResult(state, testResult) {
|
|
73
|
-
return appendTestLine(appendSuiteLines(appendFileLine(state, testResult), testResult.id.suite), testResult);
|
|
74
|
-
}
|
|
75
|
-
function treeLines(result, options) {
|
|
76
|
-
const initialState = { currentFile: null, currentSuite: [], fileStarted: false, lines: [] };
|
|
77
|
-
const state = result
|
|
78
|
-
.perTest
|
|
79
|
-
.filter(function includeResult(testResult) {
|
|
80
|
-
return resultVisible(testResult, options);
|
|
81
|
-
})
|
|
82
|
-
.reduce(appendVisibleTestResult, initialState);
|
|
83
|
-
return state.lines;
|
|
84
|
-
}
|
|
85
|
-
function treeSummaryLine(result) {
|
|
86
|
-
const symbol = result.status === 'failed' ? errorSymbol : successSymbol;
|
|
87
|
-
return `${symbol} ${formatCountSummary(result)} in ${formatDuration(result.timings.summary.totalWallTimeMicroseconds)} (${formatTimingSummary(result)})`;
|
|
88
|
-
}
|
|
89
|
-
export function treeResultLines(result, context, options) {
|
|
90
|
-
return [
|
|
91
|
-
...treeLines(result, options),
|
|
92
|
-
...problemLines(result, context, { verbose: options.verbose }),
|
|
93
|
-
treeSummaryLine(result)
|
|
94
|
-
];
|
|
95
|
-
}
|
|
96
|
-
export function createTreeReporter(dependencies, options) {
|
|
97
|
-
return defineReporter(function createTreeRuntimeReporter(context) {
|
|
98
|
-
return {
|
|
99
|
-
dispose: null,
|
|
100
|
-
kind: 'final-result',
|
|
101
|
-
name: 'tree',
|
|
102
|
-
sinks: [{ kind: 'stdout-raw' }],
|
|
103
|
-
onResult(result) {
|
|
104
|
-
for (const line of treeResultLines(result, context, options)) {
|
|
105
|
-
dependencies.stdoutConsole.log(line);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
};
|
|
109
|
-
});
|
|
110
|
-
}
|
|
111
10
|
//# sourceMappingURL=tree-reporter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tree-reporter.js","sourceRoot":"","sources":["../../../../source/reporters/tree-reporter.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAC;AAC9B,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,
|
|
1
|
+
{"version":3,"file":"tree-reporter.js","sourceRoot":"","sources":["../../../../source/reporters/tree-reporter.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAC;AAC9B,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAA+E,uBAAuB,CAAC;AAGvG,OAIO,+BAA+B,CAAC;AAWvC,MAAM,aAAa,GAAG,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AACjD,MAAM,WAAW,GAAG,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAC9C,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACpC,MAAM,kBAAkB,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC5C,MAAM,WAAW,GAAG,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { ResourceScenarioSlots } from './resource-scenario.ts';
|
|
2
2
|
export type Awaitable<Value> = Promise<Value> | Value;
|
|
3
|
-
export type ValueOf<Values> = Values[keyof Values];
|
|
4
3
|
type ExclusiveResource = {
|
|
5
4
|
readonly kind: 'exclusive-resource';
|
|
6
5
|
readonly name: string;
|
|
@@ -48,7 +47,6 @@ export type AnyResourceDefinition = {
|
|
|
48
47
|
readonly serializeHandle?: (handle: never, context: never) => ResourceProjectionPayload;
|
|
49
48
|
};
|
|
50
49
|
export type RuntimeResourceMap = Readonly<Record<string, AnyResourceDefinition>>;
|
|
51
|
-
export type EmptyResourceDependencies = Readonly<Record<PropertyKey, never>>;
|
|
52
50
|
export type ResourceDependencies = Readonly<Record<string, AnyResourceDefinition>>;
|
|
53
51
|
type ResourceProjectionObject = {
|
|
54
52
|
readonly [key: string]: ResourceProjectionPayload;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource-definition-shape.d.ts","sourceRoot":"","sources":["../../../../source/resources/resource-definition-shape.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAEpE,MAAM,MAAM,SAAS,CAAC,KAAK,IAAI,OAAO,CAAC,KA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