@gfdelarue/testkit 0.4.5 → 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 +666 -463
- package/bin/testkit-windows-owner-arm64.exe +0 -0
- package/bin/testkit-windows-owner-x64.exe +0 -0
- package/dist/app/bugs/ci-report.js +2 -2
- package/dist/app/bugs/ci-summary.js +3 -3
- package/dist/app/bugs/draft.js +3 -3
- 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 -1
- 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 -1
- 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 -1
- package/dist/app/environments/task-databases.js +2 -0
- 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/reports/prepare.js +1 -1
- package/dist/app/run/caller-redaction.js +1 -0
- 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 -1
- 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/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/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/worker-loop.js +1 -1
- package/dist/app/status/runs.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/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/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/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/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/loader/config-loader.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/file-metadata.js +1 -1
- package/dist/config/loader/groups.js +1 -1
- 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/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/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/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/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-types.js +1 -1
- package/dist/engines/adapters/evidence-files.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.js +1 -1
- package/dist/engines/api/index.js +1 -1
- package/dist/engines/api/runtime-artifact.js +1 -1
- package/dist/engines/catalog.js +1 -1
- package/dist/engines/contracts/environment-values.js +1 -0
- 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.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 +26 -188
- 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 +3 -3
- 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 +29 -10
- package/dist/engines/runtime-input-file.js +1 -1
- package/dist/environment/lifecycle-controller.js +1 -1
- package/dist/environment/lifecycle.js +1 -1
- package/dist/environment/ready-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 -3
- package/dist/environment/template.js +1 -1
- package/dist/evidence/artifact-config.js +1 -1
- package/dist/evidence/artifacts.js +2 -2
- package/dist/evidence/bundles.js +1 -1
- package/dist/evidence/environment-record.js +1 -1
- package/dist/evidence/index.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/host/platform.js +1 -1
- package/dist/process/host-process.js +1 -1
- package/dist/process/index.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.js +32 -32
- package/dist/process/readiness.js +1 -1
- package/dist/process/ready-deadline.js +1 -0
- package/dist/process/runs/ownership.js +1 -1
- package/dist/process/runs/stop.js +1 -1
- package/dist/process/service-processes.js +1 -1
- package/dist/process/windows-cli-owner.js +3 -3
- package/dist/process/windows-native.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/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/toolchains/index.js +3 -3
- 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 +37 -37
- package/docs/engines.md +213 -0
- package/docs/test-types.md +35 -33
- package/package.json +22 -29
- package/testkit-config-schema.md +378 -184
- 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 -49
- 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/environments/config-driven.d.ts +0 -5
- package/dist/app/environments/routing.d.ts +0 -6
- package/dist/app/environments/supplied.d.ts +0 -3
- 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 -66
- 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 -34
- package/dist/app/package-inspection.d.ts +0 -20
- package/dist/app/reports/files.d.ts +0 -13
- package/dist/app/reports/prepare.d.ts +0 -20
- package/dist/app/reports/publish.d.ts +0 -21
- 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 -65
- package/dist/app/run/engine-failure-stack.d.ts +0 -1
- package/dist/app/run/engine-orchestration.d.ts +0 -30
- package/dist/app/run/environment.d.ts +0 -33
- package/dist/app/run/failure-details.d.ts +0 -37
- package/dist/app/run/live-run.d.ts +0 -29
- package/dist/app/run/operation-progress.d.ts +0 -13
- package/dist/app/run/orchestrator.d.ts +0 -75
- package/dist/app/run/planning-types.d.ts +0 -68
- package/dist/app/run/planning.d.ts +0 -14
- 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 -56
- 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/locks.d.ts +0 -6
- package/dist/app/run/scheduler/observations.d.ts +0 -20
- package/dist/app/run/selection.d.ts +0 -9
- 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/task-leases.d.ts +0 -15
- package/dist/app/run/worker-loop.d.ts +0 -66
- 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 -13
- 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 -156
- 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/report/prepare.d.ts +0 -12
- package/dist/cli/commands/report/publish.d.ts +0 -13
- 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 -26
- 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 -372
- 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 -7
- 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 -53
- package/dist/config/loader/env.d.ts +0 -4
- package/dist/config/loader/execution-model.d.ts +0 -15
- package/dist/config/loader/file-metadata.d.ts +0 -19
- package/dist/config/loader/groups.d.ts +0 -33
- package/dist/config/loader/index.d.ts +0 -10
- package/dist/config/loader/load.d.ts +0 -89
- 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 -16
- 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 -15
- package/dist/config/loader/values.d.ts +0 -3
- 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 -8
- 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 -21
- 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 -25
- 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 -2
- 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 -41
- 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 -21
- 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 -23
- 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 -8
- 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 -11
- package/dist/engines/node-vitest/runtime/data/types.d.ts +0 -384
- 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 -9
- 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 -60
- package/dist/environment/lifecycle.d.ts +0 -32
- package/dist/environment/maintenance.d.ts +0 -68
- package/dist/environment/planning-types.d.ts +0 -33
- package/dist/environment/ports.d.ts +0 -10
- package/dist/environment/ready-environment.d.ts +0 -16
- package/dist/environment/run-environment.d.ts +0 -39
- package/dist/environment/run-stopping.d.ts +0 -13
- package/dist/environment/runtime-contexts.d.ts +0 -37
- package/dist/environment/runtime-manager.d.ts +0 -87
- 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 -12
- package/dist/environment/services.d.ts +0 -56
- package/dist/environment/state.d.ts +0 -15
- package/dist/environment/status-runtime.d.ts +0 -53
- package/dist/environment/template.d.ts +0 -164
- package/dist/evidence/artifact-config.d.ts +0 -14
- package/dist/evidence/artifact-validation.d.ts +0 -4
- 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/environment-record.d.ts +0 -22
- 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 -21
- 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 -349
- 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 -25
- 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 -40
- package/dist/kernel/redaction.d.ts +0 -2
- package/dist/kernel/unknown-values.d.ts +0 -11
- 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 -11
- package/dist/process/files/paths.d.ts +0 -3
- 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 -10
- 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 -43
- 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/stoppable-settlement.d.ts +0 -26
- package/dist/process/url-redaction.d.ts +0 -1
- package/dist/process/windows-cli-owner.d.ts +0 -2
- package/dist/process/windows-native.d.ts +0 -12
- 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 -13
- 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/publish-directory.d.ts +0 -20
- 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 -34
- 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 -82
- 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 -682
- /package/dist/engines/{k6/runtime/runtime-globals.js → api/profiles.js} +0 -0
|
@@ -1,384 +0,0 @@
|
|
|
1
|
-
import type { HttpMethods } from "../../../../config/authoring/http-methods.js";
|
|
2
|
-
import type { HttpProfileAuth, HttpProfileEnv, HttpProfileHeaderBuilder } from "../../../../config/authoring/runtime.js";
|
|
3
|
-
import type { RuntimeEnv } from "../../../../config/authoring/http-execution-contract.js";
|
|
4
|
-
export declare const DATA_ARTIFACT_KIND = "testkit.data-flow";
|
|
5
|
-
export declare const DATA_REPORT_KIND = "testkit.data-flow.report";
|
|
6
|
-
export declare const DATA_SCHEMA_VERSION = 1;
|
|
7
|
-
export type UnknownRecord = Record<string, unknown>;
|
|
8
|
-
export type DataFindingSeverity = "error" | "info" | "waste" | "watch";
|
|
9
|
-
export type DataScenarioStatus = "failed" | "passed" | "running";
|
|
10
|
-
export type DataMetricBudgetOperator = "<" | "<=" | "==" | ">" | ">=" | "exists";
|
|
11
|
-
export type DataSequenceBudgetOperator = "exists" | "sequence==" | "sequenceOnly";
|
|
12
|
-
export interface DataScenarioOptions {
|
|
13
|
-
description?: string;
|
|
14
|
-
timeout?: number;
|
|
15
|
-
timeoutMs?: number;
|
|
16
|
-
}
|
|
17
|
-
export interface DataMetricOptions {
|
|
18
|
-
description?: string;
|
|
19
|
-
dimensions?: UnknownRecord;
|
|
20
|
-
kind?: string;
|
|
21
|
-
unit?: string;
|
|
22
|
-
}
|
|
23
|
-
export interface DataSequenceOptions {
|
|
24
|
-
description?: string;
|
|
25
|
-
dimensions?: UnknownRecord;
|
|
26
|
-
}
|
|
27
|
-
export interface DataEvidenceDetails extends UnknownRecord {
|
|
28
|
-
status?: string;
|
|
29
|
-
}
|
|
30
|
-
export interface DataBudgetOptions {
|
|
31
|
-
message?: string;
|
|
32
|
-
}
|
|
33
|
-
export interface DataMetricBudget {
|
|
34
|
-
atLeast(value: number, options?: DataBudgetOptions): this;
|
|
35
|
-
atMost(value: number, options?: DataBudgetOptions): this;
|
|
36
|
-
equals(value: number, options?: DataBudgetOptions): this;
|
|
37
|
-
greaterThan(value: number, options?: DataBudgetOptions): this;
|
|
38
|
-
lessThan(value: number, options?: DataBudgetOptions): this;
|
|
39
|
-
required(options?: DataBudgetOptions): this;
|
|
40
|
-
}
|
|
41
|
-
export interface DataSequenceBudget {
|
|
42
|
-
equals(values: readonly unknown[], options?: DataBudgetOptions): this;
|
|
43
|
-
includesOnly(values: readonly unknown[], options?: DataBudgetOptions): this;
|
|
44
|
-
required(options?: DataBudgetOptions): this;
|
|
45
|
-
}
|
|
46
|
-
export interface DataFixture {
|
|
47
|
-
buffer(): Buffer;
|
|
48
|
-
contentType: string;
|
|
49
|
-
filename: string;
|
|
50
|
-
json(): unknown;
|
|
51
|
-
path: string;
|
|
52
|
-
sha256: string;
|
|
53
|
-
sizeBytes: number;
|
|
54
|
-
text(encoding?: BufferEncoding): string;
|
|
55
|
-
}
|
|
56
|
-
export interface DataHttpResponse {
|
|
57
|
-
body: string;
|
|
58
|
-
cookies: Record<string, Array<{
|
|
59
|
-
value: string;
|
|
60
|
-
}>>;
|
|
61
|
-
durationMs: number;
|
|
62
|
-
headers: Record<string, string>;
|
|
63
|
-
json(): unknown;
|
|
64
|
-
method: string;
|
|
65
|
-
path: string;
|
|
66
|
-
status: number;
|
|
67
|
-
url: string;
|
|
68
|
-
}
|
|
69
|
-
export interface DataHttpRequestOptions {
|
|
70
|
-
contentTypeJson?: boolean;
|
|
71
|
-
signal?: AbortSignal;
|
|
72
|
-
}
|
|
73
|
-
export interface DataActorSession {
|
|
74
|
-
[key: string]: unknown;
|
|
75
|
-
actorIndex?: number;
|
|
76
|
-
email?: string | null;
|
|
77
|
-
name?: string | null;
|
|
78
|
-
organizationKey?: string | null;
|
|
79
|
-
organizationName?: string | null;
|
|
80
|
-
session?: UnknownRecord | null;
|
|
81
|
-
}
|
|
82
|
-
export interface DataSessionBundle {
|
|
83
|
-
actors: Record<string, DataActorSession | undefined>;
|
|
84
|
-
primaryActor: string | null;
|
|
85
|
-
}
|
|
86
|
-
export interface DataHttpHeaderContext {
|
|
87
|
-
actor: DataActorSession | null;
|
|
88
|
-
actorName: string | null;
|
|
89
|
-
sessionBundle: DataSessionBundle | null;
|
|
90
|
-
}
|
|
91
|
-
export type DataHttpHeaderBuilder = (context: DataHttpHeaderContext) => Record<string, string>;
|
|
92
|
-
export interface DataHttpClientOptions {
|
|
93
|
-
baseUrl?: string;
|
|
94
|
-
defaultActor?: string;
|
|
95
|
-
defaultHeaders?: Record<string, string>;
|
|
96
|
-
getHeaders?: DataHttpHeaderBuilder;
|
|
97
|
-
getRawHeaders?: DataHttpHeaderBuilder;
|
|
98
|
-
profile?: string;
|
|
99
|
-
recorder?: DataHttpRecorder;
|
|
100
|
-
sessionBundle?: DataSessionBundle;
|
|
101
|
-
trace?: DataHttpRecorder;
|
|
102
|
-
}
|
|
103
|
-
export interface DataHttpRequest {
|
|
104
|
-
(method: string, path: string, body?: unknown, headers?: Record<string, string>, options?: DataHttpRequestOptions): Promise<DataHttpResponse>;
|
|
105
|
-
}
|
|
106
|
-
export type DataActorRawRequest = DataHttpRequest & HttpMethods<Promise<DataHttpResponse>, [headers?: Record<string, string>, options?: DataHttpRequestOptions]>;
|
|
107
|
-
export interface DataRootRawRequest extends DataHttpRequest, Pick<HttpMethods<Promise<DataHttpResponse>, [headers?: Record<string, string>, options?: DataHttpRequestOptions]>, "get" | "post"> {
|
|
108
|
-
as(actorName: string): DataActorRawRequest;
|
|
109
|
-
}
|
|
110
|
-
export interface DataHttpMethods extends HttpMethods<Promise<DataHttpResponse>, [
|
|
111
|
-
headers?: Record<string, string>,
|
|
112
|
-
options?: DataHttpRequestOptions
|
|
113
|
-
]> {
|
|
114
|
-
headers(extraHeaders?: Record<string, string>): Record<string, string>;
|
|
115
|
-
rawHeaders(extraHeaders?: Record<string, string>): Record<string, string>;
|
|
116
|
-
request(method: string, path: string, body?: unknown, headers?: Record<string, string>, options?: DataHttpRequestOptions): Promise<DataHttpResponse>;
|
|
117
|
-
}
|
|
118
|
-
export interface DataActorHttpClient extends DataHttpMethods {
|
|
119
|
-
raw: DataActorRawRequest;
|
|
120
|
-
rawReq: DataActorRawRequest;
|
|
121
|
-
}
|
|
122
|
-
export interface DataHttpActor {
|
|
123
|
-
email: string | null;
|
|
124
|
-
headers: Record<string, string>;
|
|
125
|
-
index: number;
|
|
126
|
-
key: string;
|
|
127
|
-
name: string | null;
|
|
128
|
-
organizationKey: string | null;
|
|
129
|
-
organizationName: string | null;
|
|
130
|
-
rawHeaders: Record<string, string>;
|
|
131
|
-
rawReq: DataActorRawRequest;
|
|
132
|
-
req: DataActorHttpClient;
|
|
133
|
-
session: UnknownRecord | null;
|
|
134
|
-
}
|
|
135
|
-
export interface DataHttpActors {
|
|
136
|
-
get(name: string): DataHttpActor;
|
|
137
|
-
has(name: string): boolean;
|
|
138
|
-
list(): DataHttpActor[];
|
|
139
|
-
names: string[];
|
|
140
|
-
primary: DataHttpActor | null;
|
|
141
|
-
}
|
|
142
|
-
export interface DataHttpClient extends DataHttpMethods {
|
|
143
|
-
actor?: DataHttpActor | null;
|
|
144
|
-
actors?: DataHttpActors;
|
|
145
|
-
as(actorName: string): DataActorHttpClient;
|
|
146
|
-
baseUrl: string;
|
|
147
|
-
env?: HttpProfileEnv;
|
|
148
|
-
raw: DataRootRawRequest;
|
|
149
|
-
rawReq: DataRootRawRequest;
|
|
150
|
-
}
|
|
151
|
-
export interface DataHttpRequestRecord {
|
|
152
|
-
bodyBytes?: number;
|
|
153
|
-
durationMs?: number;
|
|
154
|
-
method: string;
|
|
155
|
-
path: string;
|
|
156
|
-
requestHeaders?: Record<string, string>;
|
|
157
|
-
responseBytes?: number;
|
|
158
|
-
status?: number;
|
|
159
|
-
}
|
|
160
|
-
export interface DataHttpRecorder {
|
|
161
|
-
recordHttpRequest(entry: DataHttpRequestRecord): unknown;
|
|
162
|
-
}
|
|
163
|
-
export interface DataExternalCallDetails extends DataEvidenceDetails {
|
|
164
|
-
costMinor?: number;
|
|
165
|
-
durationMs?: number;
|
|
166
|
-
requestBytes?: number;
|
|
167
|
-
responseBytes?: number;
|
|
168
|
-
}
|
|
169
|
-
export interface DataScenarioContext extends DataRuntimeContext, DataHttpRecorder {
|
|
170
|
-
addFinding(severity: string, message: string, details?: UnknownRecord): this;
|
|
171
|
-
actor(name: string, details?: DataEvidenceDetails): this;
|
|
172
|
-
budget(metricName: string): DataMetricBudget;
|
|
173
|
-
bytes(name: string, value: number, options?: DataMetricOptions): this;
|
|
174
|
-
count(name: string, value?: number, options?: DataMetricOptions): this;
|
|
175
|
-
duration(name: string, value: number, options?: DataMetricOptions): this;
|
|
176
|
-
event(name: string, details?: UnknownRecord): this;
|
|
177
|
-
expectMetric(metricName: string): DataMetricBudget;
|
|
178
|
-
expectSequence(sequenceName: string): DataSequenceBudget;
|
|
179
|
-
externalCall(name: string, details?: DataExternalCallDetails): this;
|
|
180
|
-
finding(severity: string, message: string, details?: UnknownRecord): this;
|
|
181
|
-
fixture(name: string): DataFixture;
|
|
182
|
-
http(options?: DataHttpProfileOptions): Promise<DataHttpClient>;
|
|
183
|
-
metric(name: string, value: number, options?: DataMetricOptions): this;
|
|
184
|
-
money(name: string, value: number, options?: DataMetricOptions): this;
|
|
185
|
-
ratio(name: string, value: number, options?: DataMetricOptions): this;
|
|
186
|
-
reconcile(name: string, details?: DataEvidenceDetails): this;
|
|
187
|
-
record(name: string, details?: DataEvidenceDetails & {
|
|
188
|
-
count?: number;
|
|
189
|
-
}): this;
|
|
190
|
-
recordHttpRequest(entry: DataHttpRequestRecord): this;
|
|
191
|
-
recordCache(name: string, values?: {
|
|
192
|
-
hits?: number;
|
|
193
|
-
misses?: number;
|
|
194
|
-
reads?: number;
|
|
195
|
-
writes?: number;
|
|
196
|
-
}): this;
|
|
197
|
-
recordLlmUsage(name: string, usage?: Record<string, number>): this;
|
|
198
|
-
recordRpc(name: string, entry?: {
|
|
199
|
-
method?: string;
|
|
200
|
-
requestBytes?: number;
|
|
201
|
-
responseBytes?: number;
|
|
202
|
-
}): this;
|
|
203
|
-
sequence(name: string, values: unknown, options?: DataSequenceOptions): this;
|
|
204
|
-
sequenceBudget(sequenceName: string): DataSequenceBudget;
|
|
205
|
-
system(name: string, details?: DataEvidenceDetails): this;
|
|
206
|
-
transition(name: string, details?: DataEvidenceDetails): this;
|
|
207
|
-
}
|
|
208
|
-
export interface DataRuntimeContext extends UnknownRecord {
|
|
209
|
-
baseUrl?: string | null;
|
|
210
|
-
engineId?: "node-vitest";
|
|
211
|
-
readonly env: Readonly<Record<string, string>>;
|
|
212
|
-
profileId?: "node-vitest-data";
|
|
213
|
-
serviceName?: string;
|
|
214
|
-
task?: {
|
|
215
|
-
file?: string;
|
|
216
|
-
id?: number | string;
|
|
217
|
-
suiteName?: string;
|
|
218
|
-
testType: "data";
|
|
219
|
-
};
|
|
220
|
-
}
|
|
221
|
-
export type DataHttpProfileAuth = HttpProfileAuth<DataSessionBundle>;
|
|
222
|
-
export interface DataHttpProfileOptions extends DataHttpClientOptions {
|
|
223
|
-
auth?: DataHttpProfileAuth | null;
|
|
224
|
-
env?: HttpProfileEnv;
|
|
225
|
-
headers?: HttpProfileHeaderBuilder<DataSessionBundle>;
|
|
226
|
-
rawHeaders?: HttpProfileHeaderBuilder<DataSessionBundle>;
|
|
227
|
-
}
|
|
228
|
-
export interface ResolvedDataHttpProfileOptions extends Omit<DataHttpProfileOptions, "auth" | "env" | "headers" | "rawHeaders"> {
|
|
229
|
-
auth: DataHttpProfileAuth | null;
|
|
230
|
-
env: HttpProfileEnv | undefined;
|
|
231
|
-
headers: HttpProfileHeaderBuilder<DataSessionBundle> | undefined;
|
|
232
|
-
rawHeaders: HttpProfileHeaderBuilder<DataSessionBundle> | undefined;
|
|
233
|
-
}
|
|
234
|
-
export interface DataMetric {
|
|
235
|
-
aggregation?: string;
|
|
236
|
-
description: string | null;
|
|
237
|
-
dimensions: UnknownRecord;
|
|
238
|
-
intervalMs?: number | null;
|
|
239
|
-
kind: string;
|
|
240
|
-
name: string;
|
|
241
|
-
unit: string | null;
|
|
242
|
-
value: number;
|
|
243
|
-
}
|
|
244
|
-
export interface DataSequence {
|
|
245
|
-
description: string | null;
|
|
246
|
-
dimensions: UnknownRecord;
|
|
247
|
-
name: string;
|
|
248
|
-
values: string[];
|
|
249
|
-
}
|
|
250
|
-
export interface DataEvidence {
|
|
251
|
-
atMs: number;
|
|
252
|
-
details: unknown;
|
|
253
|
-
kind: string;
|
|
254
|
-
name: string;
|
|
255
|
-
status: string | null;
|
|
256
|
-
}
|
|
257
|
-
export interface DataEvent {
|
|
258
|
-
atMs: number;
|
|
259
|
-
details: unknown;
|
|
260
|
-
name: string;
|
|
261
|
-
}
|
|
262
|
-
export interface DataFinding {
|
|
263
|
-
details: unknown;
|
|
264
|
-
message: string;
|
|
265
|
-
severity: DataFindingSeverity;
|
|
266
|
-
}
|
|
267
|
-
export interface SerializedDataError {
|
|
268
|
-
message: string;
|
|
269
|
-
name: string;
|
|
270
|
-
stack: string | null;
|
|
271
|
-
}
|
|
272
|
-
export interface DataMetricBudgetInput {
|
|
273
|
-
expected?: number;
|
|
274
|
-
message: string | null;
|
|
275
|
-
metricKey?: string | null;
|
|
276
|
-
name: string;
|
|
277
|
-
operator: DataMetricBudgetOperator;
|
|
278
|
-
target: "metric";
|
|
279
|
-
}
|
|
280
|
-
export interface DataSequenceBudgetInput {
|
|
281
|
-
expected?: unknown[];
|
|
282
|
-
message: string | null;
|
|
283
|
-
name: string;
|
|
284
|
-
operator: DataSequenceBudgetOperator;
|
|
285
|
-
target: "sequence";
|
|
286
|
-
}
|
|
287
|
-
export type DataBudgetInput = DataMetricBudgetInput | DataSequenceBudgetInput;
|
|
288
|
-
export type DataBudgetDraft = (Omit<DataMetricBudgetInput, "message"> & {
|
|
289
|
-
message?: string;
|
|
290
|
-
}) | (Omit<DataSequenceBudgetInput, "message"> & {
|
|
291
|
-
message?: string;
|
|
292
|
-
});
|
|
293
|
-
export interface DataBudgetResultBase {
|
|
294
|
-
actual: number | string[] | null;
|
|
295
|
-
message: string;
|
|
296
|
-
status: "failed" | "passed";
|
|
297
|
-
}
|
|
298
|
-
export type DataBudgetResult = (Omit<DataMetricBudgetInput, "expected" | "message"> & DataBudgetResultBase & {
|
|
299
|
-
expected: number | null;
|
|
300
|
-
}) | (Omit<DataSequenceBudgetInput, "expected" | "message"> & DataBudgetResultBase & {
|
|
301
|
-
expected: unknown[] | null;
|
|
302
|
-
});
|
|
303
|
-
export interface DataScenarioState {
|
|
304
|
-
budgetFailures: DataBudgetResult[];
|
|
305
|
-
budgetResults: DataBudgetResult[];
|
|
306
|
-
budgets: DataBudgetInput[];
|
|
307
|
-
description: string | null;
|
|
308
|
-
error: SerializedDataError | null;
|
|
309
|
-
events: DataEvent[];
|
|
310
|
-
evidence: DataEvidence[];
|
|
311
|
-
findings: DataFinding[];
|
|
312
|
-
finishedAtMs: number | null;
|
|
313
|
-
metrics: DataMetric[];
|
|
314
|
-
name: string;
|
|
315
|
-
sequences: DataSequence[];
|
|
316
|
-
startedAtMs: number;
|
|
317
|
-
status: DataScenarioStatus;
|
|
318
|
-
}
|
|
319
|
-
export interface DataScenarioReport {
|
|
320
|
-
budgetFailures: DataBudgetResult[];
|
|
321
|
-
budgets: DataBudgetResult[];
|
|
322
|
-
description: string | null;
|
|
323
|
-
durationMs: number;
|
|
324
|
-
error: SerializedDataError | null;
|
|
325
|
-
events: DataEvent[];
|
|
326
|
-
evidence: DataEvidence[];
|
|
327
|
-
findings: DataFinding[];
|
|
328
|
-
metrics: DataMetric[];
|
|
329
|
-
name: string;
|
|
330
|
-
sequences: DataSequence[];
|
|
331
|
-
status: "failed" | "passed";
|
|
332
|
-
}
|
|
333
|
-
export interface DataFlowReport {
|
|
334
|
-
file: string | null;
|
|
335
|
-
generatedAt: string;
|
|
336
|
-
kind: typeof DATA_ARTIFACT_KIND;
|
|
337
|
-
scenarios: DataScenarioReport[];
|
|
338
|
-
schemaVersion: typeof DATA_SCHEMA_VERSION;
|
|
339
|
-
summary: {
|
|
340
|
-
budgetFailures: number;
|
|
341
|
-
failed: number;
|
|
342
|
-
findingCounts: Record<DataFindingSeverity, number>;
|
|
343
|
-
passed: number;
|
|
344
|
-
scenarios: number;
|
|
345
|
-
status: "failed" | "passed";
|
|
346
|
-
};
|
|
347
|
-
summaryText: string;
|
|
348
|
-
taskId: string | null;
|
|
349
|
-
}
|
|
350
|
-
export interface DataFlowState {
|
|
351
|
-
emitted: boolean;
|
|
352
|
-
scenarios: DataScenarioState[];
|
|
353
|
-
}
|
|
354
|
-
export interface DataFixtureManifestEntry {
|
|
355
|
-
absolutePath: string;
|
|
356
|
-
aliases: string[];
|
|
357
|
-
contentType: string;
|
|
358
|
-
filename: string;
|
|
359
|
-
path: string;
|
|
360
|
-
sha256: string;
|
|
361
|
-
sizeBytes: number;
|
|
362
|
-
}
|
|
363
|
-
export interface DataFixtureManifest {
|
|
364
|
-
entries: DataFixtureManifestEntry[];
|
|
365
|
-
}
|
|
366
|
-
export interface SerializedRequestBody {
|
|
367
|
-
body: NonNullable<RequestInit["body"]> | undefined;
|
|
368
|
-
}
|
|
369
|
-
export interface DataActorsContext {
|
|
370
|
-
actor: DataHttpActor | null;
|
|
371
|
-
actors: DataHttpActors;
|
|
372
|
-
}
|
|
373
|
-
export type ResolvedDataHttpEnv = HttpProfileEnv & RuntimeEnv & {
|
|
374
|
-
BASE: string;
|
|
375
|
-
rawEnv: NodeJS.ProcessEnv;
|
|
376
|
-
};
|
|
377
|
-
export interface FetchProfileResponse {
|
|
378
|
-
body: string;
|
|
379
|
-
cookies: Record<string, Array<{
|
|
380
|
-
value: string;
|
|
381
|
-
}>>;
|
|
382
|
-
headers: Record<string, string>;
|
|
383
|
-
status: number;
|
|
384
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import type { EngineJsonObject, EngineJsonValue } from "../../api/index.js";
|
|
2
|
-
import { type OwnedFileRecord } from "../../runtime-input-file.js";
|
|
3
|
-
export declare const NODE_VITEST_RUNTIME_INPUT_VERSION: 1;
|
|
4
|
-
export declare const NODE_VITEST_RUNTIME_INPUT_FILENAME = "runtime-input.json";
|
|
5
|
-
export declare const NODE_VITEST_RUNTIME_INPUT_FILE_ENV = "TESTKIT_NODE_VITEST_INPUT_FILE";
|
|
6
|
-
export declare const NODE_VITEST_RUNTIME_INPUT_SHA256_ENV = "TESTKIT_NODE_VITEST_INPUT_SHA256";
|
|
7
|
-
export declare const NODE_VITEST_RUNTIME_INPUT_SYMBOL = "elench.testkit.node-vitest.runtime-input.v1";
|
|
8
|
-
export declare const NODE_VITEST_DATA_BUDGET_FAILURE_DETAIL_KIND = "data-flow-budget";
|
|
9
|
-
export declare const NODE_VITEST_DATA_FAILURE_DETAILS_ARTIFACT_KIND = "testkit.failure-details";
|
|
10
|
-
export declare const NODE_VITEST_DATA_FAILURE_DETAILS_ARTIFACT_NAME = "data-flow-failure-details";
|
|
11
|
-
/**
|
|
12
|
-
* The real process environment contains only invocation-owned OS directories,
|
|
13
|
-
* locale, and small Testkit controls. This cross-platform budget stays below
|
|
14
|
-
* Windows' environment-block ceiling; ordinary consumer variables live in the
|
|
15
|
-
* owned input file instead.
|
|
16
|
-
*/
|
|
17
|
-
export declare const MAX_NODE_VITEST_SPAWN_ENVIRONMENT_UNITS: number;
|
|
18
|
-
export type NodeVitestProfileId = "node-vitest-contract" | "node-vitest-data";
|
|
19
|
-
export interface NodeVitestDataBudgetFailureDetail {
|
|
20
|
-
readonly actual: EngineJsonValue;
|
|
21
|
-
readonly checkName: string;
|
|
22
|
-
readonly count: 1;
|
|
23
|
-
readonly expected: EngineJsonValue;
|
|
24
|
-
readonly groupPath: readonly [string];
|
|
25
|
-
readonly key: string;
|
|
26
|
-
readonly kind: typeof NODE_VITEST_DATA_BUDGET_FAILURE_DETAIL_KIND;
|
|
27
|
-
readonly message: string;
|
|
28
|
-
readonly title: string;
|
|
29
|
-
}
|
|
30
|
-
export interface NodeVitestDataFailureDetailsArtifact {
|
|
31
|
-
readonly failures: readonly NodeVitestDataBudgetFailureDetail[];
|
|
32
|
-
readonly phase: "exec";
|
|
33
|
-
}
|
|
34
|
-
export interface NodeVitestRuntimeInputDocument {
|
|
35
|
-
readonly context: EngineJsonObject;
|
|
36
|
-
readonly engineId: "node-vitest";
|
|
37
|
-
readonly environment: Readonly<Record<string, string>>;
|
|
38
|
-
readonly fixtures: EngineJsonObject;
|
|
39
|
-
readonly invocationId: string;
|
|
40
|
-
readonly profileId: NodeVitestProfileId;
|
|
41
|
-
readonly setupData?: EngineJsonValue;
|
|
42
|
-
readonly taskId: string;
|
|
43
|
-
readonly version: typeof NODE_VITEST_RUNTIME_INPUT_VERSION;
|
|
44
|
-
}
|
|
45
|
-
export type NodeVitestRuntimeInput = NodeVitestRuntimeInputDocument;
|
|
46
|
-
export type OwnedNodeVitestRuntimeInput = OwnedFileRecord;
|
|
47
|
-
export interface InstallNodeVitestRuntimeInputRequest {
|
|
48
|
-
readonly expectedFile: string;
|
|
49
|
-
readonly expectedInvocationId: string;
|
|
50
|
-
readonly expectedProfileId: NodeVitestProfileId;
|
|
51
|
-
readonly expectedSha256: string;
|
|
52
|
-
readonly expectedSizeBytes: number;
|
|
53
|
-
readonly expectedTaskId: string;
|
|
54
|
-
}
|
|
55
|
-
export declare function writeOwnedNodeVitestRuntimeInput(taskDirectory: string, document: NodeVitestRuntimeInputDocument): Promise<OwnedNodeVitestRuntimeInput>;
|
|
56
|
-
export declare function verifyOwnedNodeVitestRuntimeInput(input: OwnedNodeVitestRuntimeInput): Promise<void>;
|
|
57
|
-
export declare function selectNodeVitestForwardedEnvironment(input: Readonly<Record<string, string>>): Readonly<Record<string, string>>;
|
|
58
|
-
export declare function assertNodeVitestSpawnEnvironmentBudget(environment: Readonly<Record<string, string>>): void;
|
|
59
|
-
/** Runs from the engine-owned Node bootstrap before any tool or consumer code. */
|
|
60
|
-
export declare function installNodeVitestRuntimeInput(request: Readonly<InstallNodeVitestRuntimeInputRequest>): Promise<void>;
|
|
61
|
-
/** Reasserts small engine controls after Vitest creates its worker environment. */
|
|
62
|
-
export declare function applyNodeVitestEngineEnvironment(): void;
|
|
63
|
-
/** Reads the engine-installed document from the current Vitest worker. */
|
|
64
|
-
export declare function readNodeVitestRuntimeInput(): NodeVitestRuntimeInput | null;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { type ProcessClassification } from "../../adapters/execution.js";
|
|
2
|
-
import { type EngineExecutionRequest, type EngineExecutionResult, type EngineFailureEvidence, type EngineInvocationScope } from "../../api/index.js";
|
|
3
|
-
import { createNativeInvocationProcessEnvironment, type ManagedProcessResult } from "../../../process/index.js";
|
|
4
|
-
import type { PlaywrightInstallation } from "../../installations/playwright.js";
|
|
5
|
-
import { writePlaywrightTaskWorkspace } from "./config.js";
|
|
6
|
-
import { type CollectedPlaywrightEvidence } from "./evidence.js";
|
|
7
|
-
export declare const PLAYWRIGHT_SPAWN_ENVIRONMENT_MAX_BYTES: number;
|
|
8
|
-
export interface PlaywrightAdapterDependencies {
|
|
9
|
-
createInvocationEnvironment: typeof createNativeInvocationProcessEnvironment;
|
|
10
|
-
removeOwnedDirectory(directory: string): Promise<void>;
|
|
11
|
-
writeTaskWorkspace(request: Parameters<typeof writePlaywrightTaskWorkspace>[0]): ReturnType<typeof writePlaywrightTaskWorkspace>;
|
|
12
|
-
}
|
|
13
|
-
export declare const playwrightAdapterDependencies: PlaywrightAdapterDependencies;
|
|
14
|
-
export declare function executePlaywrightEngine(request: Readonly<EngineExecutionRequest<"playwright">>, installation: Readonly<PlaywrightInstallation>, scope: EngineInvocationScope, dependencies?: PlaywrightAdapterDependencies): Promise<EngineExecutionResult>;
|
|
15
|
-
export declare function classifyPlaywrightProcessResult(result: ManagedProcessResult, collected: CollectedPlaywrightEvidence, timeoutMs: number, deadlineExceeded: boolean): ProcessClassification;
|
|
16
|
-
export declare function playwrightEvidenceCollectionFailure(result: ManagedProcessResult, error: unknown): EngineFailureEvidence;
|
|
17
|
-
export declare function playwrightSpawnEnvironmentBytes(environment: Readonly<Record<string, string>>): number;
|
|
18
|
-
export declare function playwrightPreparationFailure(error: unknown, cleanupFailures: readonly Error[]): EngineFailureEvidence;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { NativeReportOptions } from "../../adapters/native-report.js";
|
|
2
|
-
export declare const MAX_ATTACHMENT_BYTES: number;
|
|
3
|
-
export declare const MAX_TOTAL_ATTACHMENT_BYTES: number;
|
|
4
|
-
export interface PlaywrightReporterOptions extends NativeReportOptions {
|
|
5
|
-
readonly attachmentDirectory: string;
|
|
6
|
-
readonly failOnFlakyTests: boolean;
|
|
7
|
-
}
|
|
8
|
-
export type PlaywrightAttachmentError = {
|
|
9
|
-
readonly kind: "individual" | "total";
|
|
10
|
-
readonly limit: number;
|
|
11
|
-
readonly observed: number;
|
|
12
|
-
} | {
|
|
13
|
-
readonly kind: "io";
|
|
14
|
-
readonly message: string;
|
|
15
|
-
};
|
|
16
|
-
export interface PlaywrightAttachment {
|
|
17
|
-
readonly name: string;
|
|
18
|
-
readonly contentType: string;
|
|
19
|
-
readonly specId: string;
|
|
20
|
-
readonly specTitle: string;
|
|
21
|
-
readonly retry: number;
|
|
22
|
-
readonly path?: string;
|
|
23
|
-
readonly error?: PlaywrightAttachmentError;
|
|
24
|
-
}
|
|
25
|
-
export declare function attachmentLimitError(size: number, total: number): PlaywrightAttachmentError | null;
|
|
26
|
-
export declare function attachmentIoError(error: unknown): PlaywrightAttachmentError;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import type { EngineExecutionInputs, EngineTaskOrchestration } from "../../api/index.js";
|
|
2
|
-
export interface PlaywrightWorkspaceRequest {
|
|
3
|
-
readonly artifactDirectory: string;
|
|
4
|
-
readonly baseUrl: null | string;
|
|
5
|
-
readonly browserFile: string;
|
|
6
|
-
readonly endpoints: Readonly<Record<string, string>>;
|
|
7
|
-
readonly inputs: EngineExecutionInputs;
|
|
8
|
-
readonly invocationId: string;
|
|
9
|
-
readonly managedModuleEntrypoints: PlaywrightManagedModuleEntrypoints;
|
|
10
|
-
readonly moduleFile: string;
|
|
11
|
-
readonly orchestration: EngineTaskOrchestration;
|
|
12
|
-
readonly rootDirectory: string;
|
|
13
|
-
readonly serviceName: string;
|
|
14
|
-
readonly sourceFile: string;
|
|
15
|
-
readonly taskDirectory: string;
|
|
16
|
-
readonly taskId: string;
|
|
17
|
-
}
|
|
18
|
-
export interface PlaywrightTaskWorkspace {
|
|
19
|
-
readonly attachmentDirectory: string;
|
|
20
|
-
readonly configFile: string;
|
|
21
|
-
readonly inputBootstrapFile: string;
|
|
22
|
-
readonly outputDirectory: string;
|
|
23
|
-
readonly reportFile: string;
|
|
24
|
-
readonly resolutionBootstrapFile: string;
|
|
25
|
-
}
|
|
26
|
-
export interface PlaywrightManagedModuleEntrypoints {
|
|
27
|
-
readonly authoring: string;
|
|
28
|
-
readonly cli: string;
|
|
29
|
-
readonly playwright: string;
|
|
30
|
-
readonly playwrightCore: string;
|
|
31
|
-
readonly playwrightTest: string;
|
|
32
|
-
readonly root: string;
|
|
33
|
-
readonly rootPackageJson: string;
|
|
34
|
-
}
|
|
35
|
-
export interface PlaywrightResolutionBoundary {
|
|
36
|
-
readonly consumerRoots: readonly string[];
|
|
37
|
-
readonly trustedImporterFiles: readonly string[];
|
|
38
|
-
readonly trustedInternalEntrypoints: readonly string[];
|
|
39
|
-
}
|
|
40
|
-
export declare class PlaywrightConsumerConfigurationError extends Error {
|
|
41
|
-
constructor(error: unknown);
|
|
42
|
-
}
|
|
43
|
-
export declare function playwrightExactFileFilter(file: string): string;
|
|
44
|
-
export declare function writePlaywrightTaskWorkspace(request: Readonly<PlaywrightWorkspaceRequest>): Promise<PlaywrightTaskWorkspace>;
|
|
45
|
-
export declare function playwrightResolutionBootstrapSource(entrypoints: Readonly<PlaywrightManagedModuleEntrypoints>, boundary: Readonly<PlaywrightResolutionBoundary>): string;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare function nonNegativeInteger(value: unknown, label: string): number;
|
|
2
|
-
export declare function optionalNonNegativeInteger(value: unknown, label: string): number | null;
|
|
3
|
-
export declare function nonNegativeNumber(value: unknown, label: string): number;
|
|
4
|
-
export declare function requireNonEmptyString(value: unknown, label: string): string;
|
|
5
|
-
export declare function optionalNonEmptyString(value: unknown): string | null;
|
|
6
|
-
export declare function portableReportPath(value: string): string;
|
|
7
|
-
export declare function portableRelativePath(rootDirectory: string, candidate: string): string;
|
|
8
|
-
export declare function requireRecord(value: unknown, label: string): Record<string, unknown>;
|
|
9
|
-
export declare function isMissingFileError(error: unknown): boolean;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { EngineEvidence, EngineFailureEvidence } from "../../api/index.js";
|
|
2
|
-
import { type EvidenceFileAccess } from "../../adapters/evidence-files.js";
|
|
3
|
-
import { type NativeReportIdentity } from "../../adapters/native-report.js";
|
|
4
|
-
export interface PlaywrightEvidenceRequest {
|
|
5
|
-
readonly identity: NativeReportIdentity;
|
|
6
|
-
readonly artifactDirectory: string;
|
|
7
|
-
readonly outputDirectory: string;
|
|
8
|
-
readonly reportFile: string;
|
|
9
|
-
readonly rootDirectory: string;
|
|
10
|
-
readonly sourceFile: string;
|
|
11
|
-
readonly stderr: string;
|
|
12
|
-
readonly stdout: string;
|
|
13
|
-
}
|
|
14
|
-
export interface PlaywrightReportClassification {
|
|
15
|
-
readonly failure: EngineFailureEvidence | null;
|
|
16
|
-
readonly status: "failed" | "not_run" | "passed" | "skipped";
|
|
17
|
-
}
|
|
18
|
-
export interface CollectedPlaywrightEvidence {
|
|
19
|
-
readonly attachmentFailures: readonly EngineFailureEvidence[];
|
|
20
|
-
readonly evidence: EngineEvidence;
|
|
21
|
-
readonly outputLimit: PlaywrightOutputArtifactLimit | null;
|
|
22
|
-
readonly report: PlaywrightReportClassification;
|
|
23
|
-
readonly reportError: Error | null;
|
|
24
|
-
}
|
|
25
|
-
export interface PlaywrightOutputArtifactLimit {
|
|
26
|
-
readonly bytes: number;
|
|
27
|
-
readonly entries: number;
|
|
28
|
-
readonly kind: "bytes" | "entries";
|
|
29
|
-
readonly limit: number;
|
|
30
|
-
readonly observed: number;
|
|
31
|
-
}
|
|
32
|
-
export declare function collectPlaywrightEvidence(request: Readonly<PlaywrightEvidenceRequest>, fileAccess?: EvidenceFileAccess): Promise<CollectedPlaywrightEvidence>;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { executePlaywrightEngine } from "./adapter.js";
|
|
2
|
-
export { readPlaywrightContext, type PlaywrightTestContext } from "../runtime/runtime-input.js";
|
|
3
|
-
export { playwrightResolutionBootstrapSource, type PlaywrightManagedModuleEntrypoints, type PlaywrightResolutionBoundary, } from "./config.js";
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { FullConfig, FullResult, Reporter, Suite, TestError } from "@playwright/test/reporter";
|
|
2
|
-
import { type PlaywrightReporterOptions } from "./attachments.js";
|
|
3
|
-
export default class TestkitPlaywrightReporter implements Reporter {
|
|
4
|
-
private readonly options;
|
|
5
|
-
private config;
|
|
6
|
-
private suite;
|
|
7
|
-
private readonly errors;
|
|
8
|
-
constructor(options: PlaywrightReporterOptions);
|
|
9
|
-
onBegin(config: FullConfig, suite: Suite): void;
|
|
10
|
-
onError(error: TestError): void;
|
|
11
|
-
onEnd(result: FullResult): Promise<void>;
|
|
12
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { type PlaywrightTestConfig } from "@playwright/test";
|
|
2
|
-
export type DefinedTestkitPlaywrightConfig<TestArgs = object, WorkerArgs = object> = Omit<PlaywrightTestConfig<TestArgs, WorkerArgs>, "expect" | "globalTimeout" | "timeout" | "use" | "webServer"> & {
|
|
3
|
-
expect: Omit<NonNullable<PlaywrightTestConfig<TestArgs, WorkerArgs>["expect"]>, "timeout"> & {
|
|
4
|
-
timeout: number;
|
|
5
|
-
};
|
|
6
|
-
globalTimeout?: number;
|
|
7
|
-
timeout: number;
|
|
8
|
-
use: Omit<NonNullable<PlaywrightTestConfig<TestArgs, WorkerArgs>["use"]>, "actionTimeout" | "baseURL" | "navigationTimeout"> & {
|
|
9
|
-
actionTimeout: number;
|
|
10
|
-
baseURL?: string;
|
|
11
|
-
navigationTimeout: number;
|
|
12
|
-
};
|
|
13
|
-
webServer?: PlaywrightTestConfig<TestArgs, WorkerArgs>["webServer"];
|
|
14
|
-
};
|
|
15
|
-
export interface PlaywrightConfigOptions {
|
|
16
|
-
cwd?: string;
|
|
17
|
-
defaultFileTimeoutSeconds?: number;
|
|
18
|
-
dotenvFiles?: string[];
|
|
19
|
-
env?: NodeJS.ProcessEnv;
|
|
20
|
-
onlyWhenAllowed?: boolean;
|
|
21
|
-
override?: boolean;
|
|
22
|
-
}
|
|
23
|
-
export declare function defineTestkitConfig(): DefinedTestkitPlaywrightConfig;
|
|
24
|
-
export declare function defineTestkitConfig<TestArgs = object, WorkerArgs = object>(config: PlaywrightTestConfig<TestArgs, WorkerArgs>, options?: PlaywrightConfigOptions): DefinedTestkitPlaywrightConfig<TestArgs, WorkerArgs>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export * from "@playwright/test";
|
|
2
|
-
export { readPlaywrightContext, type PlaywrightTestContext } from "./runtime-input.js";
|
|
3
|
-
export { defineTestkitConfig, type DefinedTestkitPlaywrightConfig, type PlaywrightConfigOptions } from "./config.js";
|
|
4
|
-
export { assertSafeUiTarget, assertSafeUiTargets, createAuthedApiClient, createSandboxId, createUiSandbox, resolveBackendBaseUrl, resolveFrontendBaseUrl, waitForAnimationFrames, waitForElementStable, waitForImagesLoaded, waitForNetworkIdle, waitForUiSettled, type UiSandboxFixture, type UiSandboxOptions, } from "./sandbox.js";
|