@overkill-dev/run 0.0.83 → 0.0.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/attachments/failure-artifact-stream.js +2 -2
- package/attachments/failure-artifact-stream.js.map +1 -1
- package/attachments/run-json-artifact.js +1 -1
- package/attachments/run-json-artifact.js.map +1 -1
- package/baselines/calibration-store.js +2 -2
- package/baselines/calibration-store.js.map +1 -1
- package/baselines/performance-adapter.d.ts +2 -2
- package/baselines/performance-adapter.d.ts.map +1 -1
- package/baselines/performance-baseline.d.ts +2 -2
- package/baselines/performance-baseline.d.ts.map +1 -1
- package/baselines/performance-baseline.js +1 -1
- package/baselines/performance-baseline.js.map +1 -1
- package/baselines/performance-check.js +2 -2
- package/baselines/performance-check.js.map +1 -1
- package/baselines/performance-evaluation.js +1 -1
- package/baselines/performance-evaluation.js.map +1 -1
- package/baselines/performance-observation.js +1 -1
- package/baselines/performance-observation.js.map +1 -1
- package/baselines/performance-plan.js +3 -3
- package/baselines/performance-plan.js.map +1 -1
- package/baselines/performance-store.js +2 -2
- package/baselines/performance-store.js.map +1 -1
- package/baselines/performance-workflow.js +2 -2
- package/baselines/performance-workflow.js.map +1 -1
- package/bench/benchmark-statistics-schema.d.ts +1 -1
- package/bench/benchmark-statistics-schema.d.ts.map +1 -1
- package/bench/calibration-evidence.js +1 -1
- package/bench/calibration-evidence.js.map +1 -1
- package/bench/calibration-report.d.ts +1 -1
- package/bench/calibration-report.d.ts.map +1 -1
- package/bench/timeline-schema.js +1 -1
- package/bench/timeline-schema.js.map +1 -1
- package/config/config.js +1 -1
- package/config/config.js.map +1 -1
- package/config/execution.d.ts +1 -1
- package/config/execution.d.ts.map +1 -1
- package/config/property-policy.js +1 -1
- package/config/property-policy.js.map +1 -1
- package/config/schema.d.ts +4 -4
- package/config/schema.d.ts.map +1 -1
- package/config/schema.js +2 -2
- package/config/schema.js.map +1 -1
- package/config/types.d.ts +6 -6
- package/config/types.d.ts.map +1 -1
- package/package.json +4 -28
- package/packages/run/run.entry-point.d.ts +3 -3
- package/packages/run/run.entry-point.d.ts.map +1 -1
- package/packages/run/run.entry-point.js +1 -1
- package/packages/run/run.entry-point.js.map +1 -1
- package/reporters/human-reporter-rendering.js +2 -2
- package/reporters/human-reporter-rendering.js.map +1 -1
- package/reporters/line-failure-rendering.js +1 -1
- package/reporters/line-failure-rendering.js.map +1 -1
- package/reporters/line-reporter.js +2 -2
- package/reporters/line-reporter.js.map +1 -1
- package/reporters/progress-reporter.js +1 -1
- package/reporters/progress-reporter.js.map +1 -1
- package/reporters/tree-reporter.js +1 -1
- package/reporters/tree-reporter.js.map +1 -1
- package/resources/resource-definition-shape.d.ts +1 -1
- package/resources/resource-definition-shape.d.ts.map +1 -1
- package/resources/resource-workload-binding.js +2 -2
- package/resources/resource-workload-binding.js.map +1 -1
- package/run/attachment-eligibility.js +1 -1
- package/run/attachment-eligibility.js.map +1 -1
- package/run/attachment-execution.js +2 -2
- package/run/attachment-execution.js.map +1 -1
- package/run/attachment-failure.js +1 -1
- package/run/attachment-failure.js.map +1 -1
- package/run/attachment-protocol.js +1 -1
- package/run/attachment-protocol.js.map +1 -1
- package/run/attachment-reporter.js +2 -2
- package/run/attachment-reporter.js.map +1 -1
- package/run/attachment-results.js +3 -3
- package/run/attachment-results.js.map +1 -1
- package/run/attachment-retention.js +1 -1
- package/run/attachment-retention.js.map +1 -1
- package/run/attachment-store.js +1 -1
- package/run/attachment-store.js.map +1 -1
- package/run/benchmark-baseline-commands.js +1 -1
- package/run/benchmark-baseline-commands.js.map +1 -1
- package/run/benchmark-baseline-finalization.js +1 -1
- package/run/benchmark-baseline-finalization.js.map +1 -1
- package/run/benchmark-garbage-collection.js +1 -1
- package/run/benchmark-garbage-collection.js.map +1 -1
- package/run/benchmark-policy-schema.js +1 -1
- package/run/benchmark-policy-schema.js.map +1 -1
- package/run/benchmark-report-metadata.js +1 -1
- package/run/benchmark-report-metadata.js.map +1 -1
- package/run/benchmark-result-schema.js +1 -1
- package/run/benchmark-result-schema.js.map +1 -1
- package/run/calibration-capture-session.js +2 -2
- package/run/calibration-capture-session.js.map +1 -1
- package/run/calibration-inventory.js +2 -2
- package/run/calibration-inventory.js.map +1 -1
- package/run/calibration-maintenance.js +1 -1
- package/run/calibration-maintenance.js.map +1 -1
- package/run/capability-policy-snapshots.d.ts +1 -1
- package/run/capability-policy-snapshots.d.ts.map +1 -1
- package/run/capability-policy.js +3 -3
- package/run/capability-policy.js.map +1 -1
- package/run/collected-run-execution.js +1 -1
- package/run/collected-run-execution.js.map +1 -1
- package/run/collected-run-plan-schema.js +2 -2
- package/run/collected-run-plan-schema.js.map +1 -1
- package/run/collected-run-plan.js +4 -4
- package/run/collected-run-plan.js.map +1 -1
- package/run/command-line-command.d.ts +1 -1
- package/run/command-line-command.d.ts.map +1 -1
- package/run/command-line-command.js +1 -1
- package/run/command-line-command.js.map +1 -1
- package/run/command-line-config.d.ts +1 -1
- package/run/command-line-config.d.ts.map +1 -1
- package/run/default-direct-reporter.js +1 -1
- package/run/default-direct-reporter.js.map +1 -1
- package/run/default-run-engine.js +7 -7
- package/run/default-run-engine.js.map +1 -1
- package/run/direct-entrypoint-collection.js +3 -3
- package/run/direct-entrypoint-collection.js.map +1 -1
- package/run/execution-plan-resolution.js +1 -1
- package/run/execution-plan-resolution.js.map +1 -1
- package/run/execution-session-child.js +1 -1
- package/run/execution-session-child.js.map +1 -1
- package/run/execution-session-collected.js +1 -1
- package/run/execution-session-collected.js.map +1 -1
- package/run/execution-session-host.js +1 -1
- package/run/execution-session-host.js.map +1 -1
- package/run/execution-session-lifecycle.js +2 -2
- package/run/execution-session-lifecycle.js.map +1 -1
- package/run/execution-session-observation.js +1 -1
- package/run/execution-session-observation.js.map +1 -1
- package/run/execution-session-schema.js +1 -1
- package/run/execution-session-schema.js.map +1 -1
- package/run/execution-session-types.d.ts +1 -1
- package/run/execution-session-types.d.ts.map +1 -1
- package/run/execution-session.js +1 -1
- package/run/execution-session.js.map +1 -1
- package/run/failure-artifact-retention.js +2 -2
- package/run/failure-artifact-retention.js.map +1 -1
- package/run/file-module-boundary.d.ts.map +1 -1
- package/run/file-module-boundary.js +36 -3
- package/run/file-module-boundary.js.map +1 -1
- package/run/frozen-run-policy.js +1 -1
- package/run/frozen-run-policy.js.map +1 -1
- package/run/initialized-run-collection.js +1 -1
- package/run/initialized-run-collection.js.map +1 -1
- package/run/node-command-line-runner.d.ts +1 -1
- package/run/node-command-line-runner.d.ts.map +1 -1
- package/run/node-process-policy-observation.js +1 -1
- package/run/node-process-policy-observation.js.map +1 -1
- package/run/node-run-execution.js +1 -1
- package/run/node-run-execution.js.map +1 -1
- package/run/node-run-orchestrator-dependencies.js +1 -1
- package/run/node-run-orchestrator-dependencies.js.map +1 -1
- package/run/permission-denial-runtime-policy.js +3 -3
- package/run/permission-denial-runtime-policy.js.map +1 -1
- package/run/placement-trace.d.ts +2 -2
- package/run/placement-trace.d.ts.map +1 -1
- package/run/property-collection.js +1 -1
- package/run/property-collection.js.map +1 -1
- package/run/recorded-coverage-session.js +1 -1
- package/run/recorded-coverage-session.js.map +1 -1
- package/run/reporter-event-schema.js +1 -1
- package/run/reporter-event-schema.js.map +1 -1
- package/run/resource-lifecycle-boundaries.js +1 -1
- package/run/resource-lifecycle-boundaries.js.map +1 -1
- package/run/resource-lifecycle-cache-identity.js +2 -2
- package/run/resource-lifecycle-cache-identity.js.map +1 -1
- package/run/resource-lifecycle-composition.d.ts +1 -1
- package/run/resource-lifecycle-composition.d.ts.map +1 -1
- package/run/resource-lifecycle-error.d.ts +1 -1
- package/run/resource-lifecycle-error.d.ts.map +1 -1
- package/run/resource-lifecycle-error.js +1 -1
- package/run/resource-lifecycle-error.js.map +1 -1
- package/run/resource-lifecycle-session-acquirer.js +1 -1
- package/run/resource-lifecycle-session-acquirer.js.map +1 -1
- package/run/resource-lifecycle-state.d.ts +3 -3
- package/run/resource-lifecycle-state.d.ts.map +1 -1
- package/run/resource-lifecycle-state.js +2 -2
- package/run/resource-lifecycle-state.js.map +1 -1
- package/run/resource-ownership-plan.d.ts +2 -2
- package/run/resource-ownership-plan.d.ts.map +1 -1
- package/run/retry-artifact-retention.js +1 -1
- package/run/retry-artifact-retention.js.map +1 -1
- package/run/run-artifact-schema.d.ts +1 -1
- package/run/run-artifact-schema.d.ts.map +1 -1
- package/run/run-case-facts.js +1 -1
- package/run/run-case-facts.js.map +1 -1
- package/run/run-collection-error-result.js +2 -2
- package/run/run-collection-error-result.js.map +1 -1
- package/run/run-discovery-types.d.ts +1 -1
- package/run/run-discovery-types.d.ts.map +1 -1
- package/run/run-engine-primitives.d.ts +8 -8
- package/run/run-engine-primitives.d.ts.map +1 -1
- package/run/run-engine-selection.d.ts +1 -1
- package/run/run-engine-selection.d.ts.map +1 -1
- package/run/run-errors.d.ts +2 -2
- package/run/run-errors.d.ts.map +1 -1
- package/run/run-errors.js +1 -1
- package/run/run-errors.js.map +1 -1
- package/run/run-if-main-options.d.ts +3 -3
- package/run/run-if-main-options.d.ts.map +1 -1
- package/run/run-if-main.d.ts +1 -1
- package/run/run-if-main.d.ts.map +1 -1
- package/run/run-list-renderer.js +2 -2
- package/run/run-list-renderer.js.map +1 -1
- package/run/run-local-sharding.js +1 -1
- package/run/run-local-sharding.js.map +1 -1
- package/run/run-local-test-plan.js +21 -17
- package/run/run-local-test-plan.js.map +1 -1
- package/run/run-record-outcomes.d.ts +5 -5
- package/run/run-record-outcomes.d.ts.map +1 -1
- package/run/run-record-result.d.ts +1 -1
- package/run/run-record-result.d.ts.map +1 -1
- package/run/run-record-result.js +2 -2
- package/run/run-record-result.js.map +1 -1
- package/run/run-record-storage.js +1 -1
- package/run/run-record-storage.js.map +1 -1
- package/run/run-record-types.d.ts +3 -3
- package/run/run-record-types.d.ts.map +1 -1
- package/run/run-request-types.d.ts +3 -3
- package/run/run-request-types.d.ts.map +1 -1
- package/run/run-result-reporting.js +1 -1
- package/run/run-result-reporting.js.map +1 -1
- package/run/run-result-schema.d.ts +1 -1
- package/run/run-result-schema.d.ts.map +1 -1
- package/run/run-runtime-schema.js +1 -1
- package/run/run-runtime-schema.js.map +1 -1
- package/run/run-selection-filters.d.ts +2 -2
- package/run/run-selection-filters.d.ts.map +1 -1
- package/run/run-selection-filters.js +1 -1
- package/run/run-selection-filters.js.map +1 -1
- package/run/run-selection.js +2 -2
- package/run/run-selection.js.map +1 -1
- package/run/run-sharding.js +1 -1
- package/run/run-sharding.js.map +1 -1
- package/run/run-test-modules.d.ts +3 -3
- package/run/run-test-modules.d.ts.map +1 -1
- package/run/run-timing-collection.d.ts +2 -2
- package/run/run-timing-collection.d.ts.map +1 -1
- package/run/run-timing-collection.js +1 -1
- package/run/run-timing-collection.js.map +1 -1
- package/run/run-types.d.ts +1 -1
- package/run/run-types.d.ts.map +1 -1
- package/run/run-validation.js +1 -1
- package/run/run-validation.js.map +1 -1
- package/run/simulation-witness.js +1 -1
- package/run/simulation-witness.js.map +1 -1
- package/run/supervised-child-execution.js +3 -3
- package/run/supervised-child-execution.js.map +1 -1
- package/run/supervised-child-test-plan.js +1 -1
- package/run/supervised-child-test-plan.js.map +1 -1
- package/run/supervised-child.js +1 -1
- package/run/supervised-child.js.map +1 -1
- package/run/supervised-output-capture.js +1 -1
- package/run/supervised-output-capture.js.map +1 -1
- package/run/supervised-protocol.js +1 -1
- package/run/supervised-protocol.js.map +1 -1
- package/run/supervised-run-process-policy.js +2 -2
- package/run/supervised-run-process-policy.js.map +1 -1
- package/run/supervised-run-runtime.js +1 -1
- package/run/supervised-run-runtime.js.map +1 -1
- package/run/supervised-run-state.js +3 -3
- package/run/supervised-run-state.js.map +1 -1
- package/run/work-unit-identity.js +1 -1
- package/run/work-unit-identity.js.map +1 -1
- package/run/work-unit-planning.js +1 -1
- package/run/work-unit-planning.js.map +1 -1
- package/run/work-unit-resource-constraints.js +2 -2
- package/run/work-unit-resource-constraints.js.map +1 -1
- package/run/worker-execution-engine.js +2 -2
- package/run/worker-execution-engine.js.map +1 -1
- package/run/worker-pool-hedge-dispatch.js +1 -1
- package/run/worker-pool-hedge-dispatch.js.map +1 -1
- package/run/worker-pool-hedged-arbitration.js +1 -1
- package/run/worker-pool-hedged-arbitration.js.map +1 -1
- package/run/worker-pool-host.entry-point.js +1 -1
- package/run/worker-pool-host.entry-point.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-pending-splitting.js +1 -1
- package/run/worker-pool-pending-splitting.js.map +1 -1
- package/run/worker-pool-placement-planning.js +1 -1
- package/run/worker-pool-placement-planning.js.map +1 -1
- package/run/worker-pool-resource-lifecycle-execution.js +1 -1
- package/run/worker-pool-resource-lifecycle-execution.js.map +1 -1
- package/run/worker-pool-results.js +1 -1
- package/run/worker-pool-results.js.map +1 -1
- package/run/worker-pool-task-events.js +2 -2
- package/run/worker-pool-task-events.js.map +1 -1
- package/run/worker-pool-warm-lane-affinity.js +1 -1
- package/run/worker-pool-warm-lane-affinity.js.map +1 -1
- package/run/worker-pool-work-load.js +1 -1
- package/run/worker-pool-work-load.js.map +1 -1
- package/run/worker-pool-worker-plan.js +2 -2
- package/run/worker-pool-worker-plan.js.map +1 -1
- package/run/worker-pool-worker-resources.js +1 -1
- package/run/worker-pool-worker-resources.js.map +1 -1
- package/run/worker-pool-worker.js +1 -1
- package/run/worker-pool-worker.js.map +1 -1
- package/run/workload-input-validation.js +1 -1
- package/run/workload-input-validation.js.map +1 -1
- package/software-bill-of-materials.cyclonedx.json +21 -38
- package/transcript/http-transcript-artifact.js +1 -1
- package/transcript/http-transcript-artifact.js.map +1 -1
- package/assertion-protocol/assertion-evaluation.js +0 -6
- package/assertion-protocol/assertion-evaluation.js.map +0 -1
- package/assertion-protocol/assertion-node-shape.d.ts +0 -81
- package/assertion-protocol/assertion-node-shape.d.ts.map +0 -1
- package/assertion-protocol/assertion-node.d.ts +0 -82
- package/assertion-protocol/assertion-node.d.ts.map +0 -1
- package/assertion-protocol/assertion-node.js +0 -33
- package/assertion-protocol/assertion-node.js.map +0 -1
- package/assertion-protocol/assertion-reference.d.ts +0 -50
- package/assertion-protocol/assertion-reference.d.ts.map +0 -1
- package/assertion-protocol/assertion-reference.js +0 -22
- package/assertion-protocol/assertion-reference.js.map +0 -1
- package/assertion-protocol/assertions/boolean.d.ts +0 -4
- package/assertion-protocol/assertions/boolean.d.ts.map +0 -1
- package/assertion-protocol/assertions/boolean.js +0 -12
- package/assertion-protocol/assertions/boolean.js.map +0 -1
- package/assertion-protocol/assertions/collection.d.ts +0 -13
- package/assertion-protocol/assertions/collection.d.ts.map +0 -1
- package/assertion-protocol/assertions/collection.js +0 -21
- package/assertion-protocol/assertions/collection.js.map +0 -1
- package/assertion-protocol/assertions/dispatch.js +0 -47
- package/assertion-protocol/assertions/dispatch.js.map +0 -1
- package/assertion-protocol/assertions/equality.d.ts +0 -6
- package/assertion-protocol/assertions/equality.d.ts.map +0 -1
- package/assertion-protocol/assertions/equality.js +0 -24
- package/assertion-protocol/assertions/equality.js.map +0 -1
- package/assertion-protocol/assertions/fail.d.ts +0 -8
- package/assertion-protocol/assertions/fail.d.ts.map +0 -1
- package/assertion-protocol/assertions/fail.js +0 -8
- package/assertion-protocol/assertions/fail.js.map +0 -1
- package/assertion-protocol/assertions/numeric.d.ts +0 -16
- package/assertion-protocol/assertions/numeric.d.ts.map +0 -1
- package/assertion-protocol/assertions/numeric.js +0 -43
- package/assertion-protocol/assertions/numeric.js.map +0 -1
- package/assertion-protocol/assertions/partial.d.ts +0 -5
- package/assertion-protocol/assertions/partial.d.ts.map +0 -1
- package/assertion-protocol/assertions/partial.js +0 -17
- package/assertion-protocol/assertions/partial.js.map +0 -1
- package/assertion-protocol/assertions/presence.d.ts +0 -6
- package/assertion-protocol/assertions/presence.d.ts.map +0 -1
- package/assertion-protocol/assertions/presence.js +0 -20
- package/assertion-protocol/assertions/presence.js.map +0 -1
- package/assertion-protocol/assertions/string.d.ts +0 -15
- package/assertion-protocol/assertions/string.d.ts.map +0 -1
- package/assertion-protocol/assertions/string.js +0 -33
- package/assertion-protocol/assertions/string.js.map +0 -1
- package/assertion-protocol/assertions/type-shape.d.ts +0 -23
- package/assertion-protocol/assertions/type-shape.d.ts.map +0 -1
- package/assertion-protocol/assertions/type-shape.js +0 -43
- package/assertion-protocol/assertions/type-shape.js.map +0 -1
- package/assertion-protocol/collection-count.js +0 -42
- package/assertion-protocol/collection-count.js.map +0 -1
- package/assertion-protocol/evaluation.js +0 -175
- package/assertion-protocol/evaluation.js.map +0 -1
- package/assertion-protocol/partial-matching.js +0 -13
- package/assertion-protocol/partial-matching.js.map +0 -1
- package/assertion-protocol/source-location-forwarding.js +0 -32
- package/assertion-protocol/source-location-forwarding.js.map +0 -1
- package/assertion-protocol/source-location.js +0 -119
- package/assertion-protocol/source-location.js.map +0 -1
- package/assertion-protocol/thrown-error-record.d.ts +0 -7
- package/assertion-protocol/thrown-error-record.d.ts.map +0 -1
- package/assertion-protocol/thrown-error-record.js +0 -17
- package/assertion-protocol/thrown-error-record.js.map +0 -1
- package/assertion-protocol/thrown-matcher.d.ts +0 -34
- package/assertion-protocol/thrown-matcher.d.ts.map +0 -1
- package/assertion-protocol/thrown-matcher.js +0 -201
- package/assertion-protocol/thrown-matcher.js.map +0 -1
- package/attachments/json-snapshot.js +0 -125
- package/attachments/json-snapshot.js.map +0 -1
- package/canonical-identity.js +0 -54
- package/canonical-identity.js.map +0 -1
- package/compare/comparison-result.js +0 -47
- package/compare/comparison-result.js.map +0 -1
- package/compare/comparison-state.js +0 -20
- package/compare/comparison-state.js.map +0 -1
- package/compare/comparison.js +0 -78
- package/compare/comparison.js.map +0 -1
- package/compare/diff-path.js +0 -37
- package/compare/diff-path.js.map +0 -1
- package/compare/raw-comparison.js +0 -285
- package/compare/raw-comparison.js.map +0 -1
- package/compare/serialized-value-classification.js +0 -99
- package/compare/serialized-value-classification.js.map +0 -1
- package/compare/serialized-value-shape.d.ts +0 -134
- package/compare/serialized-value-shape.d.ts.map +0 -1
- package/compare/serialized-value-shape.js +0 -12
- package/compare/serialized-value-shape.js.map +0 -1
- package/compare/serialized-value-state.js +0 -55
- package/compare/serialized-value-state.js.map +0 -1
- package/compare/serialized-value.d.ts +0 -4
- package/compare/serialized-value.d.ts.map +0 -1
- package/compare/serialized-value.js +0 -389
- package/compare/serialized-value.js.map +0 -1
- package/compare/structured-diff.js +0 -382
- package/compare/structured-diff.js.map +0 -1
- package/compare/value-classification.js +0 -112
- package/compare/value-classification.js.map +0 -1
- package/diff/binary-diff.js +0 -49
- package/diff/binary-diff.js.map +0 -1
- package/diff/diff-shape.d.ts +0 -122
- package/diff/diff-shape.d.ts.map +0 -1
- package/diff/string-diff.js +0 -22
- package/diff/string-diff.js.map +0 -1
- package/engine/assertion-facade.d.ts +0 -47
- package/engine/assertion-facade.d.ts.map +0 -1
- package/engine/assertion-facade.js +0 -362
- package/engine/assertion-facade.js.map +0 -1
- package/engine/assertion-recorder.d.ts +0 -12
- package/engine/assertion-recorder.d.ts.map +0 -1
- package/engine/assertion-recorder.js +0 -251
- package/engine/assertion-recorder.js.map +0 -1
- package/engine/async-control.d.ts +0 -7
- package/engine/async-control.d.ts.map +0 -1
- package/engine/async-control.js +0 -162
- package/engine/async-control.js.map +0 -1
- package/engine/async-leak-diagnostics.js +0 -188
- package/engine/async-leak-diagnostics.js.map +0 -1
- package/engine/benchmark-environment.d.ts +0 -8
- package/engine/benchmark-environment.d.ts.map +0 -1
- package/engine/benchmark-garbage-collection.d.ts +0 -8
- package/engine/benchmark-garbage-collection.d.ts.map +0 -1
- package/engine/benchmark-garbage-collection.js +0 -4
- package/engine/benchmark-garbage-collection.js.map +0 -1
- package/engine/benchmark-limits.js +0 -3
- package/engine/benchmark-limits.js.map +0 -1
- package/engine/benchmark-node.d.ts +0 -37
- package/engine/benchmark-node.d.ts.map +0 -1
- package/engine/benchmark-node.js +0 -9
- package/engine/benchmark-node.js.map +0 -1
- package/engine/benchmark-result.d.ts +0 -247
- package/engine/benchmark-result.d.ts.map +0 -1
- package/engine/benchmark-result.js +0 -2
- package/engine/benchmark-result.js.map +0 -1
- package/engine/benchmark-timeline.d.ts +0 -12
- package/engine/benchmark-timeline.d.ts.map +0 -1
- package/engine/case-attempt-execution.js +0 -234
- package/engine/case-attempt-execution.js.map +0 -1
- package/engine/case-body-execution.js +0 -232
- package/engine/case-body-execution.js.map +0 -1
- package/engine/case-execution-lifecycle.js +0 -22
- package/engine/case-execution-lifecycle.js.map +0 -1
- package/engine/case-execution.d.ts +0 -14
- package/engine/case-execution.d.ts.map +0 -1
- package/engine/case-execution.js +0 -225
- package/engine/case-execution.js.map +0 -1
- package/engine/case-interruption.js +0 -26
- package/engine/case-interruption.js.map +0 -1
- package/engine/coverage-artifact.d.ts +0 -36
- package/engine/coverage-artifact.d.ts.map +0 -1
- package/engine/custom-assertion-recording.js +0 -175
- package/engine/custom-assertion-recording.js.map +0 -1
- package/engine/engine.d.ts +0 -21
- package/engine/engine.d.ts.map +0 -1
- package/engine/engine.js +0 -35
- package/engine/engine.js.map +0 -1
- package/engine/execution-async-leak-policy.d.ts +0 -3
- package/engine/execution-async-leak-policy.d.ts.map +0 -1
- package/engine/execution-async-leak-policy.js +0 -95
- package/engine/execution-async-leak-policy.js.map +0 -1
- package/engine/execution-error-ownership.d.ts +0 -6
- package/engine/execution-error-ownership.d.ts.map +0 -1
- package/engine/execution-error-ownership.js +0 -83
- package/engine/execution-error-ownership.js.map +0 -1
- package/engine/execution-global-error-observer.d.ts +0 -15
- package/engine/execution-global-error-observer.d.ts.map +0 -1
- package/engine/execution-global-error-observer.js +0 -276
- package/engine/execution-global-error-observer.js.map +0 -1
- package/engine/execution-observation.js +0 -212
- package/engine/execution-observation.js.map +0 -1
- package/engine/execution-options.d.ts +0 -39
- package/engine/execution-options.d.ts.map +0 -1
- package/engine/execution-options.js +0 -42
- package/engine/execution-options.js.map +0 -1
- package/engine/execution-preparation.d.ts +0 -13
- package/engine/execution-preparation.d.ts.map +0 -1
- package/engine/execution-preparation.js +0 -34
- package/engine/execution-preparation.js.map +0 -1
- package/engine/execution-process-budget-breach.d.ts +0 -8
- package/engine/execution-process-budget-breach.d.ts.map +0 -1
- package/engine/execution-process-budget-breach.js +0 -30
- package/engine/execution-process-budget-breach.js.map +0 -1
- package/engine/execution-process-budget-tracking.js +0 -33
- package/engine/execution-process-budget-tracking.js.map +0 -1
- package/engine/execution-process-tracked-cases.js +0 -40
- package/engine/execution-process-tracked-cases.js.map +0 -1
- package/engine/execution-result.js +0 -120
- package/engine/execution-result.js.map +0 -1
- package/engine/execution-supervision-state.js +0 -54
- package/engine/execution-supervision-state.js.map +0 -1
- package/engine/execution-supervision.d.ts +0 -16
- package/engine/execution-supervision.d.ts.map +0 -1
- package/engine/execution-supervision.js +0 -345
- package/engine/execution-supervision.js.map +0 -1
- package/engine/execution-test-plan-cases.js +0 -216
- package/engine/execution-test-plan-cases.js.map +0 -1
- package/engine/execution-test-plan-process-usage.js +0 -14
- package/engine/execution-test-plan-process-usage.js.map +0 -1
- package/engine/execution.d.ts +0 -8
- package/engine/execution.d.ts.map +0 -1
- package/engine/execution.js +0 -71
- package/engine/execution.js.map +0 -1
- package/engine/identity.d.ts +0 -31
- package/engine/identity.d.ts.map +0 -1
- package/engine/identity.js +0 -68
- package/engine/identity.js.map +0 -1
- package/engine/native-resource-observation.js +0 -70
- package/engine/native-resource-observation.js.map +0 -1
- package/engine/node-assertion-error.js +0 -47
- package/engine/node-assertion-error.js.map +0 -1
- package/engine/process-usage-growth.js +0 -12
- package/engine/process-usage-growth.js.map +0 -1
- package/engine/process-usage.d.ts +0 -22
- package/engine/process-usage.d.ts.map +0 -1
- package/engine/property-node.d.ts +0 -30
- package/engine/property-node.d.ts.map +0 -1
- package/engine/property-node.js +0 -9
- package/engine/property-node.js.map +0 -1
- package/engine/recorded-assertion-failure.js +0 -30
- package/engine/recorded-assertion-failure.js.map +0 -1
- package/engine/reporter-dispatcher.d.ts +0 -17
- package/engine/reporter-dispatcher.d.ts.map +0 -1
- package/engine/reporter-dispatcher.js +0 -316
- package/engine/reporter-dispatcher.js.map +0 -1
- package/engine/reporter-disposal.js +0 -13
- package/engine/reporter-disposal.js.map +0 -1
- package/engine/reporter-error-delivery-tracking.js +0 -33
- package/engine/reporter-error-delivery-tracking.js.map +0 -1
- package/engine/reporter-event-queue.js +0 -55
- package/engine/reporter-event-queue.js.map +0 -1
- package/engine/reporter-managed-output.js +0 -105
- package/engine/reporter-managed-output.js.map +0 -1
- package/engine/reporter-output-scope.js +0 -65
- package/engine/reporter-output-scope.js.map +0 -1
- package/engine/reporter-output.d.ts +0 -28
- package/engine/reporter-output.d.ts.map +0 -1
- package/engine/reporter-output.js +0 -17
- package/engine/reporter-output.js.map +0 -1
- package/engine/reporter.d.ts +0 -197
- package/engine/reporter.d.ts.map +0 -1
- package/engine/reporter.js +0 -111
- package/engine/reporter.js.map +0 -1
- package/engine/reporting-context.d.ts +0 -6
- package/engine/reporting-context.d.ts.map +0 -1
- package/engine/reporting-context.js +0 -74
- package/engine/reporting-context.js.map +0 -1
- package/engine/require-assertion-facade.d.ts +0 -18
- package/engine/require-assertion-facade.d.ts.map +0 -1
- package/engine/require-assertion-facade.js +0 -128
- package/engine/require-assertion-facade.js.map +0 -1
- package/engine/resource-owner-observation.js +0 -143
- package/engine/resource-owner-observation.js.map +0 -1
- package/engine/retry-policy.d.ts +0 -4
- package/engine/retry-policy.d.ts.map +0 -1
- package/engine/retry-policy.js +0 -22
- package/engine/retry-policy.js.map +0 -1
- package/engine/run-artifact.d.ts +0 -45
- package/engine/run-artifact.d.ts.map +0 -1
- package/engine/run-result.d.ts +0 -215
- package/engine/run-result.d.ts.map +0 -1
- package/engine/run-result.js +0 -202
- package/engine/run-result.js.map +0 -1
- package/engine/run-timings.d.ts +0 -57
- package/engine/run-timings.d.ts.map +0 -1
- package/engine/run-timings.js +0 -120
- package/engine/run-timings.js.map +0 -1
- package/engine/runner-error-reporting.js +0 -29
- package/engine/runner-error-reporting.js.map +0 -1
- package/engine/runtime-attachment.d.ts +0 -82
- package/engine/runtime-attachment.d.ts.map +0 -1
- package/engine/test-attempt-history.js +0 -25
- package/engine/test-attempt-history.js.map +0 -1
- package/engine/test-body-resource-attachment.d.ts +0 -53
- package/engine/test-body-resource-attachment.d.ts.map +0 -1
- package/engine/test-body-resource-attachment.js +0 -30
- package/engine/test-body-resource-attachment.js.map +0 -1
- package/engine/test-body.d.ts +0 -16
- package/engine/test-body.d.ts.map +0 -1
- package/engine/test-body.js +0 -51
- package/engine/test-body.js.map +0 -1
- package/engine/test-data.d.ts +0 -25
- package/engine/test-data.d.ts.map +0 -1
- package/engine/test-data.js +0 -126
- package/engine/test-data.js.map +0 -1
- package/engine/test-node.d.ts +0 -178
- package/engine/test-node.d.ts.map +0 -1
- package/engine/test-node.js +0 -226
- package/engine/test-node.js.map +0 -1
- package/engine/test-plan.d.ts +0 -52
- package/engine/test-plan.d.ts.map +0 -1
- package/engine/test-plan.js +0 -315
- package/engine/test-plan.js.map +0 -1
- package/engine/test-scope-lifecycle.js +0 -65
- package/engine/test-scope-lifecycle.js.map +0 -1
- package/engine/throwing-test-scope.js +0 -27
- package/engine/throwing-test-scope.js.map +0 -1
- package/engine/workload-input.d.ts +0 -3
- package/engine/workload-input.d.ts.map +0 -1
- package/engine/workload-input.js +0 -54
- package/engine/workload-input.js.map +0 -1
- package/engine/workload-parameters.d.ts +0 -3
- package/engine/workload-parameters.d.ts.map +0 -1
- package/engine/workload-parameters.js +0 -67
- package/engine/workload-parameters.js.map +0 -1
- package/engine/workload-test-case.d.ts +0 -8
- package/engine/workload-test-case.d.ts.map +0 -1
- package/engine/workload-test-case.js +0 -33
- package/engine/workload-test-case.js.map +0 -1
- package/stored-value.js +0 -12
- package/stored-value.js.map +0 -1
package/engine/run-result.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"run-result.js","sourceRoot":"","sources":["../../../../source/engine/run-result.ts"],"names":[],"mappings":"AAgHA,MAAM,UAAU,kCAAkC,CAAC,MAAmC;IA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,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,mBAAmB,CAC/B,MAAgD,EAChD,OAAkB;IAElB,MAAM,SAAS,GAAG,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC;IACvE,OAAO;QACH,GAAG,MAAM;QACT,SAAS;QACT,QAAQ,EAAE,CAAE;gBACR,SAAS;gBACT,OAAO;gBACP,oBAAoB,EAAE,MAAM,CAAC,oBAAoB;gBACjD,OAAO,EAAE,MAAM,CAAC,OAAO;gBACvB,OAAO,EAAE,MAAM,CAAC,OAAO;aAC1B,CAAE;QACH,OAAO,EAAE,IAAI;KAChB,CAAC;AACN,CAAC;AAmDD,MAAM,UAAU,kBAAkB,CAAC,OAAoB;IACnD,OAAO,OAAO,CAAC,IAAI,CAAC;AACxB,CAAC"}
|
package/engine/run-timings.d.ts
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
export declare const resourceScopes: readonly ["per-case", "per-file", "per-run", "per-suite", "shared-per-worker"];
|
|
2
|
-
export type ResourceScope = typeof resourceScopes[number];
|
|
3
|
-
export type AmbientNoiseEstimate = 'high' | 'low' | 'medium' | 'unknown';
|
|
4
|
-
export type TimingSpanStatus = 'cancelled' | 'failure' | 'success' | 'timeout';
|
|
5
|
-
export declare const runTimingSpanKinds: readonly ["cleanup", "collection.import", "collection.resolve", "command.parse", "config.load", "config.validate", "coverage.collect", "coverage.report", "coverage.start", "file.discovery", "filter.apply", "host.entry-startup", "order.apply", "placement.plan", "profile.resolve", "reporter.deliver", "reporter.finish", "reporter.resolve", "resolution.freeze", "resource.acquire", "resource.dispose", "resource.lower", "runtime.expand", "shard.apply", "supervised-process.exit", "supervised-process.ready", "supervised-process.spawn", "supervised-process.teardown", "test-data.propagate", "work-unit.construct", "worker-pool.ready", "worker-pool.shutdown", "worker-pool.start", "worker.assign-work", "worker.create", "worker.import-startup", "worker.ready", "worker.teardown"];
|
|
6
|
-
export type RunTimingSpanKind = typeof runTimingSpanKinds[number];
|
|
7
|
-
export type RunTimingSummary = {
|
|
8
|
-
readonly runnerOverheadWallTimeMicroseconds: number;
|
|
9
|
-
readonly testExecutionWallTimeMicroseconds: number;
|
|
10
|
-
readonly totalWallTimeMicroseconds: number;
|
|
11
|
-
};
|
|
12
|
-
export type RunTimingSpan = {
|
|
13
|
-
readonly durationMicroseconds: number;
|
|
14
|
-
readonly kind: RunTimingSpanKind;
|
|
15
|
-
readonly label: string | null;
|
|
16
|
-
readonly processId: string | null;
|
|
17
|
-
readonly resource: {
|
|
18
|
-
readonly name: string;
|
|
19
|
-
readonly scope: ResourceScope;
|
|
20
|
-
} | null;
|
|
21
|
-
readonly startOffsetMicroseconds: number | null;
|
|
22
|
-
readonly startTimeUnixMicroseconds: number;
|
|
23
|
-
readonly status: TimingSpanStatus;
|
|
24
|
-
readonly workerId: string | null;
|
|
25
|
-
};
|
|
26
|
-
export type RunTimingObservationWindow = {
|
|
27
|
-
readonly durationMicroseconds: number;
|
|
28
|
-
readonly startTimeUnixMicroseconds: number;
|
|
29
|
-
};
|
|
30
|
-
export type RunTimingAggregate = {
|
|
31
|
-
readonly count: number;
|
|
32
|
-
readonly durationMicroseconds: number;
|
|
33
|
-
readonly kind: RunTimingSpanKind;
|
|
34
|
-
};
|
|
35
|
-
export type TimingCollectionOverhead = {
|
|
36
|
-
readonly aggregationMicroseconds: number;
|
|
37
|
-
readonly recordingMicroseconds: number;
|
|
38
|
-
readonly renderingMicroseconds: number;
|
|
39
|
-
readonly serializationMicroseconds: number;
|
|
40
|
-
};
|
|
41
|
-
export type RunPreciseTimingReport = {
|
|
42
|
-
readonly aggregates: readonly RunTimingAggregate[];
|
|
43
|
-
readonly ambientNoise: AmbientNoiseEstimate;
|
|
44
|
-
readonly droppedSpanCount: number;
|
|
45
|
-
readonly overhead: TimingCollectionOverhead;
|
|
46
|
-
readonly observationWindow: RunTimingObservationWindow;
|
|
47
|
-
readonly slowestSpans: readonly RunTimingSpan[];
|
|
48
|
-
readonly slowestSpanLimit: number;
|
|
49
|
-
readonly spanLimit: number;
|
|
50
|
-
readonly spans: readonly RunTimingSpan[];
|
|
51
|
-
readonly truncated: boolean;
|
|
52
|
-
};
|
|
53
|
-
export type RunTimings = {
|
|
54
|
-
readonly precise: RunPreciseTimingReport | null;
|
|
55
|
-
readonly summary: RunTimingSummary;
|
|
56
|
-
};
|
|
57
|
-
//# sourceMappingURL=run-timings.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"run-timings.d.ts","sourceRoot":"","sources":["../../../../source/engine/run-timings.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,gFAMjB,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,OAAO,cAAc,CAAC,MAAM,CAAC,CAAC;AAE1D,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,GAAG,SAAS,CAAC;AAEzE,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;AAE/E,eAAO,MAAM,kBAAkB,ywBAuCrB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,OAAO,kBAAkB,CAAC,MAAM,CAAC,CAAC;AAElE,MAAM,MAAM,gBAAgB,GAAG;IAC3B,QAAQ,CAAC,kCAAkC,EAAE,MAAM,CAAC;IACpD,QAAQ,CAAC,iCAAiC,EAAE,MAAM,CAAC;IACnD,QAAQ,CAAC,yBAAyB,EAAE,MAAM,CAAC;CAC9C,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IACxB,QAAQ,CAAC,oBAAoB,EAAE,MAAM,CAAC;IACtC,QAAQ,CAAC,IAAI,EAAE,iBAAiB,CAAC;IACjC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,QAAQ,CAAC,SAAS,EAAE,M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,EAAE,SAAS,aAAa,EAAE,CAAC;IAChD,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,KAAK,EAAE,SAAS,aAAa,EAAE,CAAC;IACzC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACrB,QAAQ,CAAC,OAAO,EAAE,sBAAsB,GAAG,IAAI,CAAC;IAChD,QAAQ,CAAC,OAAO,EAAE,gBAAgB,CAAC;CACtC,CAAC"}
|
package/engine/run-timings.js
DELETED
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
export const resourceScopes = [
|
|
2
|
-
'per-case',
|
|
3
|
-
'per-file',
|
|
4
|
-
'per-run',
|
|
5
|
-
'per-suite',
|
|
6
|
-
'shared-per-worker'
|
|
7
|
-
];
|
|
8
|
-
export const runTimingSpanKinds = [
|
|
9
|
-
'cleanup',
|
|
10
|
-
'collection.import',
|
|
11
|
-
'collection.resolve',
|
|
12
|
-
'command.parse',
|
|
13
|
-
'config.load',
|
|
14
|
-
'config.validate',
|
|
15
|
-
'coverage.collect',
|
|
16
|
-
'coverage.report',
|
|
17
|
-
'coverage.start',
|
|
18
|
-
'file.discovery',
|
|
19
|
-
'filter.apply',
|
|
20
|
-
'host.entry-startup',
|
|
21
|
-
'order.apply',
|
|
22
|
-
'placement.plan',
|
|
23
|
-
'profile.resolve',
|
|
24
|
-
'reporter.deliver',
|
|
25
|
-
'reporter.finish',
|
|
26
|
-
'reporter.resolve',
|
|
27
|
-
'resolution.freeze',
|
|
28
|
-
'resource.acquire',
|
|
29
|
-
'resource.dispose',
|
|
30
|
-
'resource.lower',
|
|
31
|
-
'runtime.expand',
|
|
32
|
-
'shard.apply',
|
|
33
|
-
'supervised-process.exit',
|
|
34
|
-
'supervised-process.ready',
|
|
35
|
-
'supervised-process.spawn',
|
|
36
|
-
'supervised-process.teardown',
|
|
37
|
-
'test-data.propagate',
|
|
38
|
-
'work-unit.construct',
|
|
39
|
-
'worker-pool.ready',
|
|
40
|
-
'worker-pool.shutdown',
|
|
41
|
-
'worker-pool.start',
|
|
42
|
-
'worker.assign-work',
|
|
43
|
-
'worker.create',
|
|
44
|
-
'worker.import-startup',
|
|
45
|
-
'worker.ready',
|
|
46
|
-
'worker.teardown'
|
|
47
|
-
];
|
|
48
|
-
export const defaultRunTimingSpanLimit = 5000;
|
|
49
|
-
export const defaultRunTimingSlowestSpanLimit = 50;
|
|
50
|
-
export const zeroTimingCollectionOverhead = Object.freeze({
|
|
51
|
-
aggregationMicroseconds: 0,
|
|
52
|
-
recordingMicroseconds: 0,
|
|
53
|
-
renderingMicroseconds: 0,
|
|
54
|
-
serializationMicroseconds: 0
|
|
55
|
-
});
|
|
56
|
-
export function runTimingSummary(input) {
|
|
57
|
-
const totalWallTimeMicroseconds = Math.max(0, Math.trunc(input.totalWallTimeMicroseconds));
|
|
58
|
-
const testExecutionWallTimeMicroseconds = Math.max(0, Math.min(totalWallTimeMicroseconds, Math.trunc(input.testExecutionWallTimeMicroseconds)));
|
|
59
|
-
return {
|
|
60
|
-
runnerOverheadWallTimeMicroseconds: totalWallTimeMicroseconds - testExecutionWallTimeMicroseconds,
|
|
61
|
-
testExecutionWallTimeMicroseconds,
|
|
62
|
-
totalWallTimeMicroseconds
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
export function summaryRunTimings(input) {
|
|
66
|
-
return {
|
|
67
|
-
precise: null,
|
|
68
|
-
summary: runTimingSummary(input)
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
function aggregateKey(span) {
|
|
72
|
-
return span.kind;
|
|
73
|
-
}
|
|
74
|
-
function timingAggregates(spans) {
|
|
75
|
-
const aggregates = new Map();
|
|
76
|
-
for (const span of spans) {
|
|
77
|
-
const key = aggregateKey(span);
|
|
78
|
-
const aggregate = aggregates.get(key);
|
|
79
|
-
aggregates.set(key, {
|
|
80
|
-
count: (aggregate?.count ?? 0) + 1,
|
|
81
|
-
durationMicroseconds: (aggregate?.durationMicroseconds ?? 0) + span.durationMicroseconds,
|
|
82
|
-
kind: key
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
return Array.from(aggregates.values());
|
|
86
|
-
}
|
|
87
|
-
function slowestTimingSpans(spans, slowestSpanLimit) {
|
|
88
|
-
return spans
|
|
89
|
-
.toSorted(function byDurationThenStart(left, right) {
|
|
90
|
-
const durationDifference = right.durationMicroseconds - left.durationMicroseconds;
|
|
91
|
-
if (durationDifference !== 0) {
|
|
92
|
-
return durationDifference;
|
|
93
|
-
}
|
|
94
|
-
return (left.startOffsetMicroseconds ?? Number.MAX_SAFE_INTEGER) -
|
|
95
|
-
(right.startOffsetMicroseconds ?? Number.MAX_SAFE_INTEGER);
|
|
96
|
-
})
|
|
97
|
-
.slice(0, slowestSpanLimit);
|
|
98
|
-
}
|
|
99
|
-
export function preciseTimingReport(input) {
|
|
100
|
-
const { slowestSpanLimit, spanLimit } = input;
|
|
101
|
-
const retainedSpans = input.spans.slice(0, spanLimit);
|
|
102
|
-
return {
|
|
103
|
-
aggregates: timingAggregates(input.spans),
|
|
104
|
-
ambientNoise: 'unknown',
|
|
105
|
-
droppedSpanCount: Math.max(0, input.spans.length - retainedSpans.length),
|
|
106
|
-
overhead: {
|
|
107
|
-
aggregationMicroseconds: input.aggregationMicroseconds,
|
|
108
|
-
recordingMicroseconds: input.recordingMicroseconds,
|
|
109
|
-
renderingMicroseconds: 0,
|
|
110
|
-
serializationMicroseconds: 0
|
|
111
|
-
},
|
|
112
|
-
observationWindow: input.observationWindow,
|
|
113
|
-
slowestSpans: slowestTimingSpans(input.spans, slowestSpanLimit),
|
|
114
|
-
slowestSpanLimit,
|
|
115
|
-
spanLimit,
|
|
116
|
-
spans: retainedSpans,
|
|
117
|
-
truncated: retainedSpans.length < input.spans.length
|
|
118
|
-
};
|
|
119
|
-
}
|
|
120
|
-
//# sourceMappingURL=run-timings.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"run-timings.js","sourceRoot":"","sources":["../../../../source/engine/run-timings.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,cAAc,GAAG;IAC1B,UAAU;IACV,UAAU;IACV,SAAS;IACT,WAAW;IACX,mBAAmB;CACb,CAAC;AAQX,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAC9B,SAAS;IACT,mBAAmB;IACnB,oBAAoB;IACpB,eAAe;IACf,aAAa;IACb,iBAAiB;IACjB,kBAAkB;IAClB,iBAAiB;IACjB,gBAAgB;IAChB,gBAAgB;IAChB,cAAc;IACd,oBAAoB;IACpB,aAAa;IACb,gBAAgB;IAChB,iBAAiB;IACjB,kBAAkB;IAClB,iBAAiB;IACjB,kBAAkB;IAClB,mBAAmB;IACnB,kBAAkB;IAClB,kBAAkB;IAClB,gBAAgB;IAChB,gBAAgB;IAChB,aAAa;IACb,yBAAyB;IACzB,0BAA0B;IAC1B,0BAA0B;IAC1B,6BAA6B;IAC7B,qBAAqB;IACrB,qBAAqB;IACrB,mBAAmB;IACnB,sBAAsB;IACtB,mBAAmB;IACnB,oBAAoB;IACpB,eAAe;IACf,uBAAuB;IACvB,cAAc;IACd,iBAAiB;CACX,CAAC;AA2EX,MAAM,CAAC,MAAM,yBAAyB,GAAG,IAAI,CAAC;AAC9C,MAAM,CAAC,MAAM,gCAAgC,GAAG,EAAE,CAAC;AAEnD,MAAM,CAAC,MAAM,4BAA4B,GAA6B,MAAM,CAAC,MAAM,CAAC;IAChF,uBAAuB,EAAE,CAAC;IAC1B,qBAAqB,EAAE,CAAC;IACxB,qBAAqB,EAAE,CAAC;IACxB,yBAAyB,EAAE,CAAC;CAC/B,CAAC,CAAC;AAEH,MAAM,UAAU,gBAAgB,CAAC,KAA4B;IACzD,MAAM,yBAAyB,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,yBAA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0,0 @@
|
|
|
1
|
-
export async function reportRunnerErrorEvents(reporterDelivery, runnerErrors) {
|
|
2
|
-
let reporterErrors = [];
|
|
3
|
-
for (const error of runnerErrors) {
|
|
4
|
-
reporterErrors = [
|
|
5
|
-
...reporterErrors,
|
|
6
|
-
...await reporterDelivery.reportEvent({
|
|
7
|
-
error,
|
|
8
|
-
kind: 'runner-error'
|
|
9
|
-
})
|
|
10
|
-
];
|
|
11
|
-
}
|
|
12
|
-
return reporterErrors;
|
|
13
|
-
}
|
|
14
|
-
export async function reportRunnerErrors(reporterDelivery, runnerErrors) {
|
|
15
|
-
if (runnerErrors.length === 0) {
|
|
16
|
-
return [];
|
|
17
|
-
}
|
|
18
|
-
return [
|
|
19
|
-
...runnerErrors,
|
|
20
|
-
...await reportRunnerErrorEvents(reporterDelivery, runnerErrors)
|
|
21
|
-
];
|
|
22
|
-
}
|
|
23
|
-
export function unreportedRunnerErrors(runnerErrors, reportedRunnerErrors) {
|
|
24
|
-
const reported = new Set(reportedRunnerErrors);
|
|
25
|
-
return runnerErrors.filter(function wasNotReported(runnerError) {
|
|
26
|
-
return !reported.has(runnerError);
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
//# sourceMappingURL=runner-error-reporting.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"runner-error-reporting.js","sourceRoot":"","sources":["../../../../source/engine/runner-error-reporting.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,KAAK,UAAU,uBAAuB,CACzC,gBAAuD,EACvD,YAAoC;IAEpC,IAAI,cAAc,GAA2B,EAAE,CAAC;IAEhD,KAAK,MAAM,KAAK,IAAI,YAAY,EAAE,CAAC;QAC/B,cAAc,GAAG;YACb,GAAG,cAAc;YACjB,GAAG,MAAM,gBAAgB,CAAC,WAAW,CAAC;gBAClC,KAAK;gBACL,IAAI,EAAE,cAAc;aACvB,CAAC;SACL,CAAC;IACN,CAAC;IAED,OAAO,cAAc,CAAC;AAC1B,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,kBAAkB,CACpC,gBAAkC,EAClC,YAAoC;IAEpC,IAAI,YAAY,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC5B,OAAO,EAAE,CAAC;IACd,CAAC;IAED,OAAO;QACH,GAAG,YAAY;QACf,GAAG,MAAM,uBAAuB,CAAC,gBAAgB,EAAE,YAAY,CAAC;KACnE,CAAC;AACN,CAAC;AAED,MAAM,UAAU,sBAAsB,CAClC,YAAoC,EACpC,oBAA4C;IAE5C,MAAM,QAAQ,GAAG,IAAI,GAAG,CAAC,oBAAoB,CAAC,CAAC;IAE/C,OAAO,YAAY,CAAC,MAAM,CAAC,SAAS,cAAc,CAAC,WAAW;QAC1D,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IACtC,CAAC,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import type { JsonValue, ReadonlyDeep } from 'type-fest';
|
|
2
|
-
import type { AttemptId, WorkId } from './identity.ts';
|
|
3
|
-
import type { RunArtifactId } from './run-artifact.ts';
|
|
4
|
-
export type AttachmentMetadata = {
|
|
5
|
-
readonly name: string;
|
|
6
|
-
readonly mediaType: string;
|
|
7
|
-
};
|
|
8
|
-
export type AttachmentCompletion = {
|
|
9
|
-
readonly kind: 'complete';
|
|
10
|
-
} | {
|
|
11
|
-
readonly kind: 'incomplete';
|
|
12
|
-
readonly reason: 'byte-limit' | 'capture-limit' | 'interrupted' | 'unclosed' | 'write-error';
|
|
13
|
-
} | {
|
|
14
|
-
readonly kind: 'truncated';
|
|
15
|
-
readonly reason: 'byte-limit';
|
|
16
|
-
};
|
|
17
|
-
export type AttachmentContent = {
|
|
18
|
-
readonly kind: 'file';
|
|
19
|
-
readonly path: string;
|
|
20
|
-
readonly byteLength: number;
|
|
21
|
-
readonly completion: Exclude<AttachmentCompletion, {
|
|
22
|
-
readonly kind: 'truncated';
|
|
23
|
-
}>;
|
|
24
|
-
} | {
|
|
25
|
-
readonly kind: 'json';
|
|
26
|
-
readonly value: ReadonlyDeep<JsonValue>;
|
|
27
|
-
readonly byteLength: number;
|
|
28
|
-
} | {
|
|
29
|
-
readonly kind: 'omitted';
|
|
30
|
-
readonly reason: 'byte-limit' | 'count-limit';
|
|
31
|
-
readonly limit: number;
|
|
32
|
-
} | {
|
|
33
|
-
readonly kind: 'text';
|
|
34
|
-
readonly text: string;
|
|
35
|
-
readonly byteLength: number;
|
|
36
|
-
readonly completion: AttachmentCompletion;
|
|
37
|
-
};
|
|
38
|
-
export type AttachmentProducer = {
|
|
39
|
-
readonly kind: 'case';
|
|
40
|
-
} | {
|
|
41
|
-
readonly kind: 'resource';
|
|
42
|
-
readonly name: string;
|
|
43
|
-
};
|
|
44
|
-
export type FailureArtifactCondition = {
|
|
45
|
-
readonly kind: 'attempt';
|
|
46
|
-
readonly work: WorkId;
|
|
47
|
-
readonly attempt: AttemptId;
|
|
48
|
-
} | {
|
|
49
|
-
readonly kind: 'resource';
|
|
50
|
-
readonly resource: string;
|
|
51
|
-
readonly boundary: string;
|
|
52
|
-
};
|
|
53
|
-
type ExplicitAttachmentCapture = {
|
|
54
|
-
readonly capture: 'opt-in';
|
|
55
|
-
};
|
|
56
|
-
type AutomaticAttachmentCapture = {
|
|
57
|
-
readonly capture: 'automatic';
|
|
58
|
-
readonly retention: {
|
|
59
|
-
readonly condition: FailureArtifactCondition;
|
|
60
|
-
readonly state: 'prepared' | 'retained';
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
export type RuntimeAttachmentArtifact = {
|
|
64
|
-
readonly id: RunArtifactId & {
|
|
65
|
-
readonly subtype: 'attachment' | 'witness';
|
|
66
|
-
};
|
|
67
|
-
readonly source: 'boundary-captured' | 'instrumented' | 'native';
|
|
68
|
-
readonly payload: AttachmentMetadata & {
|
|
69
|
-
readonly kind: 'runtime-attachment';
|
|
70
|
-
readonly capturedAtMicroseconds: number;
|
|
71
|
-
readonly producer: AttachmentProducer;
|
|
72
|
-
readonly content: AttachmentContent;
|
|
73
|
-
} & (AutomaticAttachmentCapture | ExplicitAttachmentCapture);
|
|
74
|
-
};
|
|
75
|
-
export type AttachmentLimits = {
|
|
76
|
-
readonly maxInlineBytes: number;
|
|
77
|
-
readonly maxArtifactBytes: number;
|
|
78
|
-
readonly maxScopeBytes: number;
|
|
79
|
-
readonly maxScopeAttachments: number;
|
|
80
|
-
};
|
|
81
|
-
export {};
|
|
82
|
-
//# sourceMappingURL=runtime-attachment.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-attachment.d.ts","sourceRoot":"","sources":["../../../../source/engine/runtime-attachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEvD,MAAM,MAAM,kBAAkB,GAAG;IAC7B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IAAE,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;CAAE,GAAG;IAChE,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAC;IAC5B,QAAQ,CAAC,MAAM,EAAE,YAAY,GAAG,eAAe,GAAG,aAAa,GAAG,UAAU,GAAG,aAAa,CAAC;CAChG,GAAG;IAAE,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAC;CAAE,CAAC;AAEnE,MAAM,MAAM,iBAAiB,GAAG;IAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,Q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AO,EAAE,QAAQ,CAAC;CAAE,CAAC;AACjE,KAAK,0BAA0B,GAAG;IAC9B,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC;IAC9B,QAAQ,CAAC,SAAS,EAAE;QAChB,QAAQ,CAAC,SAAS,EAAE,wBAAwB,CAAC;QAC7C,QAAQ,CAAC,KAAK,EAAE,UAAU,GAAG,UAAU,CAAC;KAC3C,CAAC;CACL,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACpC,QAAQ,CAAC,EAAE,EAAE,aAAa,GAAG;QAAE,QAAQ,CAAC,OAAO,EAAE,YAAY,GAAG,SAAS,CAAC;KAAE,CAAC;IAC7E,QAAQ,CAAC,MAAM,EAAE,mBAAmB,GAAG,cAAc,GAAG,QAAQ,CAAC;IACjE,QAAQ,CAAC,OAAO,EAAE,kBAAkB,GAAG;QACnC,QAAQ,CAAC,IAAI,EAAE,oBAAoB,CAAC;QACpC,QAAQ,CAAC,sBAAsB,EAAE,MAAM,CAAC;QACxC,QAAQ,CAAC,QAAQ,EAAE,kBAAkB,CAAC;QACtC,QAAQ,CAAC,OAAO,EAAE,iBAAiB,CAAC;KACvC,GAAG,CAAC,0BAA0B,GAAG,yBAAyB,CAAC,CAAC;CAChE,CAAC;AAEF,MAAM,MAAM,gBAcgB,GAAG;IAC3B,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;CACxC,CAAC;AAEF"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { assertNonEmptyItems } from "./assertion-recorder.js";
|
|
2
|
-
export function resultWithAttemptHistory(finalResult, attempts) {
|
|
3
|
-
assertNonEmptyItems(attempts, 'Expected at least one test attempt.');
|
|
4
|
-
return {
|
|
5
|
-
...finalResult,
|
|
6
|
-
attempts,
|
|
7
|
-
durationMicroseconds: attempts.reduce(function sumDurations(total, attempt) {
|
|
8
|
-
return total + attempt.durationMicroseconds;
|
|
9
|
-
}, 0),
|
|
10
|
-
retried: attempts.length === 1 ? null : { attempts: attempts.length, finalVerdict: finalResult.verdict }
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
export function caseAttemptHistory(finalResult, results) {
|
|
14
|
-
const attempts = results.map(function recordAttempt(result) {
|
|
15
|
-
return {
|
|
16
|
-
benchmark: result.benchmark,
|
|
17
|
-
attempt: result.attempts[0].attempt,
|
|
18
|
-
durationMicroseconds: result.durationMicroseconds,
|
|
19
|
-
outcome: result.outcome ?? result.attempts[0].outcome,
|
|
20
|
-
verdict: result.verdict
|
|
21
|
-
};
|
|
22
|
-
});
|
|
23
|
-
return resultWithAttemptHistory(finalResult, attempts);
|
|
24
|
-
}
|
|
25
|
-
//# sourceMappingURL=test-attempt-history.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"test-attempt-history.js","sourceRoot":"","sources":["../../../../source/engine/test-attempt-history.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAG9D,MAAM,UAAU,wBAAwB,CACpC,WAA0B,EAC1B,QAAsC;IAEtC,mBAAmB,CAAC,QAAQ,EAAE,qCAAqC,CAAC,CAAC;IAErE,OAAO;QACH,GAAG,WAAW;QACd,QAAQ;QACR,oBAAoB,EAAE,QAAQ,CAAC,MAAM,CAAC,SAAS,YAAY,CAAC,KAAK,EAAE,OAAO;YACtE,OAAO,KAAK,GAAG,OAAO,CAAC,oBAAoB,CAAC;QAChD,CAAC,EAAE,CAAC,CAAC;QACL,OAAO,EAAE,QAAQ,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,QAAQ,CAAC,MAAM,EAAE,YAAY,EAAE,WAAW,CAAC,OAAO,EAAE;KAC3G,CAAC;AACN,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,WAA0B,EAAE,OAAiC;IAC5F,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,SAAS,aAAa,CAAC,MAAM;QACtD,OAAO;YACH,SAAS,EAAE,MAAM,CAAC,SAAS;YAC3B,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,OAAO;YACnC,oBAAoB,EAAE,MAAM,CAAC,oBAAoB;YACjD,OAAO,EAAE,MAAM,CAAC,OAAO,IAAI,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,OAAO;YACrD,OAAO,EAAE,MAAM,CAAC,OAAO;SAC1B,CAAC;IACN,CAAC,CAAC,CAAC;IACH,OAAO,wBAAwB,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;AAC3D,CAAC"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
export type TestBodyExecutionRequirementSummary = Readonly<Record<string, unknown>>;
|
|
2
|
-
export type TestBodyScenarioSlotSummary = {
|
|
3
|
-
readonly default: string;
|
|
4
|
-
readonly name: string;
|
|
5
|
-
readonly timing: 'acquire' | 'request-routed';
|
|
6
|
-
readonly values: readonly string[];
|
|
7
|
-
};
|
|
8
|
-
export type TestBodyRuntimeScenarioBindingSummary = TestBodyScenarioSlotSummary & {
|
|
9
|
-
readonly owner: {
|
|
10
|
-
readonly path: readonly string[];
|
|
11
|
-
readonly resourceName: string;
|
|
12
|
-
};
|
|
13
|
-
readonly value: string;
|
|
14
|
-
};
|
|
15
|
-
export type TestBodyResourceSummary = {
|
|
16
|
-
readonly dependencies: readonly string[];
|
|
17
|
-
readonly handleTransport: 'local' | 'projected';
|
|
18
|
-
readonly name: string;
|
|
19
|
-
readonly requirements: readonly TestBodyExecutionRequirementSummary[];
|
|
20
|
-
readonly scenarios: readonly TestBodyScenarioSlotSummary[];
|
|
21
|
-
readonly scope: string;
|
|
22
|
-
readonly workload: 'independent' | 'required';
|
|
23
|
-
};
|
|
24
|
-
export type TestBodyLeafRuntimeSummary = {
|
|
25
|
-
readonly dimensions: Readonly<Record<string, string>>;
|
|
26
|
-
readonly kind?: 'runtime';
|
|
27
|
-
readonly name: string;
|
|
28
|
-
readonly requirements: readonly TestBodyExecutionRequirementSummary[];
|
|
29
|
-
readonly resources: readonly TestBodyDirectResourceAttachmentSummary[];
|
|
30
|
-
readonly scenarioBindings: readonly TestBodyRuntimeScenarioBindingSummary[];
|
|
31
|
-
};
|
|
32
|
-
export type TestBodyRuntimeMatrixVariantSummary = {
|
|
33
|
-
readonly id: string;
|
|
34
|
-
readonly runtime: TestBodyLeafRuntimeSummary;
|
|
35
|
-
};
|
|
36
|
-
export type TestBodyRuntimeMatrixSummary = {
|
|
37
|
-
readonly kind: 'runtime-matrix';
|
|
38
|
-
readonly name: string;
|
|
39
|
-
readonly resources: readonly TestBodyDirectResourceAttachmentSummary[];
|
|
40
|
-
readonly variants: readonly TestBodyRuntimeMatrixVariantSummary[];
|
|
41
|
-
};
|
|
42
|
-
export type TestBodyRuntimeSummary = TestBodyLeafRuntimeSummary | TestBodyRuntimeMatrixSummary;
|
|
43
|
-
export type TestBodyDirectResourceAttachmentSummary = {
|
|
44
|
-
readonly key: string;
|
|
45
|
-
readonly resourceName: string;
|
|
46
|
-
};
|
|
47
|
-
export type TestBodyResourceAttachments = {
|
|
48
|
-
readonly directResources: readonly TestBodyDirectResourceAttachmentSummary[];
|
|
49
|
-
readonly resourceGraph: readonly TestBodyResourceSummary[];
|
|
50
|
-
readonly runtimeGraphs: readonly TestBodyRuntimeSummary[];
|
|
51
|
-
};
|
|
52
|
-
export {};
|
|
53
|
-
//# sourceMappingURL=test-body-resource-attachment.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"test-body-resource-attachment.d.ts","sourceRoot":"","sources":["../../../../source/engine/test-body-resource-attachment.ts"],"names":[],"mappings":"MAEM,MAAM,mCAAmC,GAAG,QAAQ,CAAC,MAAM,CAAC,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,CAAC,SAAS,EAAE,SAAS,uCAAuC,EAAE,CAAC;IACvE,QAAQ,CAAC,gBAAgB,EAAE,SAAS,qCAAqC,EAAE,CAAC;CAC/E,CAAC;AAEF,MAAM,MAAM,mCAAmC,GAAG;IAC9C,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,OAAO,EAAE,0BAA0B,CAAC;CAChD,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACvC,QAAQ,CAAC,IAAI,EAAE,gBAAgB,CAAC;IAChC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,SAAS,EAAE,SAAS,uCAAuC,EAAE,CAAC;IACvE,QAAQ,CAAC,QAAQ,EAAE,SAAS,mCAAmC,EAAE,CAAC;CACrE,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,0BAA0B,GAAG,4BAA4B,CAAC;AAE/F,MAAM,MAAM,uCAAuC,GAAG;IAClD,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACtC,QAAQ,CAAC,eAAe,EAAE,SAAS,uCAAuC,EAAE,CAAC;IAC7E,QAAQ,CAAC,aAAa,EAAE,SAAS,uBAAuB,EAAE,CAAC;IAC3D,QAAQ,CAAC,aAAa,EAAE,SAAS,sBAAsB,EAAE,CAAC;CAC7D,CAAC;AAEF,MAAM,CAA8C,EAEnD,CAAC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
const testBodyResourceAttachmentsBrand = Symbol.for('@overkill-dev/engine/TestBodyResourceAttachments');
|
|
2
|
-
const emptyTestBodyResourceAttachments = Object.freeze({
|
|
3
|
-
directResources: Object.freeze([]),
|
|
4
|
-
resourceGraph: Object.freeze([]),
|
|
5
|
-
runtimeGraphs: Object.freeze([])
|
|
6
|
-
});
|
|
7
|
-
|
|
8
|
-
export function hasAttachedResourceDescriptors(attachments) {
|
|
9
|
-
return attachments.directResources.length > 0 ||
|
|
10
|
-
attachments.resourceGraph.length > 0 ||
|
|
11
|
-
attachments.runtimeGraphs.some(function runtimeHasResources(runtime) {
|
|
12
|
-
return runtime.kind === 'runtime-matrix'
|
|
13
|
-
? runtime.variants.some(function variantHasResources(variant) {
|
|
14
|
-
return variant.runtime.resources.length > 0;
|
|
15
|
-
})
|
|
16
|
-
: runtime.resources.length > 0;
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export function hasTestBodyResourceAttachments(value) {
|
|
21
|
-
return typeof value === 'function' && Object.hasOwn(value, testBodyResourceAttachmentsBrand);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export function readTestBodyResourceAttachments(value) {
|
|
25
|
-
if (!hasTestBodyResourceAttachments(value)) {
|
|
26
|
-
return emptyTestBodyResourceAttachments;
|
|
27
|
-
}
|
|
28
|
-
return value[testBodyResourceAttachmentsBrand];
|
|
29
|
-
}
|
|
30
|
-
//# sourceMappingURL=test-body-resource-attachment.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"test-body-resource-attachment.js","sourceRoot":"","sources":["../../../../source/engine/test-body-resource-attachment.ts"],"names":[],"mappings":"AAAA,MAAM,gCAAgC,GAAG,MAAM,CAAC,GAAG,CAAC,kDAAkD,CAAC,CAAC;AAyExG,MAAM,gCAAgC,GAAgC,MAAM,CAAC,MAAM,CAAC;IAChF,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;IAClC,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;IAChC,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;CACnC,CAAC,CAAC;;IAwDoD,GAGvC,uCAQ8B,CAAC,WAAwC;IACnF,OAAO,WAAW,CAAC,eAAe,CAAC,MAAM,GAAG,CAAC;QACzC,WAAW,CAAC,aAAa,CAAC,MAAM,GAAG,CAAC;QACpC,WAAW,CAAC,aAAa,CAAC,IAAI,CAAC,SAAS,mBAAmB,CAAC,OAAO;YAC/D,OAAO,OAAO,CAAC,IAAI,KAAK,gBAAgB;gBACpC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,mBAAmB,CAAC,OAAO;oBACxD,OAAO,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC;gBAChD,CAAC,CAAC;gBACF,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC;QACvC,CAAC,CAAC,CAAC;AACX,CAAC;;OA8DiC,UAYP,6BAamB,CAAC,KAAc;IACzD,OAAO,OAAO,KAAK,KAAK,UAAU,IAAI,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,gCAAgC,CAAC,CAAC;AACjG,CAAC;;MAyBK,UAAU,+BAA+B,CAAC,KAAc;IAC1D,IAAI,CAAC,8BAA8B,CAAC,KAAK,CAAC,EAAE,CAAC;QACzC,OAAO,gCAAgC,CAAC;IAC5C,CAAC;IAED,OAAO,KAAK,CAAC,gCAAgC,CAAC,CAAC;AACnD,CAAC"}
|
package/engine/test-body.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { type PropertyBodyDefinition, type PropertyPolicyResolution } from './property-node.ts';
|
|
2
|
-
export type PropertyBodyExecution<Body> = {
|
|
3
|
-
readonly kind: 'body';
|
|
4
|
-
readonly bodyMode: 'property';
|
|
5
|
-
readonly body: Body;
|
|
6
|
-
readonly definition: PropertyBodyDefinition;
|
|
7
|
-
readonly policy: PropertyPolicyResolution;
|
|
8
|
-
};
|
|
9
|
-
type BuilderBodyExecution<Body> = {
|
|
10
|
-
readonly kind: 'body';
|
|
11
|
-
readonly bodyMode: 'builder';
|
|
12
|
-
readonly body: Body;
|
|
13
|
-
};
|
|
14
|
-
export type FamilyBodyExecution<Body> = BuilderBodyExecution<Body> | PropertyBodyExecution<Body>;
|
|
15
|
-
export {};
|
|
16
|
-
//# sourceMappingURL=test-body.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"test-body.d.ts","sourceRoot":"","sources":["../../../../source/engine/test-body.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAChC,MAAM,oBAAoB,CAAC;MAMtB,MAmGM,qBAAqB,CAAC,IAAI,IAAI;IACtC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,QAAQ,EAAE,UAAU,CAAC;IAC9B,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC;IACpB,QAAQ,CAAC,UAAU,EAAE,sBAAsB,CAAC;IAC5C,QAAQ,CAAC,MAAM,EAAE,wBAAwB,CAAC;CAC7C,CAAC;AAEF,KAAK,oBAAoB,CAAC,IAAI,IAAI;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC;CAAE,CAAC;AAChH,MAAM,MAAM,mBAAmB,CAAC,IAAI,IAAI,oBAAoB,CAAC,IAAI,CAAC,GAAG,qBAAqB,CAAC,IAAI,CAAC,CAAC;AAEjG"}
|
package/engine/test-body.js
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { isPropertyBodyDefinition } from "./property-node.js";
|
|
2
|
-
const testBodyFamilyBrand = Symbol.for('@overkill-dev/engine/TestBodyFamily');
|
|
3
|
-
function hasTestBodyFamily(value) {
|
|
4
|
-
return typeof value === 'function' && Object.hasOwn(value, testBodyFamilyBrand);
|
|
5
|
-
}
|
|
6
|
-
export function readTestBodyFamily(value) {
|
|
7
|
-
return hasTestBodyFamily(value) ? value[testBodyFamilyBrand] : null;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export function resolveTestBodyFamily(body, family) {
|
|
11
|
-
const attachment = readTestBodyFamily(body);
|
|
12
|
-
if (attachment === null) {
|
|
13
|
-
return family;
|
|
14
|
-
}
|
|
15
|
-
if (family !== null && family !== attachment.family) {
|
|
16
|
-
throw new TypeError(`Test body family "${attachment.family}" conflicts with test family "${family}".`);
|
|
17
|
-
}
|
|
18
|
-
return attachment.family;
|
|
19
|
-
}
|
|
20
|
-
const workloadResolverBrand = Symbol.for('@overkill-dev/engine/TestBodyWorkloadResolver');
|
|
21
|
-
function hasWorkloadResolver(body) {
|
|
22
|
-
return typeof body === 'function' && Object.hasOwn(body, workloadResolverBrand);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export function resolveTestBodyWorkload(body, workload) {
|
|
26
|
-
return hasWorkloadResolver(body) ? body[workloadResolverBrand](workload) : body;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export function propertyExecutionForDefinition(body, definition) {
|
|
30
|
-
return {
|
|
31
|
-
kind: 'body',
|
|
32
|
-
bodyMode: 'property',
|
|
33
|
-
body,
|
|
34
|
-
definition: { kind: definition.kind, settingsDeclarations: definition.settingsDeclarations },
|
|
35
|
-
policy: { kind: 'unresolved' }
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
function propertyExecutionForBody(body) {
|
|
39
|
-
const attachment = readTestBodyFamily(body);
|
|
40
|
-
if (attachment?.family !== 'property' || !isPropertyBodyDefinition(attachment.definition)) {
|
|
41
|
-
return null;
|
|
42
|
-
}
|
|
43
|
-
return propertyExecutionForDefinition(body, attachment.definition);
|
|
44
|
-
}
|
|
45
|
-
export function resolveFamilyBodyExecution(execution, workload) {
|
|
46
|
-
const body = resolveTestBodyWorkload(execution.body, workload);
|
|
47
|
-
return execution.bodyMode === 'property'
|
|
48
|
-
? { ...execution, body }
|
|
49
|
-
: propertyExecutionForBody(body) ?? { ...execution, body };
|
|
50
|
-
}
|
|
51
|
-
//# sourceMappingURL=test-body.js.map
|
package/engine/test-body.js.map
DELETED
|
@@ -1 +0,0 @@
|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,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AACpF,CAAC;;MAgCK,UAAU,8BAA8B,CAC1C,IAAU,EACV,UAAkC;IAElC,OAAO;QACH,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,UAAU;QACpB,IAAI;QACJ,UAAU,EAAE,EAAE,IAAI,EAAE,UAAU,CAAC,IAAI,EAAE,oBAAoB,EAAE,UAAU,CAAC,oBAAoB,EAAE;QAC5F,MAAM,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE;KACjC,CAAC;AACN,CAAC;AAED,SAAS,wBAAwB,CAAO,IAAU;IAC9C,MAAM,UAAU,GAAG,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAC5C,IAAI,UAAU,EAAE,MAAM,KAAK,UAAU,IAAI,CAAC,wBAAwB,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE,CAAC;QACxF,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO,8BAA8B,CAAC,IAAI,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC;AACvE,CAAC;AAED,MAAM,UAAU,0BAA0B,CACtC,SAAoC,EACpC,QAA8B;IAE9B,MAAM,IAAI,GAAG,uBAAuB,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IAC/D,OAAO,SAAS,CAAC,QAAQ,KAAK,UAAU;QACpC,CAAC,CAAC,EAAE,GAAG,SAAS,EAAE,IAAI,EAAE;QACxB,CAAC,CAAC,wBAAwB,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG,SAAS,EAAE,IAAI,EAAE,CAAC;AACnE,CAAC"}
|
package/engine/test-data.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
declare const captureModeValues: readonly ["buffered", "live"];
|
|
2
|
-
declare const duplicateExecutionControlValues: readonly ["forbidden", "idempotent"];
|
|
3
|
-
export type TestFamily = 'benchmark' | 'integration' | 'microtest' | 'property' | 'type-test';
|
|
4
|
-
export type CaptureMode = typeof captureModeValues[number];
|
|
5
|
-
export type DuplicateExecutionControl = typeof duplicateExecutionControlValues[number];
|
|
6
|
-
export type TestAnnotationsInput = {
|
|
7
|
-
readonly ownership?: readonly string[];
|
|
8
|
-
readonly tags?: readonly string[];
|
|
9
|
-
};
|
|
10
|
-
export type TestAnnotations = {
|
|
11
|
-
readonly ownership: readonly string[];
|
|
12
|
-
readonly tags: readonly string[];
|
|
13
|
-
};
|
|
14
|
-
export type TestControlsInput = {
|
|
15
|
-
readonly capture?: CaptureMode;
|
|
16
|
-
readonly duplicateExecution?: DuplicateExecutionControl;
|
|
17
|
-
readonly timeoutMilliseconds?: number;
|
|
18
|
-
};
|
|
19
|
-
export type TestControls = {
|
|
20
|
-
readonly capture: CaptureMode | null;
|
|
21
|
-
readonly duplicateExecution: DuplicateExecutionControl | null;
|
|
22
|
-
readonly timeoutMilliseconds: number | null;
|
|
23
|
-
};
|
|
24
|
-
export {};
|
|
25
|
-
//# sourceMappingURL=test-data.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"test-data.d.ts","sourceRoot":"","sources":["../../../../source/engine/test-data.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,iBAAiB,+BAAkC,CAAC;AAC1D,QAAA,MAAM,+BAA+B,sCAAyC,CAAC;AAE/E,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG,aAAa,GAAG,WAAW,GAAG,UAAU,GAAG,WAAW,CAAC;AAC9F,MAAM,MAAM,WAAW,GAAG,OAAO,iBAAiB,CAAC,MAAM,CAAC,CAAC;AAC3D,MAAM,MAAM,yBAAyB,GAAG,OAAO,+BAA+B,CAAC,MAAM,CAAC,CAAC;AAEvF,MAAM,MAAM,oBAAoB,GAAG;IAC/B,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACvC,QAAQ,CAAC,IAAI,CAAC,EAAE,SAAS,MAAM,EAAE,CAA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