@gfdelarue/testkit 0.4.4 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +752 -462
- package/bin/testkit-windows-owner-arm64.exe +0 -0
- package/bin/testkit-windows-owner-x64.exe +0 -0
- package/dist/app/bugs/categories.js +1 -1
- package/dist/app/bugs/ci-report.js +2 -2
- package/dist/app/bugs/ci-summary.js +3 -3
- package/dist/app/bugs/draft.js +4 -4
- package/dist/app/bugs/facts.js +2 -2
- package/dist/app/bugs/file.js +1 -1
- package/dist/app/bugs/gate.js +1 -1
- package/dist/app/bugs/guide.js +3 -3
- package/dist/app/bugs/issue.js +4 -4
- package/dist/app/bugs/known-failures.js +1 -1
- package/dist/app/bugs/record.js +2 -2
- package/dist/app/bugs/run-reading.js +1 -1
- package/dist/app/bugs/supplied-reproduce.js +1 -0
- package/dist/app/campaigns/campaign.js +1 -1
- package/dist/app/cleanup/index.js +1 -1
- package/dist/app/db-schema/prepare.js +1 -1
- package/dist/app/destroy/index.js +1 -1
- package/dist/app/discover/index.js +2 -2
- package/dist/app/doctor/index.js +1 -1
- package/dist/app/environments/config-driven.js +1 -0
- package/dist/app/environments/environment-file.js +1 -0
- package/dist/app/environments/file-setup.js +1 -0
- package/dist/app/environments/routing.js +1 -0
- package/dist/app/environments/static-values.js +1 -0
- package/dist/app/environments/supplied-input.js +1 -0
- package/dist/app/environments/supplied.js +1 -0
- package/dist/app/environments/task-databases.js +2 -0
- package/dist/app/file-selection.js +1 -1
- package/dist/app/inspect/artifacts.js +1 -1
- package/dist/app/inspect/index.js +1 -1
- package/dist/app/lint/index.js +1 -1
- package/dist/app/lint/native.js +1 -1
- package/dist/app/lint/options.js +1 -1
- package/dist/app/lint/rules/data.js +1 -1
- package/dist/app/lint/rules/engine-imports.js +1 -1
- package/dist/app/lint/rules/syntax.js +1 -1
- package/dist/app/lint/rules/unit.js +1 -1
- package/dist/app/lint/shared.js +1 -1
- package/dist/app/package-inspection.js +1 -1
- package/dist/app/reports/files.js +1 -0
- package/dist/app/reports/prepare.js +2 -0
- package/dist/app/reports/publish.js +1 -0
- package/dist/app/run/caller-redaction.js +1 -0
- package/dist/app/run/engine-evidence-persistence.js +1 -1
- package/dist/app/run/engine-execution-failures.js +1 -1
- package/dist/app/run/engine-execution-reporting.js +1 -1
- package/dist/app/run/engine-execution.js +1 -1
- package/dist/app/run/engine-orchestration.js +1 -1
- package/dist/app/run/environment.js +1 -0
- package/dist/app/run/failure-details.js +1 -1
- package/dist/app/run/live-run.js +1 -1
- package/dist/app/run/orchestrator.js +1 -1
- package/dist/app/run/planning.js +1 -1
- package/dist/app/run/request.js +1 -1
- package/dist/app/run/results.js +1 -1
- package/dist/app/run/run-events.js +1 -1
- package/dist/app/run/run-finalization.js +1 -1
- package/dist/app/run/runtime-fixtures.js +1 -1
- package/dist/app/run/scheduler/estimates.js +1 -1
- package/dist/app/run/scheduler/identity.js +1 -1
- package/dist/app/run/scheduler/index.js +1 -1
- package/dist/app/run/scheduler/locks.js +1 -0
- package/dist/app/run/selection.js +1 -1
- package/dist/app/run/setup/runtime-node-setup-protocol.js +1 -1
- package/dist/app/run/setup/runtime-node-setup-worker.js +1 -1
- package/dist/app/run/setup/runtime-node-setup.js +2 -2
- package/dist/app/run/task-batches.js +1 -1
- package/dist/app/run/task-leases.js +1 -0
- package/dist/app/run/worker-loop.js +1 -1
- package/dist/app/status/runs.js +1 -1
- package/dist/app/tracker/index.js +1 -1
- package/dist/app/typecheck/index.js +4 -4
- package/dist/cli/command-catalog.js +1 -1
- package/dist/cli/command-flags.js +1 -1
- package/dist/cli/command-registry.js +1 -1
- package/dist/cli/commands/artifacts.js +2 -2
- package/dist/cli/commands/bug/file.js +2 -2
- package/dist/cli/commands/bug/record.js +2 -2
- package/dist/cli/commands/discover.js +1 -1
- package/dist/cli/commands/report/prepare.js +5 -0
- package/dist/cli/commands/report/publish.js +2 -0
- package/dist/cli/commands/run.js +2 -2
- package/dist/cli/commands/typecheck.js +1 -1
- package/dist/cli/commands/workspace.js +1 -1
- package/dist/cli/framework/errors.js +1 -1
- package/dist/cli/framework/execute.js +7 -6
- package/dist/cli/framework/parser.js +1 -1
- package/dist/cli/json-errors.js +1 -1
- package/dist/cli/operations/run/operation.js +2 -2
- package/dist/cli/renderers/bug/text.js +1 -1
- package/dist/cli/renderers/discover/report.js +1 -1
- package/dist/cli/renderers/doctor/text.js +1 -1
- package/dist/cli/renderers/run/events.js +2 -2
- package/dist/cli/renderers/run/formatting.js +1 -1
- package/dist/cli/renderers/run/status.js +1 -1
- package/dist/cli/renderers/run/text-reporter.js +24 -22
- package/dist/cli/terminal/colors.js +1 -1
- package/dist/cli/terminal/layout.js +2 -2
- package/dist/config/authoring/http-methods.js +1 -1
- package/dist/config/authoring/index.js +1 -1
- package/dist/config/authoring/preset-env.js +1 -1
- package/dist/config/loader/config-loader.js +1 -1
- package/dist/config/loader/database.js +1 -1
- package/dist/config/loader/decode-execution.js +1 -1
- package/dist/config/loader/dependencies.js +1 -1
- package/dist/config/loader/discover-tests.js +1 -1
- package/dist/config/loader/discovery-summary.js +1 -1
- package/dist/config/loader/discovery.js +2 -2
- package/dist/config/loader/env.js +1 -1
- package/dist/config/loader/execution-model.js +1 -1
- package/dist/config/loader/file-metadata.js +1 -1
- package/dist/config/loader/groups.js +1 -0
- package/dist/config/loader/index.js +1 -1
- package/dist/config/loader/load.js +1 -1
- package/dist/config/loader/managed-configs.js +1 -1
- package/dist/config/loader/owned-discovery.js +1 -0
- package/dist/config/loader/path-policy.js +1 -1
- package/dist/config/loader/runtime-isolation.js +1 -1
- package/dist/config/loader/runtime.js +1 -1
- package/dist/config/loader/skip-config.js +1 -1
- package/dist/config/loader/task-policy.js +1 -0
- package/dist/config/loader/test-selection.js +1 -1
- package/dist/config/loader/validation.js +1 -1
- package/dist/database/activity-gate.js +1 -1
- package/dist/database/admin.js +2 -2
- package/dist/database/bindings.js +1 -0
- package/dist/database/cleanup.js +1 -1
- package/dist/database/docker-metadata.js +3 -3
- package/dist/database/docker.js +3 -3
- package/dist/database/index.js +1 -1
- package/dist/database/lifecycle-cleanup.js +1 -1
- package/dist/database/local-postgres.js +1 -1
- package/dist/database/naming.js +1 -1
- package/dist/database/postgres/connection-check.js +1 -0
- package/dist/database/postgres/protocol.js +2 -0
- package/dist/database/schema-operations.js +1 -1
- package/dist/database/schema-source.js +3 -3
- package/dist/database/source-schema-env.js +1 -0
- package/dist/database/source-url.js +2 -2
- package/dist/database/state-files.js +1 -1
- package/dist/database/state.js +1 -1
- package/dist/database/steps.js +3 -3
- package/dist/domain/file-timeout.js +1 -1
- package/dist/domain/identifiers.js +1 -1
- package/dist/domain/operation-display.js +1 -1
- package/dist/domain/retired-test-types.js +1 -0
- package/dist/domain/runtime-isolation-contract.js +1 -1
- package/dist/domain/suite-selection.js +1 -1
- package/dist/domain/test-outcomes.js +1 -1
- package/dist/domain/test-types.js +1 -1
- package/dist/engines/adapters/evidence-files.js +1 -1
- package/dist/engines/adapters/evidence-identity.js +1 -1
- package/dist/engines/adapters/execution.js +1 -1
- package/dist/engines/adapters/json-bounds.js +2 -0
- package/dist/engines/adapters/native-report.js +1 -1
- package/dist/engines/api/execution-scope.js +1 -1
- package/dist/engines/api/execution.js +1 -1
- package/dist/engines/api/index.js +1 -1
- package/dist/engines/api/runtime-artifact.js +1 -1
- package/dist/engines/bundle-cache.js +1 -1
- package/dist/engines/catalog.js +1 -1
- package/dist/engines/contracts/environment-values.js +1 -0
- package/dist/engines/contracts/fixture-manifest.js +1 -1
- package/dist/engines/definitions.js +1 -1
- package/dist/engines/environment/handles.js +1 -0
- package/dist/engines/environment/index.js +1 -0
- package/dist/engines/factory.js +1 -1
- package/dist/engines/installations/node-vitest.js +1 -1
- package/dist/engines/installations/package-resolution.js +1 -1
- package/dist/engines/installations/playwright-resolution-child.js +1 -1
- package/dist/engines/installations/playwright.js +1 -1
- package/dist/engines/managed-module-resolution-policy-input.js +1 -1
- package/dist/engines/managed-module-resolution-policy.js +1 -1
- package/dist/engines/managed-module-resolution.js +2 -2
- package/dist/engines/manager.js +1 -1
- package/dist/engines/node-vitest/adapter/adapter.js +1 -1
- package/dist/engines/node-vitest/adapter/driver.js +2 -0
- package/dist/engines/node-vitest/adapter/evidence.js +2 -2
- package/dist/engines/node-vitest/adapter/failure-details.js +4 -2
- package/dist/engines/node-vitest/adapter/reporter.js +1 -1
- package/dist/engines/node-vitest/adapter/workspace.js +31 -192
- package/dist/engines/node-vitest/inventory/index.js +2 -0
- package/dist/engines/node-vitest/inventory/list-files.js +3 -0
- package/dist/engines/node-vitest/runtime/contract/index.js +1 -1
- package/dist/engines/node-vitest/runtime/data/http.js +1 -1
- package/dist/engines/node-vitest/runtime/data/index.js +1 -1
- package/dist/engines/node-vitest/runtime/data/report.js +5 -6
- package/dist/engines/node-vitest/runtime/data/scenario.js +2 -2
- package/dist/engines/node-vitest/runtime/runtime-input.js +1 -1
- package/dist/engines/node-vitest/selection.js +1 -0
- package/dist/engines/playwright/adapter/adapter.js +1 -1
- package/dist/engines/playwright/adapter/config.js +4 -4
- package/dist/engines/playwright/adapter/evidence-validation.js +1 -1
- package/dist/engines/playwright/adapter/evidence.js +1 -1
- package/dist/engines/playwright/adapter/reporter.js +1 -1
- package/dist/engines/playwright/runtime/config-file.js +1 -1
- package/dist/engines/playwright/runtime/config.js +1 -1
- package/dist/engines/playwright/runtime/runtime-input.js +43 -20
- package/dist/engines/runtime-input-file.js +1 -1
- package/dist/environment/lifecycle-artifacts.js +1 -1
- package/dist/environment/lifecycle-controller.js +1 -1
- package/dist/environment/lifecycle.js +1 -1
- package/dist/environment/ports.js +1 -0
- package/dist/environment/ready-environment.js +1 -1
- package/dist/environment/run-environment.js +1 -1
- package/dist/environment/run-stopping.js +1 -1
- package/dist/environment/runtime-contexts.js +1 -1
- package/dist/environment/runtime-manager.js +1 -1
- package/dist/environment/runtime-planning.js +1 -1
- package/dist/environment/runtime-preparation.js +1 -1
- package/dist/environment/services.js +3 -1
- package/dist/environment/state.js +1 -1
- package/dist/environment/template.js +1 -1
- package/dist/evidence/artifact-config.js +1 -1
- package/dist/evidence/artifact-validation.js +1 -1
- package/dist/evidence/artifacts.js +2 -2
- package/dist/evidence/bundles.js +1 -1
- package/dist/evidence/environment-record.js +1 -0
- package/dist/evidence/index.js +1 -1
- package/dist/evidence/logs.js +2 -2
- package/dist/evidence/operation-timings.js +1 -1
- package/dist/evidence/read-fields.js +1 -1
- package/dist/evidence/read-run.js +1 -1
- package/dist/evidence/reading.js +1 -1
- package/dist/evidence/redaction.js +4 -0
- package/dist/evidence/reporting.js +1 -1
- package/dist/evidence/run-model.js +1 -0
- package/dist/evidence/storage.js +2 -2
- package/dist/evidence/timing.js +1 -1
- package/dist/kernel/error-serialization.js +1 -1
- package/dist/kernel/redaction-targets.js +1 -0
- package/dist/kernel/redaction.js +4 -1
- package/dist/kernel/unknown-values.js +1 -1
- package/dist/process/environment.js +1 -1
- package/dist/process/execa-bundle.json +3 -3
- package/dist/process/files/json-file.js +1 -1
- package/dist/process/files/paths.js +1 -1
- package/dist/process/host/metadata.js +1 -1
- package/dist/process/host/platform.js +1 -1
- package/dist/process/host-process.js +1 -1
- package/dist/process/index.js +1 -1
- package/dist/process/lifecycle-fence.js +1 -1
- package/dist/process/locks.js +4 -4
- package/dist/process/port-listener.js +2 -0
- package/dist/process/process-group.js +1 -1
- package/dist/process/process-identity.js +1 -1
- package/dist/process/process.js +33 -33
- package/dist/process/readiness.js +1 -1
- package/dist/process/ready-deadline.js +1 -0
- package/dist/process/recovery.js +1 -1
- package/dist/process/runs/manifest.js +1 -1
- package/dist/process/runs/ownership.js +1 -1
- package/dist/process/runs/product-state.js +1 -1
- package/dist/process/runs/stop.js +1 -1
- package/dist/process/service-processes.js +1 -1
- package/dist/process/stoppable-settlement.js +1 -0
- package/dist/process/url-redaction.js +1 -0
- package/dist/process/windows-cli-owner.js +3 -3
- package/dist/process/windows-native.js +1 -1
- package/dist/repo/ci-environment.js +1 -1
- package/dist/repo/fingerprint-policy.js +1 -1
- package/dist/repo/managed-git.js +1 -1
- package/dist/repo/physical-tree.js +1 -1
- package/dist/repo/publish-directory.js +3 -0
- package/dist/repo/state.js +4 -4
- package/dist/steps/build-config.js +1 -1
- package/dist/steps/configured-step-testkit-modules.js +1 -1
- package/dist/steps/configured-steps.js +1 -1
- package/dist/steps/environment.js +1 -1
- package/dist/steps/index.js +1 -1
- package/dist/steps/run.js +2 -2
- package/dist/toolchains/archive.js +1 -1
- package/dist/toolchains/index.js +3 -3
- package/dist/toolchains/node-provisioning.js +2 -2
- package/dist/toolchains/semver.js +1 -1
- package/dist/toolchains/vitest/index.js +1 -1
- package/dist/tracker/redaction.js +1 -2
- package/dist/{config/runtime/build-assets.d.ts → types/config-build-assets.d.ts} +5 -3
- package/dist/{database/steps.d.ts → types/config-database-steps.d.ts} +7 -7
- package/dist/{config/runtime/next-runtime-tsconfig.d.ts → types/config-next-runtime-tsconfig.d.ts} +5 -3
- package/dist/types/config.d.ts +501 -0
- package/dist/types/drizzle.d.ts +13 -0
- package/dist/{config/runtime/env/index.d.ts → types/env.d.ts} +22 -20
- package/dist/types/environment.d.ts +40 -0
- package/dist/types/index.d.ts +21 -0
- package/dist/types/node-vitest-contract.d.ts +75 -0
- package/dist/types/node-vitest-data.d.ts +407 -0
- package/dist/types/playwright.d.ts +130 -0
- package/dist/types/tooling-vitest.d.ts +13 -0
- package/dist/types/workspace.d.ts +617 -0
- package/docs/bug-records.md +83 -81
- package/docs/engines.md +213 -0
- package/docs/test-types.md +35 -33
- package/package.json +22 -29
- package/testkit-config-schema.md +403 -171
- package/dist/app/bugs/areas.d.ts +0 -38
- package/dist/app/bugs/assessment.d.ts +0 -9
- package/dist/app/bugs/categories.d.ts +0 -41
- package/dist/app/bugs/ci-report.d.ts +0 -21
- package/dist/app/bugs/ci-summary.d.ts +0 -13
- package/dist/app/bugs/draft.d.ts +0 -70
- package/dist/app/bugs/facts.d.ts +0 -48
- package/dist/app/bugs/file.d.ts +0 -45
- package/dist/app/bugs/gate.d.ts +0 -22
- package/dist/app/bugs/guide.d.ts +0 -20
- package/dist/app/bugs/issue.d.ts +0 -18
- package/dist/app/bugs/known-failures.d.ts +0 -49
- package/dist/app/bugs/record.d.ts +0 -14
- package/dist/app/bugs/run-reading.d.ts +0 -51
- package/dist/app/bugs/store.d.ts +0 -34
- package/dist/app/campaigns/brief.d.ts +0 -7
- package/dist/app/campaigns/campaign.d.ts +0 -14
- package/dist/app/campaigns/index.d.ts +0 -38
- package/dist/app/campaigns/store.d.ts +0 -5
- package/dist/app/campaigns/summary.d.ts +0 -13
- package/dist/app/cleanup/index.d.ts +0 -52
- package/dist/app/db-schema/prepare.d.ts +0 -11
- package/dist/app/db-schema/refresh.d.ts +0 -17
- package/dist/app/db-schema/verify.d.ts +0 -11
- package/dist/app/destroy/index.d.ts +0 -16
- package/dist/app/discover/index.d.ts +0 -8
- package/dist/app/doctor/index.d.ts +0 -17
- package/dist/app/file-selection.d.ts +0 -1
- package/dist/app/inspect/artifacts.d.ts +0 -30
- package/dist/app/inspect/index.d.ts +0 -112
- package/dist/app/lint/index.d.ts +0 -28
- package/dist/app/lint/native.d.ts +0 -10
- package/dist/app/lint/options.d.ts +0 -67
- package/dist/app/lint/policy.d.ts +0 -21
- package/dist/app/lint/rules/data.d.ts +0 -3
- package/dist/app/lint/rules/engine-imports.d.ts +0 -3
- package/dist/app/lint/rules/syntax.d.ts +0 -4
- package/dist/app/lint/rules/unit.d.ts +0 -3
- package/dist/app/lint/shared.d.ts +0 -36
- package/dist/app/package-inspection.d.ts +0 -20
- package/dist/app/run/endpoint-readiness.d.ts +0 -43
- package/dist/app/run/endpoint-readiness.js +0 -1
- package/dist/app/run/engine-evidence-persistence.d.ts +0 -39
- package/dist/app/run/engine-execution-cleanup.d.ts +0 -8
- package/dist/app/run/engine-execution-cleanup.js +0 -1
- package/dist/app/run/engine-execution-failures.d.ts +0 -41
- package/dist/app/run/engine-execution-observer.d.ts +0 -21
- package/dist/app/run/engine-execution-reporting.d.ts +0 -17
- package/dist/app/run/engine-execution.d.ts +0 -63
- package/dist/app/run/engine-failure-stack.d.ts +0 -1
- package/dist/app/run/engine-orchestration.d.ts +0 -49
- package/dist/app/run/failure-details.d.ts +0 -37
- package/dist/app/run/live-run.d.ts +0 -27
- package/dist/app/run/operation-progress.d.ts +0 -13
- package/dist/app/run/orchestrator.d.ts +0 -68
- package/dist/app/run/planning-types.d.ts +0 -68
- package/dist/app/run/planning.d.ts +0 -15
- package/dist/app/run/playwright-configuration.d.ts +0 -2
- package/dist/app/run/playwright-configuration.js +0 -1
- package/dist/app/run/request.d.ts +0 -30
- package/dist/app/run/results.d.ts +0 -161
- package/dist/app/run/run-events.d.ts +0 -144
- package/dist/app/run/run-finalization.d.ts +0 -52
- package/dist/app/run/run-guards.d.ts +0 -3
- package/dist/app/run/runtime-failures.d.ts +0 -18
- package/dist/app/run/runtime-fixtures.d.ts +0 -2
- package/dist/app/run/runtime-task-types.d.ts +0 -20
- package/dist/app/run/scheduler/estimates.d.ts +0 -32
- package/dist/app/run/scheduler/identity.d.ts +0 -9
- package/dist/app/run/scheduler/index.d.ts +0 -124
- package/dist/app/run/scheduler/observations.d.ts +0 -20
- package/dist/app/run/selection.d.ts +0 -10
- package/dist/app/run/setup/runtime-node-setup-errors.d.ts +0 -13
- package/dist/app/run/setup/runtime-node-setup-protocol.d.ts +0 -85
- package/dist/app/run/setup/runtime-node-setup-worker.d.ts +0 -1
- package/dist/app/run/setup/runtime-node-setup.d.ts +0 -48
- package/dist/app/run/task-batches.d.ts +0 -23
- package/dist/app/run/worker-loop.d.ts +0 -57
- package/dist/app/setup/playwright.d.ts +0 -22
- package/dist/app/status/index.d.ts +0 -9
- package/dist/app/status/model.d.ts +0 -29
- package/dist/app/status/runs.d.ts +0 -99
- package/dist/app/stop/index.d.ts +0 -14
- package/dist/app/tracker/index.d.ts +0 -8
- package/dist/app/tracker/remote.d.ts +0 -13
- package/dist/app/tracker/token.d.ts +0 -7
- package/dist/app/typecheck/index.d.ts +0 -63
- package/dist/cli/command-catalog.d.ts +0 -137
- package/dist/cli/command-flags.d.ts +0 -19
- package/dist/cli/command-registry.d.ts +0 -3
- package/dist/cli/commands/artifacts.d.ts +0 -48
- package/dist/cli/commands/bug/file.d.ts +0 -16
- package/dist/cli/commands/bug/guide.d.ts +0 -5
- package/dist/cli/commands/bug/record.d.ts +0 -9
- package/dist/cli/commands/campaign/finish.d.ts +0 -10
- package/dist/cli/commands/campaign/start.d.ts +0 -7
- package/dist/cli/commands/campaign/status.d.ts +0 -13
- package/dist/cli/commands/ci/report.d.ts +0 -15
- package/dist/cli/commands/cleanup.d.ts +0 -13
- package/dist/cli/commands/db/schema/refresh.d.ts +0 -2
- package/dist/cli/commands/db/schema/verify.d.ts +0 -2
- package/dist/cli/commands/destroy.d.ts +0 -9
- package/dist/cli/commands/discover.d.ts +0 -2
- package/dist/cli/commands/doctor.d.ts +0 -2
- package/dist/cli/commands/guard/unsafe-entrypoint.d.ts +0 -2
- package/dist/cli/commands/lint.d.ts +0 -2
- package/dist/cli/commands/run/status.d.ts +0 -5
- package/dist/cli/commands/run/stop.d.ts +0 -7
- package/dist/cli/commands/run.d.ts +0 -9
- package/dist/cli/commands/setup/playwright.d.ts +0 -2
- package/dist/cli/commands/status.d.ts +0 -5
- package/dist/cli/commands/stop.d.ts +0 -12
- package/dist/cli/commands/typecheck.d.ts +0 -2
- package/dist/cli/commands/workspace.d.ts +0 -2
- package/dist/cli/entrypoint.d.ts +0 -1
- package/dist/cli/framework/command.d.ts +0 -21
- package/dist/cli/framework/definitions.d.ts +0 -100
- package/dist/cli/framework/errors.d.ts +0 -6
- package/dist/cli/framework/execute.d.ts +0 -14
- package/dist/cli/framework/help.d.ts +0 -11
- package/dist/cli/framework/index.d.ts +0 -3
- package/dist/cli/framework/parser.d.ts +0 -6
- package/dist/cli/index.d.ts +0 -4
- package/dist/cli/json-errors.d.ts +0 -3
- package/dist/cli/operations/db/schema/refresh/operation.d.ts +0 -7
- package/dist/cli/operations/db/schema/verify/operation.d.ts +0 -7
- package/dist/cli/operations/run/operation.d.ts +0 -24
- package/dist/cli/process-signal.d.ts +0 -1
- package/dist/cli/renderers/bug/text.d.ts +0 -8
- package/dist/cli/renderers/campaign/text.d.ts +0 -2
- package/dist/cli/renderers/ci/text.d.ts +0 -2
- package/dist/cli/renderers/cleanup/format.d.ts +0 -14
- package/dist/cli/renderers/db-schema/text.d.ts +0 -4
- package/dist/cli/renderers/destroy/text.d.ts +0 -4
- package/dist/cli/renderers/discover/report.d.ts +0 -7
- package/dist/cli/renderers/discover/text.d.ts +0 -3
- package/dist/cli/renderers/doctor/text.d.ts +0 -2
- package/dist/cli/renderers/lint/text.d.ts +0 -2
- package/dist/cli/renderers/run/events.d.ts +0 -8
- package/dist/cli/renderers/run/failure.d.ts +0 -8
- package/dist/cli/renderers/run/formatting.d.ts +0 -79
- package/dist/cli/renderers/run/status.d.ts +0 -6
- package/dist/cli/renderers/run/text-reporter.d.ts +0 -19
- package/dist/cli/renderers/status/text.d.ts +0 -2
- package/dist/cli/renderers/stop/text.d.ts +0 -7
- package/dist/cli/renderers/typecheck/text.d.ts +0 -2
- package/dist/cli/terminal/colors.d.ts +0 -10
- package/dist/cli/terminal/layout.d.ts +0 -11
- package/dist/cli/version-drift.d.ts +0 -25
- package/dist/config/authoring/build-config-contract.d.ts +0 -27
- package/dist/config/authoring/configured-step-contract.d.ts +0 -18
- package/dist/config/authoring/http-execution-contract.d.ts +0 -70
- package/dist/config/authoring/http-methods.d.ts +0 -18
- package/dist/config/authoring/index.d.ts +0 -381
- package/dist/config/authoring/preset-env.d.ts +0 -19
- package/dist/config/authoring/runtime.d.ts +0 -64
- package/dist/config/loader/bugs.d.ts +0 -15
- package/dist/config/loader/config-loader.d.ts +0 -9
- package/dist/config/loader/database-materialization.d.ts +0 -19
- package/dist/config/loader/database-roles.d.ts +0 -2
- package/dist/config/loader/database.d.ts +0 -55
- package/dist/config/loader/decode-discovery.d.ts +0 -5
- package/dist/config/loader/decode-execution.d.ts +0 -9
- package/dist/config/loader/dependencies.d.ts +0 -7
- package/dist/config/loader/discover-tests.d.ts +0 -111
- package/dist/config/loader/discovery-summary.d.ts +0 -29
- package/dist/config/loader/discovery.d.ts +0 -54
- package/dist/config/loader/env.d.ts +0 -4
- package/dist/config/loader/execution-model.d.ts +0 -16
- package/dist/config/loader/file-metadata.d.ts +0 -19
- package/dist/config/loader/index.d.ts +0 -10
- package/dist/config/loader/load.d.ts +0 -91
- package/dist/config/loader/managed-configs.d.ts +0 -23
- package/dist/config/loader/path-policy.d.ts +0 -9
- package/dist/config/loader/paths.d.ts +0 -5
- package/dist/config/loader/runtime-isolation.d.ts +0 -44
- package/dist/config/loader/runtime.d.ts +0 -25
- package/dist/config/loader/skip-config.d.ts +0 -44
- package/dist/config/loader/test-selection.d.ts +0 -15
- package/dist/config/loader/validation.d.ts +0 -16
- package/dist/config/loader/values.d.ts +0 -4
- package/dist/config/loader/values.js +0 -1
- package/dist/database/activity-gate.d.ts +0 -22
- package/dist/database/admin.d.ts +0 -31
- package/dist/database/cleanup.d.ts +0 -36
- package/dist/database/configured-steps.d.ts +0 -27
- package/dist/database/constants.d.ts +0 -11
- package/dist/database/docker-metadata.d.ts +0 -3
- package/dist/database/docker.d.ts +0 -65
- package/dist/database/drizzle/index.d.ts +0 -13
- package/dist/database/fingerprint.d.ts +0 -12
- package/dist/database/index.d.ts +0 -39
- package/dist/database/lifecycle-cleanup.d.ts +0 -7
- package/dist/database/local-postgres.d.ts +0 -71
- package/dist/database/naming.d.ts +0 -17
- package/dist/database/postgres/index.d.ts +0 -71
- package/dist/database/progress.d.ts +0 -6
- package/dist/database/roles.d.ts +0 -19
- package/dist/database/runtime-config.d.ts +0 -16
- package/dist/database/runtime-reservations.d.ts +0 -19
- package/dist/database/schema-operations.d.ts +0 -18
- package/dist/database/schema-source.d.ts +0 -96
- package/dist/database/source-refresh-lock.d.ts +0 -8
- package/dist/database/source-url.d.ts +0 -22
- package/dist/database/state-files.d.ts +0 -13
- package/dist/database/state.d.ts +0 -26
- package/dist/database/template-steps.d.ts +0 -39
- package/dist/domain/file-timeout.d.ts +0 -28
- package/dist/domain/identifiers.d.ts +0 -9
- package/dist/domain/operation-display.d.ts +0 -10
- package/dist/domain/operation-reason.d.ts +0 -5
- package/dist/domain/postgres-route.d.ts +0 -4
- package/dist/domain/runtime-identity.d.ts +0 -1
- package/dist/domain/runtime-isolation-contract.d.ts +0 -5
- package/dist/domain/service-name.d.ts +0 -2
- package/dist/domain/suite-selection.d.ts +0 -20
- package/dist/domain/test-outcomes.d.ts +0 -3
- package/dist/domain/test-types.d.ts +0 -16
- package/dist/engines/adapters/evidence-files.d.ts +0 -32
- package/dist/engines/adapters/evidence-identity.d.ts +0 -12
- package/dist/engines/adapters/execution.d.ts +0 -42
- package/dist/engines/adapters/native-report.d.ts +0 -25
- package/dist/engines/adapters/node-startup-cache.d.ts +0 -8
- package/dist/engines/adapters/workspace.d.ts +0 -4
- package/dist/engines/api/capabilities.d.ts +0 -31
- package/dist/engines/api/capabilities.js +0 -1
- package/dist/engines/api/evidence.d.ts +0 -38
- package/dist/engines/api/execution-observer.d.ts +0 -8
- package/dist/engines/api/execution-scope.d.ts +0 -17
- package/dist/engines/api/execution.d.ts +0 -101
- package/dist/engines/api/index.d.ts +0 -5
- package/dist/engines/api/k6-runtime-input.d.ts +0 -26
- package/dist/engines/api/k6-runtime-input.js +0 -1
- package/dist/engines/api/runtime-artifact.d.ts +0 -19
- package/dist/engines/bundle-cache.d.ts +0 -32
- package/dist/engines/catalog.d.ts +0 -27
- package/dist/engines/contracts/fixture-manifest.d.ts +0 -34
- package/dist/engines/contracts/json-bounds.d.ts +0 -36
- package/dist/engines/contracts/json-bounds.js +0 -2
- package/dist/engines/contracts/k6-repository-configuration.d.ts +0 -12
- package/dist/engines/contracts/k6-repository-configuration.js +0 -1
- package/dist/engines/contracts/test-context.d.ts +0 -15
- package/dist/engines/contracts/test-context.js +0 -1
- package/dist/engines/definitions.d.ts +0 -22
- package/dist/engines/factory.d.ts +0 -6
- package/dist/engines/generated-performance.d.ts +0 -1
- package/dist/engines/installation-catalog.d.ts +0 -27
- package/dist/engines/installation-catalog.js +0 -1
- package/dist/engines/installations/k6.d.ts +0 -98
- package/dist/engines/installations/k6.js +0 -1
- package/dist/engines/installations/node-vitest.d.ts +0 -33
- package/dist/engines/installations/package-requirements.d.ts +0 -28
- package/dist/engines/installations/package-resolution.d.ts +0 -51
- package/dist/engines/installations/playwright-resolution-child.d.ts +0 -1
- package/dist/engines/installations/playwright.d.ts +0 -75
- package/dist/engines/installations/types.d.ts +0 -10
- package/dist/engines/k6/adapter/bundle.d.ts +0 -25
- package/dist/engines/k6/adapter/bundle.js +0 -112
- package/dist/engines/k6/adapter/evidence.d.ts +0 -15
- package/dist/engines/k6/adapter/evidence.js +0 -4
- package/dist/engines/k6/adapter/executor.d.ts +0 -13
- package/dist/engines/k6/adapter/executor.js +0 -1
- package/dist/engines/k6/adapter/index.d.ts +0 -1
- package/dist/engines/k6/adapter/index.js +0 -1
- package/dist/engines/k6/adapter/input.d.ts +0 -21
- package/dist/engines/k6/adapter/input.js +0 -1
- package/dist/engines/k6/adapter/native-summary.d.ts +0 -11
- package/dist/engines/k6/adapter/native-summary.js +0 -1
- package/dist/engines/k6/adapter/repository-configuration.d.ts +0 -2
- package/dist/engines/k6/adapter/repository-configuration.js +0 -1
- package/dist/engines/k6/authoring-type-paths.d.ts +0 -3
- package/dist/engines/k6/authoring-type-paths.js +0 -1
- package/dist/engines/k6/runtime/ambient-types/bundle-manifest.json +0 -146
- package/dist/engines/k6/runtime/ambient-types/k6/LICENSE +0 -21
- package/dist/engines/k6/runtime/ambient-types/k6/browser/index.d.ts +0 -6332
- package/dist/engines/k6/runtime/ambient-types/k6/crypto/index.d.ts +0 -218
- package/dist/engines/k6/runtime/ambient-types/k6/data/index.d.ts +0 -16
- package/dist/engines/k6/runtime/ambient-types/k6/encoding/index.d.ts +0 -46
- package/dist/engines/k6/runtime/ambient-types/k6/execution/index.d.ts +0 -127
- package/dist/engines/k6/runtime/ambient-types/k6/experimental/csv/index.d.ts +0 -96
- package/dist/engines/k6/runtime/ambient-types/k6/experimental/fs/index.d.ts +0 -104
- package/dist/engines/k6/runtime/ambient-types/k6/experimental/redis/index.d.ts +0 -821
- package/dist/engines/k6/runtime/ambient-types/k6/experimental/streams/index.d.ts +0 -198
- package/dist/engines/k6/runtime/ambient-types/k6/global.d.ts +0 -83
- package/dist/engines/k6/runtime/ambient-types/k6/html/index.d.ts +0 -1325
- package/dist/engines/k6/runtime/ambient-types/k6/http/index.d.ts +0 -806
- package/dist/engines/k6/runtime/ambient-types/k6/index.d.ts +0 -126
- package/dist/engines/k6/runtime/ambient-types/k6/metrics/index.d.ts +0 -66
- package/dist/engines/k6/runtime/ambient-types/k6/net/grpc/index.d.ts +0 -247
- package/dist/engines/k6/runtime/ambient-types/k6/options/index.d.ts +0 -459
- package/dist/engines/k6/runtime/ambient-types/k6/package.json +0 -79
- package/dist/engines/k6/runtime/ambient-types/k6/secrets/index.d.ts +0 -36
- package/dist/engines/k6/runtime/ambient-types/k6/timers/index.d.ts +0 -47
- package/dist/engines/k6/runtime/ambient-types/k6/websockets/index.d.ts +0 -324
- package/dist/engines/k6/runtime/ambient-types/k6/ws/index.d.ts +0 -283
- package/dist/engines/k6/runtime/ambient-types/xk6-sql/LICENSE +0 -201
- package/dist/engines/k6/runtime/ambient-types/xk6-sql/index.d.ts +0 -397
- package/dist/engines/k6/runtime/ambient-types/xk6-sql/package.json +0 -15
- package/dist/engines/k6/runtime/artifacts.d.ts +0 -2
- package/dist/engines/k6/runtime/artifacts.js +0 -1
- package/dist/engines/k6/runtime/checks.d.ts +0 -17
- package/dist/engines/k6/runtime/checks.js +0 -1
- package/dist/engines/k6/runtime/dal-fixtures.d.ts +0 -24
- package/dist/engines/k6/runtime/dal-fixtures.js +0 -1
- package/dist/engines/k6/runtime/dal-suite.d.ts +0 -24
- package/dist/engines/k6/runtime/dal-suite.js +0 -1
- package/dist/engines/k6/runtime/dal.d.ts +0 -10
- package/dist/engines/k6/runtime/dal.js +0 -1
- package/dist/engines/k6/runtime/fixtures.d.ts +0 -3
- package/dist/engines/k6/runtime/fixtures.js +0 -1
- package/dist/engines/k6/runtime/http-assertions.d.ts +0 -19
- package/dist/engines/k6/runtime/http-assertions.js +0 -1
- package/dist/engines/k6/runtime/http-checks.d.ts +0 -19
- package/dist/engines/k6/runtime/http-checks.js +0 -1
- package/dist/engines/k6/runtime/http-suite-runtime.d.ts +0 -103
- package/dist/engines/k6/runtime/http-suite-runtime.js +0 -1
- package/dist/engines/k6/runtime/http.d.ts +0 -15
- package/dist/engines/k6/runtime/http.js +0 -1
- package/dist/engines/k6/runtime/index.d.ts +0 -11
- package/dist/engines/k6/runtime/index.js +0 -1
- package/dist/engines/k6/runtime/input.d.ts +0 -3
- package/dist/engines/k6/runtime/input.js +0 -1
- package/dist/engines/k6/runtime/k6-repository-configuration.d.ts +0 -9
- package/dist/engines/k6/runtime/k6-repository-configuration.js +0 -1
- package/dist/engines/k6/runtime/node-setup.d.ts +0 -13
- package/dist/engines/k6/runtime/node-setup.js +0 -1
- package/dist/engines/k6/runtime/runtime-globals.d.ts +0 -10
- package/dist/engines/k6/runtime/runtime.d.ts +0 -54
- package/dist/engines/k6/runtime/runtime.js +0 -1
- package/dist/engines/k6/runtime/shared/assertion-details.d.ts +0 -19
- package/dist/engines/k6/runtime/shared/assertion-details.js +0 -2
- package/dist/engines/k6/runtime/shared/db-normalization.d.ts +0 -19
- package/dist/engines/k6/runtime/shared/db-normalization.js +0 -1
- package/dist/engines/k6/runtime/shared/error-body.d.ts +0 -3
- package/dist/engines/k6/runtime/shared/error-body.js +0 -1
- package/dist/engines/k6/runtime/shared/file-data.d.ts +0 -1
- package/dist/engines/k6/runtime/shared/file-data.js +0 -1
- package/dist/engines/k6/runtime/shared/fixture-engine.d.ts +0 -8
- package/dist/engines/k6/runtime/shared/fixture-engine.js +0 -2
- package/dist/engines/k6/runtime/shared/http-check-plan.d.ts +0 -29
- package/dist/engines/k6/runtime/shared/http-check-plan.js +0 -1
- package/dist/engines/k6/runtime/shared/http-parsing.d.ts +0 -10
- package/dist/engines/k6/runtime/shared/http-parsing.js +0 -3
- package/dist/engines/k6/runtime/shared/ordering.d.ts +0 -2
- package/dist/engines/k6/runtime/shared/ordering.js +0 -1
- package/dist/engines/k6/runtime/shared/properties.d.ts +0 -1
- package/dist/engines/k6/runtime/shared/properties.js +0 -1
- package/dist/engines/k6/runtime/suite.d.ts +0 -4
- package/dist/engines/k6/runtime/suite.js +0 -1
- package/dist/engines/k6/runtime/types.d.ts +0 -244
- package/dist/engines/k6/runtime/types.js +0 -1
- package/dist/engines/k6/runtime/xk6-sql-driver-postgres.d.ts +0 -7
- package/dist/engines/k6/runtime/xk6-sql-driver-postgres.js +0 -1
- package/dist/engines/managed-module-resolution-policy-input.d.ts +0 -9
- package/dist/engines/managed-module-resolution-policy.d.ts +0 -25
- package/dist/engines/managed-module-resolution.d.ts +0 -13
- package/dist/engines/manager.d.ts +0 -25
- package/dist/engines/node-vitest/adapter/adapter.d.ts +0 -16
- package/dist/engines/node-vitest/adapter/consumer-typescript-paths.d.ts +0 -17
- package/dist/engines/node-vitest/adapter/consumer-typescript-paths.js +0 -3
- package/dist/engines/node-vitest/adapter/evidence.d.ts +0 -33
- package/dist/engines/node-vitest/adapter/failure-details.d.ts +0 -3
- package/dist/engines/node-vitest/adapter/index.d.ts +0 -1
- package/dist/engines/node-vitest/adapter/reporter.d.ts +0 -7
- package/dist/engines/node-vitest/adapter/resolution.d.ts +0 -12
- package/dist/engines/node-vitest/adapter/resolution.js +0 -1
- package/dist/engines/node-vitest/adapter/workspace.d.ts +0 -19
- package/dist/engines/node-vitest/runtime/contract/index.d.ts +0 -64
- package/dist/engines/node-vitest/runtime/data/http.d.ts +0 -4
- package/dist/engines/node-vitest/runtime/data/index.d.ts +0 -8
- package/dist/engines/node-vitest/runtime/data/primitives.d.ts +0 -1
- package/dist/engines/node-vitest/runtime/data/report.d.ts +0 -3
- package/dist/engines/node-vitest/runtime/data/runner.d.ts +0 -4
- package/dist/engines/node-vitest/runtime/data/scenario.d.ts +0 -12
- package/dist/engines/node-vitest/runtime/data/types.d.ts +0 -412
- package/dist/engines/node-vitest/runtime/runtime-input.d.ts +0 -64
- package/dist/engines/playwright/adapter/adapter.d.ts +0 -18
- package/dist/engines/playwright/adapter/attachments.d.ts +0 -26
- package/dist/engines/playwright/adapter/config.d.ts +0 -45
- package/dist/engines/playwright/adapter/evidence-validation.d.ts +0 -12
- package/dist/engines/playwright/adapter/evidence.d.ts +0 -32
- package/dist/engines/playwright/adapter/failure-details.d.ts +0 -2
- package/dist/engines/playwright/adapter/index.d.ts +0 -3
- package/dist/engines/playwright/adapter/reporter.d.ts +0 -12
- package/dist/engines/playwright/runtime/config-file.d.ts +0 -2
- package/dist/engines/playwright/runtime/config.d.ts +0 -24
- package/dist/engines/playwright/runtime/index.d.ts +0 -4
- package/dist/engines/playwright/runtime/runtime-input.d.ts +0 -36
- package/dist/engines/playwright/runtime/sandbox.d.ts +0 -84
- package/dist/engines/runtime-input-file.d.ts +0 -27
- package/dist/environment/lifecycle-artifacts.d.ts +0 -7
- package/dist/environment/lifecycle-controller.d.ts +0 -70
- package/dist/environment/lifecycle.d.ts +0 -29
- package/dist/environment/maintenance.d.ts +0 -68
- package/dist/environment/planning-types.d.ts +0 -35
- package/dist/environment/readiness.d.ts +0 -12
- package/dist/environment/readiness.js +0 -1
- package/dist/environment/ready-environment.d.ts +0 -19
- package/dist/environment/run-environment.d.ts +0 -38
- package/dist/environment/run-stopping.d.ts +0 -13
- package/dist/environment/runtime-contexts.d.ts +0 -33
- package/dist/environment/runtime-manager.d.ts +0 -95
- package/dist/environment/runtime-planning.d.ts +0 -16
- package/dist/environment/runtime-preparation.d.ts +0 -30
- package/dist/environment/runtime-service.d.ts +0 -18
- package/dist/environment/services.d.ts +0 -48
- package/dist/environment/state.d.ts +0 -18
- package/dist/environment/status-runtime.d.ts +0 -53
- package/dist/environment/template.d.ts +0 -180
- package/dist/evidence/artifact-config.d.ts +0 -14
- package/dist/evidence/artifact-validation.d.ts +0 -5
- package/dist/evidence/artifacts.d.ts +0 -75
- package/dist/evidence/bundles.d.ts +0 -27
- package/dist/evidence/ci-provenance.d.ts +0 -9
- package/dist/evidence/contracts.d.ts +0 -154
- package/dist/evidence/file-evidence.d.ts +0 -23
- package/dist/evidence/finalization.d.ts +0 -9
- package/dist/evidence/index.d.ts +0 -8
- package/dist/evidence/logs.d.ts +0 -31
- package/dist/evidence/operation-timings.d.ts +0 -60
- package/dist/evidence/read-bundle.d.ts +0 -4
- package/dist/evidence/read-fields.d.ts +0 -22
- package/dist/evidence/read-provenance.d.ts +0 -2
- package/dist/evidence/read-redaction.d.ts +0 -2
- package/dist/evidence/read-retention.d.ts +0 -2
- package/dist/evidence/read-run.d.ts +0 -2
- package/dist/evidence/reading.d.ts +0 -28
- package/dist/evidence/reporting-types.d.ts +0 -330
- package/dist/evidence/reporting.d.ts +0 -3
- package/dist/evidence/secure-file-copy.d.ts +0 -24
- package/dist/evidence/setup-progress.d.ts +0 -63
- package/dist/evidence/step-output.d.ts +0 -16
- package/dist/evidence/storage-inventory.d.ts +0 -27
- package/dist/evidence/storage.d.ts +0 -27
- package/dist/evidence/timing.d.ts +0 -23
- package/dist/file.d.ts +0 -11
- package/dist/index.d.ts +0 -4
- package/dist/kernel/error-serialization.d.ts +0 -38
- package/dist/kernel/redaction.d.ts +0 -2
- package/dist/kernel/unknown-values.d.ts +0 -6
- package/dist/kernel/work-metrics.d.ts +0 -6
- package/dist/process/capture-output.d.ts +0 -7
- package/dist/process/command-shell.d.ts +0 -1
- package/dist/process/environment-overlay.d.ts +0 -17
- package/dist/process/environment.d.ts +0 -33
- package/dist/process/files/contained-path.d.ts +0 -8
- package/dist/process/files/directory-status.d.ts +0 -14
- package/dist/process/files/dotenv.d.ts +0 -2
- package/dist/process/files/file-snapshot.d.ts +0 -34
- package/dist/process/files/json-file.d.ts +0 -12
- package/dist/process/files/paths.d.ts +0 -1
- package/dist/process/files/product-dir.d.ts +0 -1
- package/dist/process/files/temp-dir.d.ts +0 -11
- package/dist/process/host/metadata.d.ts +0 -6
- package/dist/process/host/platform.d.ts +0 -57
- package/dist/process/host-command.d.ts +0 -4
- package/dist/process/host-inspection-command.d.ts +0 -13
- package/dist/process/host-process.d.ts +0 -19
- package/dist/process/index.d.ts +0 -9
- package/dist/process/lifecycle-fence.d.ts +0 -11
- package/dist/process/locks.d.ts +0 -28
- package/dist/process/process-contracts.d.ts +0 -78
- package/dist/process/process-group.d.ts +0 -12
- package/dist/process/process-identity.d.ts +0 -27
- package/dist/process/process-limits.d.ts +0 -6
- package/dist/process/process.d.ts +0 -12
- package/dist/process/readiness.d.ts +0 -37
- package/dist/process/recovery.d.ts +0 -3
- package/dist/process/runs/inspection.d.ts +0 -5
- package/dist/process/runs/manifest.d.ts +0 -86
- package/dist/process/runs/ownership.d.ts +0 -11
- package/dist/process/runs/product-state.d.ts +0 -2
- package/dist/process/runs/schema.d.ts +0 -3
- package/dist/process/runs/stop.d.ts +0 -19
- package/dist/process/runtime-socket.d.ts +0 -4
- package/dist/process/service-processes.d.ts +0 -13
- package/dist/process/shutdown.d.ts +0 -10
- package/dist/process/windows-cli-owner.d.ts +0 -2
- package/dist/process/windows-native.d.ts +0 -6
- package/dist/process/windows-process-identity.d.ts +0 -4
- package/dist/repo/ci-environment.d.ts +0 -7
- package/dist/repo/fingerprint-policy.d.ts +0 -15
- package/dist/repo/git-path.d.ts +0 -2
- package/dist/repo/history.d.ts +0 -17
- package/dist/repo/managed-git.d.ts +0 -10
- package/dist/repo/metadata.d.ts +0 -3
- package/dist/repo/physical-tree.d.ts +0 -37
- package/dist/repo/remote.d.ts +0 -6
- package/dist/repo/state.d.ts +0 -26
- package/dist/repo/tree-listing.d.ts +0 -10
- package/dist/steps/build-config.d.ts +0 -35
- package/dist/steps/configured-step-testkit-modules.d.ts +0 -19
- package/dist/steps/configured-steps.d.ts +0 -51
- package/dist/steps/environment.d.ts +0 -84
- package/dist/steps/index.d.ts +0 -2
- package/dist/steps/module-runner.d.ts +0 -1
- package/dist/steps/run.d.ts +0 -36
- package/dist/toolchains/archive.d.ts +0 -53
- package/dist/toolchains/esbuild.d.ts +0 -9
- package/dist/toolchains/host-node-support.d.ts +0 -3
- package/dist/toolchains/index.d.ts +0 -114
- package/dist/toolchains/managed-node-releases.d.ts +0 -28
- package/dist/toolchains/node-cache.d.ts +0 -20
- package/dist/toolchains/node-integrity.d.ts +0 -18
- package/dist/toolchains/node-provisioning.d.ts +0 -29
- package/dist/toolchains/semver.d.ts +0 -13
- package/dist/toolchains/shared-operation.d.ts +0 -11
- package/dist/toolchains/timeouts.d.ts +0 -1
- package/dist/toolchains/vitest/index.d.ts +0 -13
- package/dist/tracker/gitea.d.ts +0 -14
- package/dist/tracker/github.d.ts +0 -14
- package/dist/tracker/http.d.ts +0 -33
- package/dist/tracker/index.d.ts +0 -4
- package/dist/tracker/redaction.d.ts +0 -4
- package/dist/tracker/requests.d.ts +0 -17
- package/dist/tracker/responses.d.ts +0 -24
- package/dist/tracker/types.d.ts +0 -51
- package/docs/engine-architecture.md +0 -654
- /package/dist/engines/{k6/runtime/runtime-globals.js → api/profiles.js} +0 -0
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { DatabaseConnection } from "./naming.js";
|
|
2
|
-
export interface LocalPostgresState extends DatabaseConnection {
|
|
3
|
-
containerId: string;
|
|
4
|
-
containerName: string;
|
|
5
|
-
containerPort: number;
|
|
6
|
-
image: string;
|
|
7
|
-
maxConnections: number;
|
|
8
|
-
volumeMountPath?: string | null;
|
|
9
|
-
volumeName?: string | null;
|
|
10
|
-
}
|
|
11
|
-
export declare function writeLocalInfraState(infraDir: string, infra: Readonly<LocalPostgresState>): void;
|
|
12
|
-
export declare function writeCacheState(cacheDir: string, infra: Readonly<LocalPostgresState>, templateDbName: string, fingerprint: string): void;
|
|
13
|
-
export declare function writeStateValue(filePath: string, value: unknown): void;
|
package/dist/database/state.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export type OwnedDatabaseStateKind = "cache" | "infra" | "legacy" | "runtime";
|
|
2
|
-
export interface OwnedDatabaseStateDir {
|
|
3
|
-
readonly dir: string;
|
|
4
|
-
readonly kind: OwnedDatabaseStateKind;
|
|
5
|
-
}
|
|
6
|
-
export interface DatabaseInfo {
|
|
7
|
-
database: string;
|
|
8
|
-
host: string;
|
|
9
|
-
password: string;
|
|
10
|
-
port: number;
|
|
11
|
-
ssl: boolean;
|
|
12
|
-
sslMode: string;
|
|
13
|
-
url: string;
|
|
14
|
-
user: string;
|
|
15
|
-
}
|
|
16
|
-
export declare function getLocalInfraDir(productDir: string): string;
|
|
17
|
-
export declare function getLocalLocksDir(productDir: string): string;
|
|
18
|
-
export declare function getLocalServiceCacheDir(productDir: string, serviceName: string): string;
|
|
19
|
-
export declare function listOwnedDatabaseStateDirs(productDir: string): OwnedDatabaseStateDir[];
|
|
20
|
-
export declare function hasRemainingLocalArtifacts(productDir: string): boolean;
|
|
21
|
-
export declare function readOwnedStateValues(productDir: string, fileNames: readonly string[]): Set<string>;
|
|
22
|
-
export declare function readStateValue(filePath: string): string | null;
|
|
23
|
-
export declare function readDatabaseUrl(stateDir: string): string | null;
|
|
24
|
-
export declare function readDatabaseInfo(stateDir: string): DatabaseInfo | null;
|
|
25
|
-
export declare function resolveContainedDatabaseStateDirectory(productDir: string, ...segments: readonly string[]): string;
|
|
26
|
-
export declare function requireContainedDatabaseStateDirectory(productDir: string, candidateDirectory: string, label?: string): string;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import type { NormalizedDatabaseConfig, NormalizedDatabaseTemplateConfig } from "../config/loader/index.js";
|
|
2
|
-
import { type ConfiguredStepReporter, type ConfiguredStepServiceConfig, type ExecutionEnvironmentConfig, type ExecutionEnvironmentTestkitConfig } from "../steps/index.js";
|
|
3
|
-
import { type RunConfiguredStepsOptions } from "./configured-steps.js";
|
|
4
|
-
import { type StepLogRecord } from "../evidence/setup-progress.js";
|
|
5
|
-
import type { NormalizedConfiguredStep } from "../steps/configured-steps.js";
|
|
6
|
-
import type { OwnedPostgresContainerRoute } from "../domain/postgres-route.js";
|
|
7
|
-
export type DatabaseTemplateStageName = "migrate" | "seed" | "verify";
|
|
8
|
-
type DatabaseTemplateTestkitConfig = ExecutionEnvironmentTestkitConfig & ConfiguredStepServiceConfig["testkit"] & {
|
|
9
|
-
database?: Partial<Pick<NormalizedDatabaseConfig, "sourceSchema" | "template">> | null;
|
|
10
|
-
};
|
|
11
|
-
export interface DatabaseTemplateServiceConfig extends ExecutionEnvironmentConfig, ConfiguredStepServiceConfig {
|
|
12
|
-
runtimeLabel?: string | null;
|
|
13
|
-
testkit: DatabaseTemplateTestkitConfig;
|
|
14
|
-
}
|
|
15
|
-
export type DatabaseTemplateStepOptions = Pick<RunConfiguredStepsOptions, "afterStep" | "ownedContainer" | "parentOperation" | "reporter" | "setupRegistry" | "signal" | "stepTimeoutMs">;
|
|
16
|
-
export interface PostgresDumpOptions {
|
|
17
|
-
env?: NodeJS.ProcessEnv | null;
|
|
18
|
-
image?: string | null;
|
|
19
|
-
logRecord?: StepLogRecord | null;
|
|
20
|
-
ownedContainer?: OwnedPostgresContainerRoute | null;
|
|
21
|
-
pgApplicationName?: string | null;
|
|
22
|
-
reporter?: ConfiguredStepReporter | null;
|
|
23
|
-
signal?: AbortSignal;
|
|
24
|
-
}
|
|
25
|
-
export declare function runTemplateStage(config: Readonly<DatabaseTemplateServiceConfig>, stageName: DatabaseTemplateStageName, databaseUrl: string, options?: Readonly<DatabaseTemplateStepOptions>): Promise<void>;
|
|
26
|
-
export declare function runTemplateStep(config: Readonly<DatabaseTemplateServiceConfig>, stageName: string, step: Readonly<NormalizedConfiguredStep>, stepIndex: number, databaseUrl: string, options?: Readonly<DatabaseTemplateStepOptions>): Promise<void>;
|
|
27
|
-
export declare function collectTemplateInputs(productDir: string, template?: Partial<Readonly<NormalizedDatabaseTemplateConfig>>): string[];
|
|
28
|
-
export declare function captureTemplateSnapshotText(config: Readonly<DatabaseTemplateServiceConfig>, databaseUrl: string, options?: Readonly<PostgresDumpOptions>): Promise<string>;
|
|
29
|
-
export declare function dumpPostgresSchemaToFile(config: Readonly<DatabaseTemplateServiceConfig>, outputPath: string, databaseUrl: string, options?: Readonly<PostgresDumpOptions>): Promise<void>;
|
|
30
|
-
export declare function pgDumpArgs(): string[];
|
|
31
|
-
export declare function resolvePgDumpClientImage(config: Readonly<DatabaseTemplateServiceConfig>, databaseUrl: string, options?: Readonly<PostgresDumpOptions>): Promise<string>;
|
|
32
|
-
/** Retain only the detected version of one owned server during a template rebuild. */
|
|
33
|
-
export declare function createOwnedPgDumpClientImageResolver(config: Readonly<DatabaseTemplateServiceConfig>, databaseUrl: string, options: Readonly<PostgresDumpOptions & {
|
|
34
|
-
ownedContainer: OwnedPostgresContainerRoute;
|
|
35
|
-
}>): () => Promise<string>;
|
|
36
|
-
export declare function postgresClientImageForServerVersion(serverVersionNum: unknown): string;
|
|
37
|
-
export declare function sanitizeSnapshotFile(filePath: string): void;
|
|
38
|
-
export declare function sanitizeSnapshotText(dump: unknown): string;
|
|
39
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export declare const DEFAULT_FILE_TIMEOUT_SECONDS = 60;
|
|
2
|
-
export declare const FILE_TIMEOUT_INTERVAL_SECONDS = 0.25;
|
|
3
|
-
export declare const FILE_TIMEOUT_COOPERATIVE_ERROR_RESERVE_MAX_MS = 2000;
|
|
4
|
-
export declare const FILE_TIMEOUT_COOPERATIVE_ERROR_RESERVE_MIN_MS = 250;
|
|
5
|
-
export declare const FILE_TIMEOUT_COOPERATIVE_ERROR_RESERVE_RATIO = 0.2;
|
|
6
|
-
export declare const FILE_TIMEOUT_SUBPROCESS_EXIT_GRACE_MS = 1000;
|
|
7
|
-
export declare const INTERNAL_FILE_TIMEOUT_SECONDS_ENV = "TESTKIT_INTERNAL_FILE_TIMEOUT_SECONDS";
|
|
8
|
-
export declare const INTERNAL_FILE_DEADLINE_MS_ENV = "TESTKIT_INTERNAL_FILE_DEADLINE_MS";
|
|
9
|
-
export interface FileTimeoutBudget {
|
|
10
|
-
deadlineMs: number;
|
|
11
|
-
fileTimeoutSeconds: number;
|
|
12
|
-
}
|
|
13
|
-
export interface FileTimeoutEnv {
|
|
14
|
-
[INTERNAL_FILE_DEADLINE_MS_ENV]: string;
|
|
15
|
-
[INTERNAL_FILE_TIMEOUT_SECONDS_ENV]: string;
|
|
16
|
-
}
|
|
17
|
-
export declare function parseFileTimeoutOption(value: unknown): number;
|
|
18
|
-
export declare function normalizeFileTimeoutSeconds(value: unknown, label?: string): number;
|
|
19
|
-
export declare function normalizeWaitIntervalSeconds(value?: unknown): number;
|
|
20
|
-
export declare function buildFileTimeoutEnv(fileTimeoutSeconds: number, startedAtMs: number): FileTimeoutEnv;
|
|
21
|
-
export declare function readFileTimeoutBudget(env: unknown): FileTimeoutBudget;
|
|
22
|
-
export declare function remainingFileTimeoutMs(budget: FileTimeoutBudget, nowMs?: number): number;
|
|
23
|
-
export declare function remainingFileTimeoutSeconds(budget: FileTimeoutBudget, nowMs?: number): number;
|
|
24
|
-
export declare function remainingCooperativeFileTimeoutMs(budget: FileTimeoutBudget, nowMs?: number): number;
|
|
25
|
-
export declare function cooperativeFileTimeoutErrorReserveMs(fileTimeoutSeconds: number): number;
|
|
26
|
-
export declare function subprocessFileTimeoutMs(fileTimeoutSeconds: number): number;
|
|
27
|
-
export declare function formatWaitForTimeoutError(description: unknown, fileTimeoutSeconds: number): string;
|
|
28
|
-
export declare function formatFileTimeoutBudgetError(fileTimeoutSeconds: number): string;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const ENGINE_IDS: readonly ["k6", "node-vitest", "playwright"];
|
|
2
|
-
export type EngineId = (typeof ENGINE_IDS)[number];
|
|
3
|
-
export declare const PUBLIC_TEST_TYPES: readonly ["ui", "e2e", "int", "contract", "data", "dal", "load"];
|
|
4
|
-
export type PublicTestType = (typeof PUBLIC_TEST_TYPES)[number];
|
|
5
|
-
export declare const RUNNER_PROFILE_IDS: readonly ["k6-http", "k6-dal", "node-vitest-data", "node-vitest-contract", "playwright-ui"];
|
|
6
|
-
export type RunnerProfileId = (typeof RUNNER_PROFILE_IDS)[number];
|
|
7
|
-
export declare function isEngineId(value: unknown): value is EngineId;
|
|
8
|
-
export declare function isPublicTestType(value: unknown): value is PublicTestType;
|
|
9
|
-
export declare function isRunnerProfileId(value: unknown): value is RunnerProfileId;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export type OperationStatusKind = "failed" | "passed" | "running" | "skipped" | "unknown";
|
|
2
|
-
export interface OperationStatusLabelOptions {
|
|
3
|
-
runningLabel?: string;
|
|
4
|
-
}
|
|
5
|
-
export declare function normalizeOperationStatus(status: unknown): string;
|
|
6
|
-
export declare function operationStatusKind(status: unknown): OperationStatusKind;
|
|
7
|
-
export declare function operationStatusLabel(status: unknown, { runningLabel }?: Readonly<OperationStatusLabelOptions>): string;
|
|
8
|
-
export declare function isNeutralOperationStatus(status: unknown): boolean;
|
|
9
|
-
export declare function isSuccessfulOperationStatus(status: unknown): boolean;
|
|
10
|
-
export declare function formatOperationSummary(operation?: unknown): string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function buildRuntimeIds(count: number): string[];
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare const DEFAULT_RUNTIME_ISOLATION_POLICY: "shared";
|
|
2
|
-
export declare const RUNTIME_ISOLATION_POLICIES: readonly ["shared", "resetBefore", "resetAfter", "exclusive"];
|
|
3
|
-
export type RuntimeIsolationPolicy = (typeof RUNTIME_ISOLATION_POLICIES)[number];
|
|
4
|
-
export declare function isRuntimeIsolationPolicy(value: unknown): value is RuntimeIsolationPolicy;
|
|
5
|
-
export declare function normalizeRuntimeIsolationPolicy(value: unknown, label: string): RuntimeIsolationPolicy;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { type PublicTestType } from "./identifiers.js";
|
|
2
|
-
export interface PlainSuiteSelector {
|
|
3
|
-
kind: "plain";
|
|
4
|
-
name: string;
|
|
5
|
-
raw: string;
|
|
6
|
-
}
|
|
7
|
-
export interface TypedSuiteSelector {
|
|
8
|
-
kind: "typed";
|
|
9
|
-
name: string;
|
|
10
|
-
raw: string;
|
|
11
|
-
testType: PublicTestType;
|
|
12
|
-
}
|
|
13
|
-
export type SuiteSelector = PlainSuiteSelector | TypedSuiteSelector;
|
|
14
|
-
export declare function normalizeTypeValues(values?: readonly unknown[]): string[];
|
|
15
|
-
export declare function isAllTypeSelection(typeValues?: readonly string[]): boolean;
|
|
16
|
-
export declare function parseSuiteSelectors(values?: readonly unknown[]): SuiteSelector[];
|
|
17
|
-
export declare function matchesSelectedTypes(selectionType: string, typeValues: readonly string[]): boolean;
|
|
18
|
-
export declare function matchesSuiteSelectors(selectionType: null | string | undefined, suiteName: string, selectors?: null | readonly SuiteSelector[]): boolean;
|
|
19
|
-
export declare function parseTypeOption(values: unknown, positionalType?: null | string): string[];
|
|
20
|
-
export declare function parseSuiteOption(values: unknown): SuiteSelector[];
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export declare const TEST_OUTCOME_STATUS_ORDER: readonly ["passed", "failed", "skipped", "not_run", "cancelled", "interrupted"];
|
|
2
|
-
export type TestOutcomeStatus = (typeof TEST_OUTCOME_STATUS_ORDER)[number];
|
|
3
|
-
export declare function isTestOutcomeStatus(value: unknown): value is TestOutcomeStatus;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { type PublicTestType } from "./identifiers.js";
|
|
2
|
-
export declare const TEST_TYPE_ORDER: readonly string[];
|
|
3
|
-
declare const RUN_TYPE_VALUES: readonly ["ui", "e2e", "int", "contract", "data", "dal", "load", "all"];
|
|
4
|
-
export type RunType = (typeof RUN_TYPE_VALUES)[number];
|
|
5
|
-
export declare const RUN_TYPE_ORDER: readonly string[];
|
|
6
|
-
export declare const RUN_TYPES: ReadonlySet<string>;
|
|
7
|
-
export interface PublicTestTypeListOptions {
|
|
8
|
-
includeAll?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare function isPublicTestType(value: unknown): value is PublicTestType;
|
|
11
|
-
export declare function isRunType(value: unknown): value is RunType;
|
|
12
|
-
export declare function formatPublicTestType(value: unknown): string;
|
|
13
|
-
export declare function publicTestTypeList({ includeAll }?: PublicTestTypeListOptions): RunType[];
|
|
14
|
-
export declare function publicTestTypeListText(options?: PublicTestTypeListOptions): string;
|
|
15
|
-
export declare function formatTestTypeLabel(testType: PublicTestType): string;
|
|
16
|
-
export {};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { type BigIntStats } from "node:fs";
|
|
2
|
-
import fs from "node:fs/promises";
|
|
3
|
-
import type { EngineArtifactEvidence } from "../api/index.js";
|
|
4
|
-
export interface EvidenceFileAccess {
|
|
5
|
-
lstat(filePath: string): Promise<BigIntStats>;
|
|
6
|
-
openReadOnly(filePath: string): Promise<fs.FileHandle>;
|
|
7
|
-
readonly platform: NodeJS.Platform;
|
|
8
|
-
readChunk(handle: fs.FileHandle, buffer: Buffer): Promise<number>;
|
|
9
|
-
statHandle(handle: fs.FileHandle): Promise<BigIntStats>;
|
|
10
|
-
}
|
|
11
|
-
export declare const evidenceFileAccess: EvidenceFileAccess;
|
|
12
|
-
export interface EvidenceFileIdentity {
|
|
13
|
-
readonly sha256: string;
|
|
14
|
-
readonly sizeBytes: number;
|
|
15
|
-
}
|
|
16
|
-
export interface StableEvidenceFile extends EvidenceFileIdentity {
|
|
17
|
-
readonly contents: Buffer;
|
|
18
|
-
}
|
|
19
|
-
export interface OwnedEvidenceSnapshot {
|
|
20
|
-
readonly filePath: string;
|
|
21
|
-
readonly identity: EvidenceFileIdentity;
|
|
22
|
-
}
|
|
23
|
-
export interface StableJsonFile {
|
|
24
|
-
readonly file: StableEvidenceFile | null;
|
|
25
|
-
readonly value: unknown;
|
|
26
|
-
}
|
|
27
|
-
export declare function stableEvidenceFromBuffer(contents: Buffer): StableEvidenceFile;
|
|
28
|
-
export declare function readStableJsonFile(filePath: string, maximumBytes: number, label: string, fileAccess: EvidenceFileAccess): Promise<StableJsonFile>;
|
|
29
|
-
export declare function readStableEvidenceFile(filePath: string, maximumBytes: number, label: string, fileAccess: EvidenceFileAccess, expectedIdentity?: BigIntStats): Promise<StableEvidenceFile>;
|
|
30
|
-
export declare function writeOwnedEvidenceFile(directory: string, filename: string, contents: Buffer | string): Promise<string>;
|
|
31
|
-
export declare function snapshotStableEvidenceFile(sourcePath: string, maximumBytes: number, label: string, fileAccess: EvidenceFileAccess, expectedIdentity: BigIntStats, targetDirectory: string, filename: string): Promise<OwnedEvidenceSnapshot>;
|
|
32
|
-
export declare function evidenceArtifact(filePath: string, file: EvidenceFileIdentity, contentType: string, kind: string, name: string, summary: string): EngineArtifactEvidence;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { EngineJsonObject, RunnerProfileDescriptor } from "../api/index.js";
|
|
2
|
-
import type { EngineId } from "../../domain/identifiers.js";
|
|
3
|
-
import { type PlatformTarget } from "../../process/host/platform.js";
|
|
4
|
-
export type EngineInstallationKind = "direct-package" | "root-direct-packages" | "root-playwright-family";
|
|
5
|
-
interface EngineEvidenceIdentityRequest {
|
|
6
|
-
readonly engineId: EngineId;
|
|
7
|
-
readonly installationKind: EngineInstallationKind;
|
|
8
|
-
readonly profile: Readonly<RunnerProfileDescriptor>;
|
|
9
|
-
readonly target?: Readonly<PlatformTarget>;
|
|
10
|
-
}
|
|
11
|
-
export declare function engineEvidenceIdentity(request: Readonly<EngineEvidenceIdentityRequest>): EngineJsonObject;
|
|
12
|
-
export {};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { type EngineCancellationSignal, type EngineEvidence, type EngineExecutionInputs, type EngineExecutionRequest, type EngineExecutionResult, type EngineExecutionTask, type EngineFailureEvidence, type EngineJsonObject, type EngineTaskOutcome } from "../api/index.js";
|
|
2
|
-
import { type TestOutcomeStatus } from "../../domain/test-outcomes.js";
|
|
3
|
-
import type { ManagedProcessResult } from "../../process/index.js";
|
|
4
|
-
export interface EngineFailureIdentity {
|
|
5
|
-
readonly codePrefix: string;
|
|
6
|
-
readonly label: string;
|
|
7
|
-
}
|
|
8
|
-
export interface ProcessClassification {
|
|
9
|
-
readonly failure: EngineFailureEvidence | null;
|
|
10
|
-
readonly status: TestOutcomeStatus;
|
|
11
|
-
}
|
|
12
|
-
interface EngineTaskPreparation {
|
|
13
|
-
readonly artifactDirectory: string;
|
|
14
|
-
readonly inputs: EngineExecutionInputs;
|
|
15
|
-
readonly task: EngineExecutionTask;
|
|
16
|
-
}
|
|
17
|
-
export type ReadyEngineTask<T> = EngineTaskPreparation & {
|
|
18
|
-
readonly preparationFailure: null;
|
|
19
|
-
readonly prepared: T;
|
|
20
|
-
};
|
|
21
|
-
export type PreparedEngineTask<T> = ReadyEngineTask<T> | (EngineTaskPreparation & {
|
|
22
|
-
readonly preparationFailure: EngineFailureEvidence;
|
|
23
|
-
readonly prepared: null;
|
|
24
|
-
});
|
|
25
|
-
export declare function executeEngineTasks<T>(request: Pick<EngineExecutionRequest, "invocationId" | "observer" | "signal">, tasks: readonly PreparedEngineTask<T>[], identity: EngineFailureIdentity, execute: (task: ReadyEngineTask<T>, startedAtMs: number) => Promise<EngineTaskOutcome>, native: EngineJsonObject): Promise<EngineExecutionResult>;
|
|
26
|
-
export declare function taskBeforeStartOutcome(task: EngineExecutionTask, signal: EngineCancellationSignal, startedAtMs: number, identity: EngineFailureIdentity): EngineTaskOutcome | null;
|
|
27
|
-
export declare function taskTimeoutFailure(timeoutMs: number, identity: EngineFailureIdentity): EngineFailureEvidence;
|
|
28
|
-
export declare function managedProcessFailure(result: ManagedProcessResult, identity: EngineFailureIdentity, evidenceError?: Error | null): EngineFailureEvidence | null;
|
|
29
|
-
export declare function classifyManagedProcessResult(result: ManagedProcessResult, timeoutMs: number, deadlineExceeded: boolean, identity: EngineFailureIdentity): ProcessClassification | null;
|
|
30
|
-
export declare function processExitDetails(result: ManagedProcessResult): {
|
|
31
|
-
exitCode?: number;
|
|
32
|
-
exitSignal?: string;
|
|
33
|
-
};
|
|
34
|
-
export declare function processExitFailure(result: ManagedProcessResult, identity: EngineFailureIdentity, selectedMessage?: string | null, fallbackLabel?: string): ProcessClassification;
|
|
35
|
-
export declare function firstOutputLine(output: string): string | null;
|
|
36
|
-
export declare function terminalOutcome(taskId: string, status: TestOutcomeStatus, startedAtMs: number, evidence: EngineEvidence, failure: EngineFailureEvidence | null): EngineTaskOutcome;
|
|
37
|
-
export declare function processOutputEvidence(result: ManagedProcessResult): EngineEvidence;
|
|
38
|
-
export declare function emptyEvidence(): EngineEvidence;
|
|
39
|
-
export declare function failureFromError(error: unknown, code: string): EngineFailureEvidence;
|
|
40
|
-
export declare function errorDetails(error: Error): EngineJsonObject;
|
|
41
|
-
export declare function toError(error: unknown): Error;
|
|
42
|
-
export {};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export interface NativeReportIdentity {
|
|
2
|
-
readonly engineId: "node-vitest" | "playwright";
|
|
3
|
-
readonly invocationId: string;
|
|
4
|
-
readonly taskId: string;
|
|
5
|
-
readonly sourceFile: string;
|
|
6
|
-
}
|
|
7
|
-
export interface NativeReport extends NativeReportIdentity {
|
|
8
|
-
readonly schemaVersion: 1;
|
|
9
|
-
readonly result: unknown;
|
|
10
|
-
}
|
|
11
|
-
export interface NativeReportOptions {
|
|
12
|
-
readonly identity: NativeReportIdentity;
|
|
13
|
-
readonly reportFile: string;
|
|
14
|
-
readonly workspaceDirectory: string;
|
|
15
|
-
}
|
|
16
|
-
export declare const NATIVE_REPORT_JSON_BOUNDS: Readonly<{
|
|
17
|
-
maxCollectionEntries: 100000;
|
|
18
|
-
maxDepth: 64;
|
|
19
|
-
maxNodes: 100000;
|
|
20
|
-
maxStringUnits: number;
|
|
21
|
-
}>;
|
|
22
|
-
export declare function writeNativeReport(options: Readonly<NativeReportOptions>, result: unknown, maximumBytes: number): Promise<void>;
|
|
23
|
-
export declare function readNativeReport(value: unknown, expected: Readonly<NativeReportIdentity>): NativeReport;
|
|
24
|
-
export declare function nativeReporterFile(engineId: NativeReportIdentity["engineId"]): string;
|
|
25
|
-
export declare function requireNativeEvidenceJson(value: unknown, label: string): void;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shares compiled code, never evaluated modules, between fresh engine processes.
|
|
3
|
-
* The caller owns the cache root and must retain it until its processes exit.
|
|
4
|
-
* Cache failures are optional optimization failures and must not prevent tests.
|
|
5
|
-
*/
|
|
6
|
-
export declare function getNodeStartupCacheEnvironment(cacheDirectory: string | undefined, consumerEnvironment: Readonly<Record<string, string>>, options?: Readonly<{
|
|
7
|
-
coverageEnabled?: boolean;
|
|
8
|
-
}>): Promise<Readonly<Record<string, string>>>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare function requireRootDirectory(rootDirectory: string): Promise<string>;
|
|
2
|
-
export declare function requireAbsoluteWorkspacePath(value: string, label: string): void;
|
|
3
|
-
export declare function requireConsumerFile(rootDirectory: string, file: string, label: string): Promise<string>;
|
|
4
|
-
export declare function safeSegment(value: string): string;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import type { EngineId, PublicTestType } from "../../domain/identifiers.js";
|
|
2
|
-
export declare const EXECUTION_REQUIREMENTS: readonly ["none", "optional", "required"];
|
|
3
|
-
export type ExecutionRequirement = (typeof EXECUTION_REQUIREMENTS)[number];
|
|
4
|
-
export declare const ENDPOINT_ACCESS_MODES: readonly ["none", "published-http"];
|
|
5
|
-
export type EndpointAccessMode = (typeof ENDPOINT_ACCESS_MODES)[number];
|
|
6
|
-
export declare const ENGINE_EXECUTION_HOSTS: readonly ["orchestrator", "kiln-job"];
|
|
7
|
-
export type EngineExecutionHost = (typeof ENGINE_EXECUTION_HOSTS)[number];
|
|
8
|
-
export declare const TASK_BATCHING_MODES: readonly ["isolated", "compatible"];
|
|
9
|
-
export type TaskBatchingMode = (typeof TASK_BATCHING_MODES)[number];
|
|
10
|
-
export declare const RUNTIME_ISOLATION_CAPABILITIES: readonly ["none", "orchestrated"];
|
|
11
|
-
export type RuntimeIsolationCapability = (typeof RUNTIME_ISOLATION_CAPABILITIES)[number];
|
|
12
|
-
export interface RunnerProfileCapabilities {
|
|
13
|
-
readonly applicationRuntime: ExecutionRequirement;
|
|
14
|
-
readonly databaseRuntime: ExecutionRequirement;
|
|
15
|
-
readonly endpointAccess: EndpointAccessMode;
|
|
16
|
-
readonly executionHost: EngineExecutionHost;
|
|
17
|
-
readonly runtimeIsolation: RuntimeIsolationCapability;
|
|
18
|
-
readonly taskBatching: TaskBatchingMode;
|
|
19
|
-
}
|
|
20
|
-
interface RunnerProfileIdsByEngine {
|
|
21
|
-
k6: "k6-dal" | "k6-http";
|
|
22
|
-
"node-vitest": "node-vitest-contract" | "node-vitest-data";
|
|
23
|
-
playwright: "playwright-ui";
|
|
24
|
-
}
|
|
25
|
-
export interface RunnerProfileDescriptor<Id extends EngineId = EngineId> {
|
|
26
|
-
readonly capabilities: RunnerProfileCapabilities;
|
|
27
|
-
readonly engineId: Id;
|
|
28
|
-
readonly id: RunnerProfileIdsByEngine[Id];
|
|
29
|
-
readonly supportedTestTypes: readonly PublicTestType[];
|
|
30
|
-
}
|
|
31
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const EXECUTION_REQUIREMENTS=Object.freeze(["none","optional","required"]),ENDPOINT_ACCESS_MODES=Object.freeze(["none","published-http"]),ENGINE_EXECUTION_HOSTS=Object.freeze(["orchestrator","kiln-job"]),TASK_BATCHING_MODES=Object.freeze(["isolated","compatible"]),RUNTIME_ISOLATION_CAPABILITIES=Object.freeze(["none","orchestrated"]);
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
export type EngineJsonPrimitive = boolean | null | number | string;
|
|
2
|
-
export type EngineJsonValue = EngineJsonPrimitive | readonly EngineJsonValue[] | EngineJsonObject;
|
|
3
|
-
export interface EngineJsonObject {
|
|
4
|
-
readonly [key: string]: EngineJsonValue;
|
|
5
|
-
}
|
|
6
|
-
export interface EngineArtifactEvidence {
|
|
7
|
-
readonly contentType?: string;
|
|
8
|
-
readonly data?: EngineJsonValue;
|
|
9
|
-
readonly kind: string;
|
|
10
|
-
readonly metadata?: EngineJsonObject;
|
|
11
|
-
readonly name: string;
|
|
12
|
-
readonly path: string;
|
|
13
|
-
readonly summary?: string;
|
|
14
|
-
}
|
|
15
|
-
export interface EngineLogEvidence {
|
|
16
|
-
readonly stream: "engine" | "stderr" | "stdout";
|
|
17
|
-
readonly text: string;
|
|
18
|
-
}
|
|
19
|
-
export interface EngineMetricEvidence {
|
|
20
|
-
readonly dimensions?: EngineJsonObject;
|
|
21
|
-
readonly name: string;
|
|
22
|
-
readonly unit?: string;
|
|
23
|
-
readonly value: number;
|
|
24
|
-
}
|
|
25
|
-
export interface EngineEvidence {
|
|
26
|
-
readonly artifacts: readonly EngineArtifactEvidence[];
|
|
27
|
-
readonly logs: readonly EngineLogEvidence[];
|
|
28
|
-
readonly metrics: readonly EngineMetricEvidence[];
|
|
29
|
-
readonly native?: EngineJsonObject;
|
|
30
|
-
}
|
|
31
|
-
export type EngineFailureClassification = "infra" | "product";
|
|
32
|
-
export interface EngineFailureEvidence {
|
|
33
|
-
readonly classification?: EngineFailureClassification;
|
|
34
|
-
readonly code?: string;
|
|
35
|
-
readonly details?: EngineJsonObject;
|
|
36
|
-
readonly message: string;
|
|
37
|
-
readonly stack?: string;
|
|
38
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { EngineExecutionObserver, EngineExecutionRequest } from "./execution.js";
|
|
2
|
-
export interface ValidatingObserverSession {
|
|
3
|
-
readonly assertValid: () => void;
|
|
4
|
-
readonly close: () => void;
|
|
5
|
-
readonly commit: () => void;
|
|
6
|
-
readonly observer: EngineExecutionObserver;
|
|
7
|
-
}
|
|
8
|
-
export declare function createValidatingObserverSession(request: EngineExecutionRequest): ValidatingObserverSession | null;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export type EngineInvocationCleanup = () => Promise<void> | void;
|
|
2
|
-
export interface EngineInvocationScope {
|
|
3
|
-
defer(cleanup: EngineInvocationCleanup): void;
|
|
4
|
-
}
|
|
5
|
-
export interface EngineInvocationScopeController {
|
|
6
|
-
drain(): Promise<readonly Error[]>;
|
|
7
|
-
readonly scope: EngineInvocationScope;
|
|
8
|
-
}
|
|
9
|
-
interface EngineInvocationScopeOptions {
|
|
10
|
-
readonly timeoutMs: number;
|
|
11
|
-
}
|
|
12
|
-
export declare class EngineInvocationCleanupDeadlineExceededError extends Error {
|
|
13
|
-
readonly timeoutMs: number;
|
|
14
|
-
constructor(timeoutMs: number);
|
|
15
|
-
}
|
|
16
|
-
export declare function createEngineInvocationScope(options: EngineInvocationScopeOptions): EngineInvocationScopeController;
|
|
17
|
-
export {};
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import type { TestOutcomeStatus } from "../../domain/test-outcomes.js";
|
|
2
|
-
import type { RunnerProfileDescriptor } from "./capabilities.js";
|
|
3
|
-
import type { EngineEvidence, EngineFailureEvidence, EngineJsonObject, EngineJsonValue } from "./evidence.js";
|
|
4
|
-
import type { EngineInvocationScope } from "./execution-scope.js";
|
|
5
|
-
import type { EngineId, PublicTestType } from "../../domain/identifiers.js";
|
|
6
|
-
export declare const ENGINE_TASK_DEADLINE_EXCEEDED_CODE: "TESTKIT_ENGINE_TASK_DEADLINE_EXCEEDED";
|
|
7
|
-
export declare class EngineTaskDeadlineExceededError extends Error {
|
|
8
|
-
readonly code: "TESTKIT_ENGINE_TASK_DEADLINE_EXCEEDED";
|
|
9
|
-
readonly deadlineMs: number;
|
|
10
|
-
constructor(deadlineMs: number);
|
|
11
|
-
}
|
|
12
|
-
export declare const ENGINE_PROTOCOL_LIMITS: Readonly<{
|
|
13
|
-
cleanupTimeoutMs: 30000;
|
|
14
|
-
}>;
|
|
15
|
-
export interface EngineCancellationSignal {
|
|
16
|
-
readonly aborted: boolean;
|
|
17
|
-
readonly reason?: unknown;
|
|
18
|
-
addEventListener(type: "abort", listener: () => void, options?: Readonly<{
|
|
19
|
-
once?: boolean;
|
|
20
|
-
}>): void;
|
|
21
|
-
removeEventListener(type: "abort", listener: () => void): void;
|
|
22
|
-
}
|
|
23
|
-
export declare function isEngineTaskDeadlineExceededReason(value: unknown): value is Readonly<{
|
|
24
|
-
code: typeof ENGINE_TASK_DEADLINE_EXCEEDED_CODE;
|
|
25
|
-
deadlineMs: number;
|
|
26
|
-
}>;
|
|
27
|
-
export interface EngineExecutionTask {
|
|
28
|
-
readonly deadlineMs: number;
|
|
29
|
-
readonly file: string;
|
|
30
|
-
readonly id: string;
|
|
31
|
-
readonly inputs: EngineExecutionInputs;
|
|
32
|
-
readonly orchestration: EngineTaskOrchestration;
|
|
33
|
-
readonly serviceName: string;
|
|
34
|
-
readonly suiteName: string;
|
|
35
|
-
readonly testType: PublicTestType;
|
|
36
|
-
readonly timeoutMs: number;
|
|
37
|
-
}
|
|
38
|
-
export interface EngineTaskOrchestration {
|
|
39
|
-
readonly lease: EngineTaskLeaseIdentity;
|
|
40
|
-
readonly mode: string;
|
|
41
|
-
readonly runtimeId?: string;
|
|
42
|
-
}
|
|
43
|
-
export interface EngineTaskLeaseIdentity {
|
|
44
|
-
readonly directory: string;
|
|
45
|
-
readonly id: string;
|
|
46
|
-
}
|
|
47
|
-
export interface EngineExecutionInputs {
|
|
48
|
-
readonly configuration?: EngineJsonObject;
|
|
49
|
-
readonly environment: Readonly<Record<string, string>>;
|
|
50
|
-
readonly fixtures: Readonly<Record<string, EngineJsonValue>>;
|
|
51
|
-
readonly setupData?: EngineJsonValue;
|
|
52
|
-
readonly supportModules: Readonly<Record<string, string>>;
|
|
53
|
-
}
|
|
54
|
-
export interface EngineExecutionTarget {
|
|
55
|
-
readonly endpoints: Readonly<Record<string, string>>;
|
|
56
|
-
readonly inputs: EngineExecutionInputs;
|
|
57
|
-
}
|
|
58
|
-
export interface EngineExecutionWorkspace {
|
|
59
|
-
readonly artifactDirectory: string;
|
|
60
|
-
/** Optional caller-owned compilation cache, removed after all executions finish. */
|
|
61
|
-
readonly cacheDirectory?: string;
|
|
62
|
-
readonly rootDirectory: string;
|
|
63
|
-
readonly temporaryDirectory: string;
|
|
64
|
-
}
|
|
65
|
-
export interface EngineExecutionObserver {
|
|
66
|
-
evidenceRecorded(taskId: null | string, evidence: EngineEvidence): void;
|
|
67
|
-
taskFinished(outcome: EngineTaskOutcome): void;
|
|
68
|
-
taskStarted(task: EngineExecutionTask): void;
|
|
69
|
-
}
|
|
70
|
-
export interface EngineExecutionRequest<Id extends EngineId = EngineId> {
|
|
71
|
-
readonly invocationId: string;
|
|
72
|
-
readonly observer?: EngineExecutionObserver;
|
|
73
|
-
readonly profile: RunnerProfileDescriptor<Id>;
|
|
74
|
-
readonly signal: EngineCancellationSignal;
|
|
75
|
-
readonly target: EngineExecutionTarget;
|
|
76
|
-
readonly tasks: readonly EngineExecutionTask[];
|
|
77
|
-
readonly workspace: EngineExecutionWorkspace;
|
|
78
|
-
}
|
|
79
|
-
export declare function resolveEngineTaskInputs(request: Pick<EngineExecutionRequest, "target">, task: Pick<EngineExecutionTask, "inputs">): EngineExecutionInputs;
|
|
80
|
-
export interface EngineTaskOutcome {
|
|
81
|
-
readonly durationMs: number;
|
|
82
|
-
readonly evidence: EngineEvidence;
|
|
83
|
-
readonly failure: EngineFailureEvidence | null;
|
|
84
|
-
readonly finishedAtMs: number;
|
|
85
|
-
readonly startedAtMs: number;
|
|
86
|
-
readonly status: TestOutcomeStatus;
|
|
87
|
-
readonly taskId: string;
|
|
88
|
-
}
|
|
89
|
-
export interface EngineExecutionResult {
|
|
90
|
-
readonly evidence: EngineEvidence;
|
|
91
|
-
readonly invocationId: string;
|
|
92
|
-
readonly outcomes: readonly EngineTaskOutcome[];
|
|
93
|
-
}
|
|
94
|
-
export type EngineExecutor<Installation> = (request: Readonly<EngineExecutionRequest>, installation: Readonly<Installation>, scope: EngineInvocationScope) => Promise<EngineExecutionResult>;
|
|
95
|
-
export interface EngineExecutionBoundary<Id extends EngineId = EngineId> {
|
|
96
|
-
readonly request: Readonly<EngineExecutionRequest<Id>>;
|
|
97
|
-
acceptResult(value: EngineExecutionResult): EngineExecutionResult;
|
|
98
|
-
close(): void;
|
|
99
|
-
commit(): void;
|
|
100
|
-
}
|
|
101
|
-
export declare function beginEngineExecution<Id extends EngineId>(request: Readonly<EngineExecutionRequest<Id>>): EngineExecutionBoundary<Id>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export * from "./capabilities.js";
|
|
2
|
-
export * from "./evidence.js";
|
|
3
|
-
export * from "./execution.js";
|
|
4
|
-
export { EngineInvocationCleanupDeadlineExceededError, createEngineInvocationScope, type EngineInvocationCleanup, type EngineInvocationScope, type EngineInvocationScopeController, } from "./execution-scope.js";
|
|
5
|
-
export { ENGINE_RUNTIME_ARTIFACT_MARKER, type EngineRuntimeArtifactPayload, encodeEngineRuntimeArtifactPayload, findEncodedEngineRuntimeArtifacts, normalizeEngineJsonValue, } from "./runtime-artifact.js";
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { EngineJsonObject, EngineJsonValue } from "./evidence.js";
|
|
2
|
-
export declare const K6_RUNTIME_INPUT_VERSION: 1;
|
|
3
|
-
export declare const K6_RUNTIME_INPUT_FILE_ENV = "TESTKIT_K6_INPUT_FILE";
|
|
4
|
-
export declare const K6_RUNTIME_INPUT_SHA256_ENV = "TESTKIT_K6_INPUT_SHA256";
|
|
5
|
-
export declare const K6_RUNTIME_INVOCATION_ID_ENV = "TESTKIT_INVOCATION_ID";
|
|
6
|
-
export declare const K6_RUNTIME_TASK_ID_ENV = "TESTKIT_TEST_ID";
|
|
7
|
-
export declare const K6_RUNTIME_INPUT_MAX_CHARACTERS: number;
|
|
8
|
-
export interface K6RuntimeInputDocument {
|
|
9
|
-
readonly engineId: "k6";
|
|
10
|
-
readonly fixtures: EngineJsonObject;
|
|
11
|
-
readonly invocationId: string;
|
|
12
|
-
readonly setupData?: EngineJsonValue;
|
|
13
|
-
readonly taskId: string;
|
|
14
|
-
readonly version: typeof K6_RUNTIME_INPUT_VERSION;
|
|
15
|
-
}
|
|
16
|
-
export interface K6RuntimeInputReaderBoundary {
|
|
17
|
-
readonly environment: Readonly<Record<string, string | undefined>>;
|
|
18
|
-
openText(file: string): unknown;
|
|
19
|
-
sha256Hex(contents: string): string;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Reads and validates the k6 wire document without importing either Node or k6
|
|
23
|
-
* globals. The Sobek runtime supplies those capabilities at its outer edge.
|
|
24
|
-
*/
|
|
25
|
-
export declare function readK6RuntimeInput(boundary: Readonly<K6RuntimeInputReaderBoundary>): K6RuntimeInputDocument | null;
|
|
26
|
-
export declare function parseK6RuntimeInputDocument(value: unknown, label?: string): K6RuntimeInputDocument;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{CHARACTER_JSON_STRING_MEASURE as E,requireBoundedJsonValue as _,RUNTIME_INPUT_JSON_BOUNDS as f}from"../contracts/json-bounds.js";export const K6_RUNTIME_INPUT_VERSION=1,K6_RUNTIME_INPUT_FILE_ENV="TESTKIT_K6_INPUT_FILE",K6_RUNTIME_INPUT_SHA256_ENV="TESTKIT_K6_INPUT_SHA256",K6_RUNTIME_INVOCATION_ID_ENV="TESTKIT_INVOCATION_ID",K6_RUNTIME_TASK_ID_ENV="TESTKIT_TEST_ID",K6_RUNTIME_INPUT_MAX_CHARACTERS=8*1024*1024;const T=/^[a-f0-9]{64}$/u;export function readK6RuntimeInput(t){const n=t.environment[K6_RUNTIME_INPUT_FILE_ENV],e=t.environment[K6_RUNTIME_INPUT_SHA256_ENV];if(!n&&!e)return null;if(!w(n))throw new Error(`${K6_RUNTIME_INPUT_FILE_ENV} must be an absolute owned path`);if(!e||!T.test(e))throw new Error(`${K6_RUNTIME_INPUT_SHA256_ENV} must be a lowercase SHA-256 digest`);const r=t.openText(n);if(typeof r!="string")throw new Error(`${K6_RUNTIME_INPUT_FILE_ENV} must contain UTF-8 JSON text`);if(r.length>K6_RUNTIME_INPUT_MAX_CHARACTERS)throw new Error(`${K6_RUNTIME_INPUT_FILE_ENV} exceeds the ${String(K6_RUNTIME_INPUT_MAX_CHARACTERS)} character limit`);if(t.sha256Hex(r)!==e)throw new Error(`${K6_RUNTIME_INPUT_FILE_ENV} integrity check failed`);let i;try{i=JSON.parse(r)}catch(s){throw new Error(`${K6_RUNTIME_INPUT_FILE_ENV} contains invalid JSON: ${N(s)}`,{cause:s})}const o=parseK6RuntimeInputDocument(i,K6_RUNTIME_INPUT_FILE_ENV);if(o.invocationId!==t.environment[K6_RUNTIME_INVOCATION_ID_ENV])throw new Error(`${K6_RUNTIME_INPUT_FILE_ENV} invocation identity does not match`);if(o.taskId!==t.environment[K6_RUNTIME_TASK_ID_ENV])throw new Error(`${K6_RUNTIME_INPUT_FILE_ENV} task identity does not match`);return o}export function parseK6RuntimeInputDocument(t,n="k6 runtime input"){if(_(t,n,f,E),!I(t))throw new Error(`${n} must contain an object`);const e=new Set(["engineId","fixtures","invocationId","setupData","taskId","version"]);for(const r of Object.keys(t))if(!e.has(r))throw new Error(`${n} contains unknown field ${r}`);if(t.version!==K6_RUNTIME_INPUT_VERSION)throw new Error(`${n}.version must be 1`);if(t.engineId!=="k6")throw new Error(`${n}.engineId must be "k6"`);if(!I(t.fixtures))throw new Error(`${n}.fixtures must be an object`);return{engineId:"k6",fixtures:t.fixtures,invocationId:c(t.invocationId,`${n}.invocationId`),...Object.hasOwn(t,"setupData")?{setupData:t.setupData}:{},taskId:c(t.taskId,`${n}.taskId`),version:K6_RUNTIME_INPUT_VERSION}}function c(t,n){if(typeof t!="string"||t.length===0)throw new Error(`${n} must be a non-empty string`);return t}function w(t){return typeof t=="string"&&(t.startsWith("/")||/^[a-z]:[\\/]/iu.test(t)||t.startsWith("\\\\"))}function I(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}function N(t){return t instanceof Error?t.message:String(t)}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { EngineJsonValue } from "./evidence.js";
|
|
2
|
-
export declare const ENGINE_RUNTIME_ARTIFACT_MARKER: "TESTKIT_ARTIFACT:";
|
|
3
|
-
export declare const MAX_ENGINE_RUNTIME_ARTIFACT_BYTES: number;
|
|
4
|
-
export declare const MAX_ENGINE_RUNTIME_ARTIFACT_DEPTH = 64;
|
|
5
|
-
export declare const MAX_ENGINE_RUNTIME_ARTIFACT_NODES = 100000;
|
|
6
|
-
export declare const MAX_ENCODED_ENGINE_RUNTIME_ARTIFACT_BYTES: number;
|
|
7
|
-
export interface EngineRuntimeArtifactPayload {
|
|
8
|
-
readonly contentType: string;
|
|
9
|
-
readonly data: EngineJsonValue;
|
|
10
|
-
readonly emittedAt: string;
|
|
11
|
-
readonly kind: null | string;
|
|
12
|
-
readonly name: string;
|
|
13
|
-
readonly summary: null | string;
|
|
14
|
-
}
|
|
15
|
-
export declare function normalizeEngineRuntimeArtifactPayload(value: unknown): EngineRuntimeArtifactPayload;
|
|
16
|
-
export declare function encodeEngineRuntimeArtifactPayload(value: unknown): string;
|
|
17
|
-
export declare function decodeEngineRuntimeArtifactPayload(encodedPayload: unknown): EngineRuntimeArtifactPayload;
|
|
18
|
-
export declare function findEncodedEngineRuntimeArtifacts(output: string): readonly string[];
|
|
19
|
-
export declare function normalizeEngineJsonValue(value: unknown, label?: string): EngineJsonValue;
|