@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,17 +0,0 @@
|
|
|
1
|
-
import type { SourceSchemaDumpResolution } from "../../database/source-url.js";
|
|
2
|
-
import { type ConfiguredStepReporter } from "../../steps/index.js";
|
|
3
|
-
import { type SchemaOperationOptions } from "./prepare.js";
|
|
4
|
-
export type DatabaseSchemaRefreshOptions = SchemaOperationOptions;
|
|
5
|
-
export interface DatabaseSchemaRefreshResult {
|
|
6
|
-
cacheKey: string;
|
|
7
|
-
cacheKind: string;
|
|
8
|
-
envName: null | string;
|
|
9
|
-
ok: true;
|
|
10
|
-
outputLabel: string;
|
|
11
|
-
outputPath: string;
|
|
12
|
-
productDir: string;
|
|
13
|
-
reusedExistingRefresh: boolean;
|
|
14
|
-
service: string;
|
|
15
|
-
sourceUrl: SourceSchemaDumpResolution["metadata"] | null;
|
|
16
|
-
}
|
|
17
|
-
export declare function executeDatabaseSchemaRefresh(options: Readonly<DatabaseSchemaRefreshOptions>, reporter: ConfiguredStepReporter): Promise<DatabaseSchemaRefreshResult>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type ConfiguredStepReporter } from "../../steps/index.js";
|
|
2
|
-
import { type SchemaOperationOptions } from "./prepare.js";
|
|
3
|
-
export interface DatabaseSchemaVerifyOptions extends SchemaOperationOptions {
|
|
4
|
-
"skip-schema-source-verify"?: boolean;
|
|
5
|
-
}
|
|
6
|
-
export interface DatabaseSchemaVerifyResult {
|
|
7
|
-
ok: true;
|
|
8
|
-
productDir: string;
|
|
9
|
-
service: string;
|
|
10
|
-
}
|
|
11
|
-
export declare function executeDatabaseSchemaVerify(options: Readonly<DatabaseSchemaVerifyOptions>, reporter: ConfiguredStepReporter): Promise<DatabaseSchemaVerifyResult>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { type NormalizedServiceConfig } from "../../config/loader/index.js";
|
|
2
|
-
export interface DestroyOptions {
|
|
3
|
-
destroyOwnedResources?: boolean;
|
|
4
|
-
}
|
|
5
|
-
export declare function destroy(productDir: string, configs: readonly Readonly<NormalizedServiceConfig>[], options?: Readonly<DestroyOptions>): Promise<void>;
|
|
6
|
-
export declare function destroyEnvironment(options: Readonly<{
|
|
7
|
-
dir?: string;
|
|
8
|
-
service?: string;
|
|
9
|
-
}>): Promise<{
|
|
10
|
-
ok: true;
|
|
11
|
-
productDir: string;
|
|
12
|
-
results: Array<{
|
|
13
|
-
destroyed: true;
|
|
14
|
-
name: string;
|
|
15
|
-
}>;
|
|
16
|
-
}>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type DiscoverTestsOptions, type DiscoveryResult } from "../../config/loader/index.js";
|
|
2
|
-
export interface DiscoverOperationResult extends DiscoveryResult {
|
|
3
|
-
outputLabel: null | string;
|
|
4
|
-
}
|
|
5
|
-
export declare function executeDiscoverOperation(options: Readonly<Omit<DiscoverTestsOptions, "file"> & {
|
|
6
|
-
file?: readonly string[];
|
|
7
|
-
output?: string;
|
|
8
|
-
}>, cwd?: string): Promise<DiscoverOperationResult>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { type LintViolation } from "../lint/index.js";
|
|
2
|
-
export interface DoctorOptions {
|
|
3
|
-
dir?: string;
|
|
4
|
-
typecheck?: boolean;
|
|
5
|
-
}
|
|
6
|
-
export interface DoctorCheck {
|
|
7
|
-
code: "config-load" | "discovery" | "lint" | "typecheck";
|
|
8
|
-
details?: LintViolation[] | unknown[];
|
|
9
|
-
level: "fail" | "pass";
|
|
10
|
-
message: string;
|
|
11
|
-
}
|
|
12
|
-
export interface DoctorResult {
|
|
13
|
-
checks: DoctorCheck[];
|
|
14
|
-
ok: boolean;
|
|
15
|
-
productDir: string;
|
|
16
|
-
}
|
|
17
|
-
export declare function runDoctor(options?: DoctorOptions): Promise<DoctorResult>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function resolveRequestedFiles(fileNames: unknown, productDir: unknown, invocationCwd?: unknown): string[];
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export declare function inspectArtifacts(options: Readonly<{
|
|
2
|
-
dir?: string;
|
|
3
|
-
mode: "runs" | "verify" | "artifacts";
|
|
4
|
-
file: string | null;
|
|
5
|
-
runId: string | null;
|
|
6
|
-
service: string | null;
|
|
7
|
-
kind?: string;
|
|
8
|
-
includePayload?: boolean;
|
|
9
|
-
}>): {
|
|
10
|
-
mode: "runs";
|
|
11
|
-
runs: import("../../evidence/contracts.js").RunBundleSummary[];
|
|
12
|
-
verification?: undefined;
|
|
13
|
-
runId?: undefined;
|
|
14
|
-
entries?: undefined;
|
|
15
|
-
} | {
|
|
16
|
-
runs?: undefined;
|
|
17
|
-
mode: "verify";
|
|
18
|
-
runId: string | null;
|
|
19
|
-
verification: import("../../evidence/contracts.js").RunBundleVerification;
|
|
20
|
-
entries?: undefined;
|
|
21
|
-
} | {
|
|
22
|
-
runs?: undefined;
|
|
23
|
-
verification?: undefined;
|
|
24
|
-
mode: "artifacts";
|
|
25
|
-
runId: string | null;
|
|
26
|
-
entries: import("../../evidence/reading.js").CollectedArtifactEntry[];
|
|
27
|
-
};
|
|
28
|
-
export type ArtifactInspectionEntry = Extract<ReturnType<typeof inspectArtifacts>, {
|
|
29
|
-
mode: "artifacts";
|
|
30
|
-
}>["entries"][number];
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
export { formatTestTypeLabel } from "../../domain/test-types.js";
|
|
2
|
-
import type { RunArtifactSuite } from "../../evidence/index.js";
|
|
3
|
-
import { type EngineId, type RunnerProfileId } from "../../domain/identifiers.js";
|
|
4
|
-
import { type DiscoveryDiagnostic, type DiscoveryResult, type DiscoverySummary } from "../../config/loader/index.js";
|
|
5
|
-
import type { StatusModel } from "../status/model.js";
|
|
6
|
-
export { discoverTests, fileDisplayName, formatDisplayName, testTypeContract } from "../../config/loader/index.js";
|
|
7
|
-
export type { DiscoverTestsOptions, DiscoveryDiagnostic, DiscoveryFile, DiscoveryResult, DiscoveryService, DiscoverySuite, DiscoverySummary, DiscoveryTestContract, DiscoveryTestType, RuntimeIsolationPolicy, } from "../../config/loader/index.js";
|
|
8
|
-
export { listRunBundles, loadRunBundleArtifact, loadRunBundleManifest, verifyRunBundle } from "../../evidence/index.js";
|
|
9
|
-
export type { RunBundleVerification } from "../../evidence/index.js";
|
|
10
|
-
declare const WORKSPACE_SCHEMA_VERSION: 2;
|
|
11
|
-
export type WorkspaceTargetKind = "file" | "project" | "suite";
|
|
12
|
-
export type WorkspaceTargetSource = "discovery" | "latest" | "live";
|
|
13
|
-
export type WorkspaceRunSource = "latest" | "live";
|
|
14
|
-
export interface WorkspaceTargetRef {
|
|
15
|
-
detail: string;
|
|
16
|
-
engineId?: null | EngineId;
|
|
17
|
-
filePath?: string;
|
|
18
|
-
id: string;
|
|
19
|
-
kind: WorkspaceTargetKind;
|
|
20
|
-
label: string;
|
|
21
|
-
profileId?: null | RunnerProfileId;
|
|
22
|
-
runnable: boolean;
|
|
23
|
-
service?: null | string;
|
|
24
|
-
source: WorkspaceTargetSource;
|
|
25
|
-
status?: null | string;
|
|
26
|
-
suiteName?: null | string;
|
|
27
|
-
testType?: null | RunArtifactSuite["testType"];
|
|
28
|
-
}
|
|
29
|
-
export interface WorkspaceRunSummary {
|
|
30
|
-
durationMs: null | number;
|
|
31
|
-
files: {
|
|
32
|
-
failed: number;
|
|
33
|
-
notRun: number;
|
|
34
|
-
passed: number;
|
|
35
|
-
skipped: number;
|
|
36
|
-
total: number;
|
|
37
|
-
};
|
|
38
|
-
generatedAt: null | string;
|
|
39
|
-
id: null | string;
|
|
40
|
-
services: {
|
|
41
|
-
failed: number;
|
|
42
|
-
passed: number;
|
|
43
|
-
skipped: number;
|
|
44
|
-
total: number;
|
|
45
|
-
};
|
|
46
|
-
source: WorkspaceRunSource;
|
|
47
|
-
startedAt: null | string;
|
|
48
|
-
status: string;
|
|
49
|
-
suites: {
|
|
50
|
-
completed: number;
|
|
51
|
-
failed: number;
|
|
52
|
-
passed: number;
|
|
53
|
-
skipped: number;
|
|
54
|
-
total: number;
|
|
55
|
-
};
|
|
56
|
-
types: string[];
|
|
57
|
-
}
|
|
58
|
-
export interface WorkspaceRuntimeGraphStatus {
|
|
59
|
-
currentRuntimeDirCount: number;
|
|
60
|
-
desired: StatusModel["runtimeGraphs"][number]["desired"];
|
|
61
|
-
exists: boolean;
|
|
62
|
-
name: string;
|
|
63
|
-
orphan: boolean;
|
|
64
|
-
runtimeDirCount: number;
|
|
65
|
-
staleRuntimeDirCount: number;
|
|
66
|
-
}
|
|
67
|
-
export interface WorkspaceServiceStatus {
|
|
68
|
-
caches: StatusModel["caches"];
|
|
69
|
-
hasState: boolean;
|
|
70
|
-
name: string;
|
|
71
|
-
product: StatusModel["product"];
|
|
72
|
-
runtimeGraphs: WorkspaceRuntimeGraphStatus[];
|
|
73
|
-
runs: {
|
|
74
|
-
active: number;
|
|
75
|
-
stale: number;
|
|
76
|
-
total: number;
|
|
77
|
-
};
|
|
78
|
-
warnings: string[];
|
|
79
|
-
}
|
|
80
|
-
export interface WorkspaceStatus {
|
|
81
|
-
ok: boolean;
|
|
82
|
-
results: WorkspaceServiceStatus[];
|
|
83
|
-
}
|
|
84
|
-
export interface WorkspaceInspection {
|
|
85
|
-
activity: {
|
|
86
|
-
activeRuns: number;
|
|
87
|
-
staleRuns: number;
|
|
88
|
-
};
|
|
89
|
-
discovery: {
|
|
90
|
-
configFile: null | string;
|
|
91
|
-
diagnostics: DiscoveryDiagnostic[];
|
|
92
|
-
summary: DiscoverySummary;
|
|
93
|
-
} | null;
|
|
94
|
-
generatedAt: string;
|
|
95
|
-
product: DiscoveryResult["product"];
|
|
96
|
-
runs: {
|
|
97
|
-
latest: WorkspaceRunSummary | null;
|
|
98
|
-
live: WorkspaceRunSummary | null;
|
|
99
|
-
};
|
|
100
|
-
schemaVersion: typeof WORKSPACE_SCHEMA_VERSION;
|
|
101
|
-
source: "testkit-workspace";
|
|
102
|
-
status: WorkspaceStatus;
|
|
103
|
-
targets: WorkspaceTargetRef[];
|
|
104
|
-
warnings: string[];
|
|
105
|
-
}
|
|
106
|
-
export interface InspectWorkspaceOptions {
|
|
107
|
-
dir?: string;
|
|
108
|
-
service?: null | string;
|
|
109
|
-
status?: boolean;
|
|
110
|
-
targetLimit?: number;
|
|
111
|
-
}
|
|
112
|
-
export declare function inspectWorkspace(options?: Readonly<InspectWorkspaceOptions>): Promise<WorkspaceInspection>;
|
package/dist/app/lint/index.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
interface LintOperationFlags {
|
|
2
|
-
dir?: string;
|
|
3
|
-
}
|
|
4
|
-
export declare function executeLintOperation(flags?: LintOperationFlags): Promise<LintResult>;
|
|
5
|
-
import { type LintOptionsInput, type NormalizedLintOptions } from "./options.js";
|
|
6
|
-
import { type LintFinding } from "./shared.js";
|
|
7
|
-
export interface RunLintOptions extends LintOptionsInput {
|
|
8
|
-
dir?: string;
|
|
9
|
-
}
|
|
10
|
-
export interface RunLintForConfigOptions {
|
|
11
|
-
dir?: string;
|
|
12
|
-
}
|
|
13
|
-
export type LintViolation = LintFinding;
|
|
14
|
-
export interface LintSummary {
|
|
15
|
-
files: number;
|
|
16
|
-
testkitFiles: number;
|
|
17
|
-
violations: number;
|
|
18
|
-
}
|
|
19
|
-
export interface LintResult {
|
|
20
|
-
ok: boolean;
|
|
21
|
-
productDir: string;
|
|
22
|
-
summary: LintSummary;
|
|
23
|
-
violations: LintViolation[];
|
|
24
|
-
}
|
|
25
|
-
export declare function runLint(options?: RunLintOptions): Promise<LintResult>;
|
|
26
|
-
export declare function runLintForConfig(config: unknown, options?: RunLintForConfigOptions): Promise<LintResult>;
|
|
27
|
-
export declare function normalizeLintConfig(config?: unknown): NormalizedLintOptions;
|
|
28
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type NormalizedLintOptions } from "./options.js";
|
|
2
|
-
import { type LintFinding } from "./shared.js";
|
|
3
|
-
interface LintProjectInput {
|
|
4
|
-
productDir: string;
|
|
5
|
-
files: readonly string[];
|
|
6
|
-
trackedFiles: readonly string[] | null;
|
|
7
|
-
options: NormalizedLintOptions;
|
|
8
|
-
}
|
|
9
|
-
export declare function lintProject({ productDir, files, trackedFiles, options, }: LintProjectInput): Promise<LintFinding[]>;
|
|
10
|
-
export {};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
export interface LintRulePolicy {
|
|
2
|
-
allowed?: string[];
|
|
3
|
-
enabled: boolean;
|
|
4
|
-
exclude: string[];
|
|
5
|
-
include: string[];
|
|
6
|
-
ruleId: string;
|
|
7
|
-
ruleName: LintRuleName;
|
|
8
|
-
trackedOnly?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export interface LintRuleOptionsInput {
|
|
11
|
-
allowed?: readonly string[];
|
|
12
|
-
enabled?: boolean;
|
|
13
|
-
exclude?: readonly string[];
|
|
14
|
-
include?: readonly string[];
|
|
15
|
-
trackedOnly?: boolean;
|
|
16
|
-
}
|
|
17
|
-
export type LintRuleInput = boolean | LintRuleOptionsInput;
|
|
18
|
-
export interface LintOptionsInput {
|
|
19
|
-
rules?: Partial<Record<LintRuleName, LintRuleInput>>;
|
|
20
|
-
ui?: {
|
|
21
|
-
maxLines?: number;
|
|
22
|
-
maxTests?: number;
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
export interface NormalizedLintOptions {
|
|
26
|
-
rules: LintRulePolicies;
|
|
27
|
-
ui: {
|
|
28
|
-
maxLines: number;
|
|
29
|
-
maxTests: number;
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
export declare const LINT_RULE_NAMES: readonly ["engineImports", "uiSpecShape", "dalParallelSafety", "dataSuiteContract", "configImports", "testkitBoundary", "unitTestBoundaries"];
|
|
33
|
-
export type LintRuleName = (typeof LINT_RULE_NAMES)[number];
|
|
34
|
-
export type LintRulePolicies = Record<LintRuleName, LintRulePolicy>;
|
|
35
|
-
export declare function isLintRuleName(value: string): value is LintRuleName;
|
|
36
|
-
export declare const RULES: {
|
|
37
|
-
readonly engineImports: {
|
|
38
|
-
readonly ruleId: "engine-imports";
|
|
39
|
-
readonly defaultEnabled: true;
|
|
40
|
-
};
|
|
41
|
-
readonly uiSpecShape: {
|
|
42
|
-
readonly ruleId: "ui-spec-shape";
|
|
43
|
-
readonly defaultEnabled: true;
|
|
44
|
-
};
|
|
45
|
-
readonly dalParallelSafety: {
|
|
46
|
-
readonly ruleId: "dal-parallel-safety";
|
|
47
|
-
readonly defaultEnabled: true;
|
|
48
|
-
};
|
|
49
|
-
readonly dataSuiteContract: {
|
|
50
|
-
readonly ruleId: "data-suite-contract";
|
|
51
|
-
readonly defaultEnabled: true;
|
|
52
|
-
};
|
|
53
|
-
readonly configImports: {
|
|
54
|
-
readonly ruleId: "config-imports";
|
|
55
|
-
readonly defaultEnabled: true;
|
|
56
|
-
};
|
|
57
|
-
readonly testkitBoundary: {
|
|
58
|
-
readonly ruleId: "testkit-boundary";
|
|
59
|
-
readonly defaultEnabled: false;
|
|
60
|
-
};
|
|
61
|
-
readonly unitTestBoundaries: {
|
|
62
|
-
readonly ruleId: "unit-test-boundaries";
|
|
63
|
-
readonly defaultEnabled: false;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
export declare function normalizeLintConfig(config?: unknown): NormalizedLintOptions;
|
|
67
|
-
export declare function normalizeLintOptions(options?: LintOptionsInput): NormalizedLintOptions;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { TSESLint, TSESTree } from "@typescript-eslint/utils";
|
|
2
|
-
import type { NormalizedLintOptions } from "./options.js";
|
|
3
|
-
export type PolicyContext = TSESLint.RuleContext<"violation", []>;
|
|
4
|
-
export type Report = (node: TSESTree.Node, kind: string, target: string, message: string) => void;
|
|
5
|
-
export interface LiteralFact {
|
|
6
|
-
field: string;
|
|
7
|
-
value: string;
|
|
8
|
-
file: string;
|
|
9
|
-
line: number;
|
|
10
|
-
snippet: string;
|
|
11
|
-
}
|
|
12
|
-
export interface PolicyInput {
|
|
13
|
-
context: PolicyContext;
|
|
14
|
-
file: string;
|
|
15
|
-
report: Report;
|
|
16
|
-
options: NormalizedLintOptions;
|
|
17
|
-
literals: LiteralFact[];
|
|
18
|
-
}
|
|
19
|
-
export declare function stringValue(node: TSESTree.Node | null | undefined): string | null;
|
|
20
|
-
export declare function memberName(node: TSESTree.MemberExpression): string | null;
|
|
21
|
-
export declare function binding(context: PolicyContext, node: TSESTree.Identifier): TSESLint.Scope.Variable | null;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { TSESLint } from "@typescript-eslint/utils";
|
|
2
|
-
import type { LintRuleName } from "../options.js";
|
|
3
|
-
import { type PolicyInput } from "../policy.js";
|
|
4
|
-
export declare function createSyntaxPolicy(name: LintRuleName, { file, context, report, options, literals }: PolicyInput, files: readonly string[]): TSESLint.RuleListener;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export interface LintFindingInput {
|
|
2
|
-
file: string;
|
|
3
|
-
kind?: string;
|
|
4
|
-
line?: number;
|
|
5
|
-
message: string;
|
|
6
|
-
ruleId: string;
|
|
7
|
-
ruleName: string;
|
|
8
|
-
snippet?: string | null;
|
|
9
|
-
target?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface LintFinding {
|
|
12
|
-
file: string;
|
|
13
|
-
kind: string;
|
|
14
|
-
line: number;
|
|
15
|
-
message: string;
|
|
16
|
-
ruleId: string;
|
|
17
|
-
ruleName: string;
|
|
18
|
-
snippet?: string;
|
|
19
|
-
target: string;
|
|
20
|
-
}
|
|
21
|
-
export declare const DEFAULT_EXCLUDED_DIRS: string[];
|
|
22
|
-
export declare const SOURCE_PATTERNS: string[];
|
|
23
|
-
export declare const SOURCE_IGNORES: string[];
|
|
24
|
-
export declare const DEFAULT_TESTKIT_BOUNDARY_ALLOWED: string[];
|
|
25
|
-
export declare function collectCurrentFiles(productDir: string, gitAvailable: boolean): Promise<string[]>;
|
|
26
|
-
export declare function collectTrackedFiles(productDir: string): Promise<string[] | null>;
|
|
27
|
-
export declare function normalizePath(value: string): string;
|
|
28
|
-
export declare function isObjectRecord(value: unknown): value is Record<string, unknown>;
|
|
29
|
-
export declare function isSourceLikePath(file: string): boolean;
|
|
30
|
-
export declare function isTypeScriptLikePath(file: string): boolean;
|
|
31
|
-
export declare function isTestkitSuitePath(file: string): boolean;
|
|
32
|
-
export declare function isExcludedRelativePath(file: string): boolean;
|
|
33
|
-
export declare function matchesAnyPathPattern(file: string, patterns: readonly string[]): boolean;
|
|
34
|
-
export declare function compareFindings(left: LintFinding, right: LintFinding): number;
|
|
35
|
-
export declare function normalizeFinding(finding: LintFindingInput): LintFinding;
|
|
36
|
-
export declare function findingKey(finding: Readonly<LintFinding>): string;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export interface PackageVersionInspectionOptions {
|
|
2
|
-
binUrl?: string | URL;
|
|
3
|
-
currentPackageRoot?: string;
|
|
4
|
-
cwd?: string;
|
|
5
|
-
dir?: string | null;
|
|
6
|
-
}
|
|
7
|
-
export interface PackageVersionMismatch {
|
|
8
|
-
currentPackageRoot: string;
|
|
9
|
-
currentVersion: string;
|
|
10
|
-
declaredSpec: string | null;
|
|
11
|
-
productDir: string;
|
|
12
|
-
productPackageRoot: string | null;
|
|
13
|
-
productVersion: string | null;
|
|
14
|
-
}
|
|
15
|
-
export declare function testkitIdentity(): {
|
|
16
|
-
description: string;
|
|
17
|
-
name: string;
|
|
18
|
-
version: string;
|
|
19
|
-
};
|
|
20
|
-
export declare function inspectPackageVersionDrift(options?: Readonly<PackageVersionInspectionOptions>): PackageVersionMismatch | null;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { type EndpointReadinessAttempt } from "../../process/readiness.js";
|
|
2
|
-
import type { NormalizedFailureDetail } from "./failure-details.js";
|
|
3
|
-
export interface EndpointReadinessOptions {
|
|
4
|
-
attemptTimeoutMs?: number | string;
|
|
5
|
-
mode?: string;
|
|
6
|
-
retryDelayMs?: number | string;
|
|
7
|
-
timeoutMs?: number | string;
|
|
8
|
-
}
|
|
9
|
-
export interface EndpointReadinessLifecycle {
|
|
10
|
-
isStopRequested(): boolean;
|
|
11
|
-
}
|
|
12
|
-
export interface EndpointReadinessInput {
|
|
13
|
-
baseUrl: string;
|
|
14
|
-
env?: NodeJS.ProcessEnv;
|
|
15
|
-
lifecycle?: EndpointReadinessLifecycle | null;
|
|
16
|
-
options?: Readonly<EndpointReadinessOptions>;
|
|
17
|
-
serviceName?: string | null;
|
|
18
|
-
signal?: AbortSignal;
|
|
19
|
-
}
|
|
20
|
-
export interface EndpointReadinessFailureDetail extends NormalizedFailureDetail {
|
|
21
|
-
classification: "infra";
|
|
22
|
-
endpoint: string;
|
|
23
|
-
key: "http_endpoint_readiness";
|
|
24
|
-
kind: "http_endpoint_readiness";
|
|
25
|
-
message: string;
|
|
26
|
-
service: string | null;
|
|
27
|
-
title: "HTTP endpoint readiness failed";
|
|
28
|
-
}
|
|
29
|
-
export interface EndpointReadinessSuccess {
|
|
30
|
-
attempts: EndpointReadinessAttempt[];
|
|
31
|
-
ok: true;
|
|
32
|
-
skipped: boolean;
|
|
33
|
-
}
|
|
34
|
-
export interface EndpointReadinessFailure {
|
|
35
|
-
attempts: EndpointReadinessAttempt[];
|
|
36
|
-
failureDetails: EndpointReadinessFailureDetail[];
|
|
37
|
-
ok: false;
|
|
38
|
-
reason: string;
|
|
39
|
-
skipped: false;
|
|
40
|
-
}
|
|
41
|
-
export type EndpointReadinessResult = EndpointReadinessFailure | EndpointReadinessSuccess;
|
|
42
|
-
export declare function shouldRunEndpointReadinessPreflight(baseUrl: string, options?: Readonly<EndpointReadinessOptions>, env?: NodeJS.ProcessEnv): boolean;
|
|
43
|
-
export declare function waitForEndpointReadinessPreflight({ baseUrl, serviceName, lifecycle, options, env, signal, }: Readonly<EndpointReadinessInput>): Promise<EndpointReadinessResult>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{connectEndpoint as E}from"../../process/readiness.js";const P=new Set(["localhost","127.0.0.1","::1"]);export function shouldRunEndpointReadinessPreflight(t,e={},n=process.env){const r=(e.mode||n.TESTKIT_HTTP_ENDPOINT_PREFLIGHT||"auto").trim().toLowerCase();if(["0","false","off","never","disabled"].includes(r))return!1;if(["1","true","on","always","force"].includes(r))return!0;const o=d(t);return!!(o&&!P.has(l(o.host)))}export async function waitForEndpointReadinessPreflight({baseUrl:t,serviceName:e,lifecycle:n=null,options:r={},env:o=process.env,signal:i}){if(!shouldRunEndpointReadinessPreflight(t,r,o))return{ok:!0,skipped:!0,attempts:[]};const s=d(t);if(!s)return T({baseUrl:t,serviceName:e,attempts:[],reason:`HTTP endpoint readiness could not parse ${t||"unknown endpoint"}`});const f=c(r.timeoutMs??o.TESTKIT_HTTP_ENDPOINT_PREFLIGHT_TIMEOUT_MS,3e4),m=c(r.attemptTimeoutMs??o.TESTKIT_HTTP_ENDPOINT_PREFLIGHT_ATTEMPT_TIMEOUT_MS,5e3),_=c(r.retryDelayMs??o.TESTKIT_HTTP_ENDPOINT_PREFLIGHT_RETRY_DELAY_MS,500),u=Date.now()+f,a=[];for(;Date.now()<u;){if(n?.isStopRequested()||i?.aborted)return T({baseUrl:t,serviceName:e,attempts:a,reason:`testkit run interrupted before HTTP endpoint readiness completed for ${t}`});const h=Math.max(1,u-Date.now()),p=await E(s,Math.min(m,h),i);if(a.push(p),p.ok)return{ok:!0,skipped:!1,attempts:a};await w(Math.min(_,Math.max(0,u-Date.now())),i)}return T({baseUrl:t,serviceName:e,attempts:a,reason:`HTTP endpoint for ${e||"unknown"} was not reachable at ${t}`})}function T({baseUrl:t,serviceName:e,attempts:n,reason:r}){const o=n.map(s=>s.error).filter(s=>!!s).slice(-3).join("; "),i=o?`${r}. Last connection failure(s): ${o}`:r;return{ok:!1,skipped:!1,reason:i,attempts:n,failureDetails:[{count:1,kind:"http_endpoint_readiness",key:"http_endpoint_readiness",title:"HTTP endpoint readiness failed",classification:"infra",message:i,service:e||null,endpoint:t}]}}function d(t){try{const e=new URL(t);if(!["http:","https:"].includes(e.protocol))return null;const n=Number(e.port||(e.protocol==="https:"?443:80));return!Number.isInteger(n)||n<=0||n>65535?null:{host:l(e.hostname),port:n}}catch{return null}}function c(t,e){const n=Number(t);return Number.isInteger(n)&&n>0?n:e}function l(t){return t.trim().toLowerCase().replace(/^\[(.*)\]$/u,"$1")}function w(t,e){return e?.aborted?Promise.resolve():new Promise(n=>{const r=setTimeout(o,t);function o(){clearTimeout(r),e?.removeEventListener("abort",o),n()}e?.addEventListener("abort",o,{once:!0})})}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { type FileEvidenceBudget } from "../../evidence/file-evidence.js";
|
|
2
|
-
import type { EngineEvidence } from "../../engines/api/index.js";
|
|
3
|
-
import { type PersistedArtifactReference } from "../../evidence/index.js";
|
|
4
|
-
import type { ScheduledTask } from "./scheduler/index.js";
|
|
5
|
-
type EvidenceCategory = "artifacts" | "logs" | "metrics" | "native";
|
|
6
|
-
type EvidencePersistenceMode = "observed" | "reconcile";
|
|
7
|
-
export interface EvidenceLedger {
|
|
8
|
-
readonly countsByCategory: Readonly<Record<EvidenceCategory, Map<string, number>>>;
|
|
9
|
-
readonly fileEvidence: {
|
|
10
|
-
maximumBytes: number;
|
|
11
|
-
persistedBytes: number;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
interface PersistEvidenceOptions {
|
|
15
|
-
artifactRoot: string;
|
|
16
|
-
evidence: EngineEvidence;
|
|
17
|
-
productDir: string;
|
|
18
|
-
scope: "invocation" | "task";
|
|
19
|
-
task: ScheduledTask;
|
|
20
|
-
fileEvidenceBudget?: FileEvidenceBudget;
|
|
21
|
-
}
|
|
22
|
-
export declare const MAX_ENGINE_FILE_EVIDENCE_BYTES: number;
|
|
23
|
-
interface EvidencePersistenceContext {
|
|
24
|
-
artifactRoot: string;
|
|
25
|
-
errors: Error[];
|
|
26
|
-
ledger: EvidenceLedger;
|
|
27
|
-
mode: EvidencePersistenceMode;
|
|
28
|
-
productDir: string;
|
|
29
|
-
references: PersistedArtifactReference[];
|
|
30
|
-
scope: "invocation" | "task";
|
|
31
|
-
task: ScheduledTask;
|
|
32
|
-
}
|
|
33
|
-
export declare function persistEngineEvidence({ artifactRoot, evidence, productDir, scope, task, fileEvidenceBudget, }: Readonly<PersistEvidenceOptions>): PersistedArtifactReference[];
|
|
34
|
-
export declare function persistTrackedEngineEvidence(evidence: Readonly<EngineEvidence>, context: EvidencePersistenceContext): void;
|
|
35
|
-
export declare function createEvidenceLedger(maximumFileEvidenceBytes?: number): EvidenceLedger;
|
|
36
|
-
export declare function requireTaskArtifacts(referencesByTaskId: ReadonlyMap<string, PersistedArtifactReference[]>, taskId: string): PersistedArtifactReference[];
|
|
37
|
-
export declare function requireTaskEvidenceLedger(ledgersByTaskId: ReadonlyMap<string, EvidenceLedger>, taskId: string): EvidenceLedger;
|
|
38
|
-
export declare function contextualError(message: string, cause: unknown): Error;
|
|
39
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { EngineTaskExecutionOutcome } from "./engine-execution.js";
|
|
2
|
-
import type { EngineExecutionCleanupFailure } from "./engine-execution-failures.js";
|
|
3
|
-
export interface PreparedNodeSetupCleanup {
|
|
4
|
-
cleanup: () => Promise<void>;
|
|
5
|
-
taskId: string;
|
|
6
|
-
}
|
|
7
|
-
export declare function cleanupPreparedNodeSetups(cleanupStack: readonly Readonly<PreparedNodeSetupCleanup>[]): Promise<EngineExecutionCleanupFailure[]>;
|
|
8
|
-
export declare function applyConsumerNodeSetupCleanupFailures(completedOutcomesByTaskId: Map<string, EngineTaskExecutionOutcome>, cleanupFailures: readonly Readonly<EngineExecutionCleanupFailure>[]): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{getRuntimeNodeSetupCleanupFailures as i}from"./setup/runtime-node-setup.js";export async function cleanupPreparedNodeSetups(e){const s=[];for(const{cleanup:u,taskId:n}of[...e].reverse())try{await u()}catch(t){const r=i(t);r.length===0?s.push({error:l(t),owner:"testkit",taskId:n}):s.push(...r.map(o=>({...o,taskId:n})))}return s}export function applyConsumerNodeSetupCleanupFailures(e,s){const u=new Map;for(const n of s){if(n.owner!=="consumer")continue;const t=u.get(n.taskId)??[];t.push(n.error),u.set(n.taskId,t)}for(const[n,t]of u){const r=e.get(n);if(r===void 0)continue;const o=`Runtime node setup consumer cleanup failed: ${t.map(a=>a.message).join("; ")}`;e.set(n,{...r,error:r.error===null?o:`${r.error}; ${o}`,failureDetails:[...r.failureDetails,...t.map(c)],reason:null,status:"failed"})}}function c(e){return{actual:{owner:"consumer"},classification:"product",count:1,key:"runtime_node_setup_consumer_cleanup_failed",kind:"runtime-node-setup-cleanup",message:e.message,...e.stack===void 0?{}:{stack:e.stack},title:"Runtime node setup consumer cleanup failed"}}function l(e){return e instanceof Error?e:new Error(String(e))}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { type EngineFailureClassification } from "../../engines/api/index.js";
|
|
2
|
-
import type { PersistedArtifactReference } from "../../evidence/index.js";
|
|
3
|
-
import type { EngineTaskExecutionOutcome } from "./engine-execution.js";
|
|
4
|
-
import type { RuntimeNodeSetupCleanupOwner } from "./setup/runtime-node-setup-protocol.js";
|
|
5
|
-
export type EngineExecutionRuntimeImpact = "fail-graph" | "invalidate-lease" | "none";
|
|
6
|
-
export interface EngineExecutionBridgeDisposition {
|
|
7
|
-
readonly classification: EngineFailureClassification | undefined;
|
|
8
|
-
readonly notifyRuntimeError: boolean;
|
|
9
|
-
readonly runtimeImpact: EngineExecutionRuntimeImpact;
|
|
10
|
-
readonly status: "cancelled" | "failed" | "not_run";
|
|
11
|
-
}
|
|
12
|
-
export interface EngineExecutionCleanupFailure {
|
|
13
|
-
readonly error: Error;
|
|
14
|
-
readonly owner: RuntimeNodeSetupCleanupOwner;
|
|
15
|
-
readonly taskId: string;
|
|
16
|
-
}
|
|
17
|
-
export declare const ENGINE_REPORTER_CALLBACK_CANCELLED_CODE = "TESTKIT_ENGINE_REPORTER_CALLBACK_CANCELLED";
|
|
18
|
-
export declare class EngineExecutionBridgeError extends Error {
|
|
19
|
-
readonly artifactReferencesByTaskId: ReadonlyMap<string, readonly PersistedArtifactReference[]>;
|
|
20
|
-
readonly completedOutcomesByTaskId: ReadonlyMap<string, EngineTaskExecutionOutcome>;
|
|
21
|
-
readonly disposition: EngineExecutionBridgeDisposition;
|
|
22
|
-
readonly failingTaskId: null | string;
|
|
23
|
-
readonly cause: unknown;
|
|
24
|
-
constructor(message: string, cause: unknown, disposition: Readonly<EngineExecutionBridgeDisposition>, artifactReferencesByTaskId: ReadonlyMap<string, readonly PersistedArtifactReference[]>, completedOutcomesByTaskId?: ReadonlyMap<string, EngineTaskExecutionOutcome>, failingTaskId?: null | string);
|
|
25
|
-
}
|
|
26
|
-
export declare class EngineExecutionReporterCallbackError extends Error {
|
|
27
|
-
readonly cancelled: boolean;
|
|
28
|
-
readonly cause: unknown;
|
|
29
|
-
constructor(phase: "taskFinished" | "taskStarted", cause: unknown);
|
|
30
|
-
}
|
|
31
|
-
export declare function executeManagedEngineRequest<Request, Result>(manager: Readonly<{
|
|
32
|
-
execute(request: Readonly<Request>): Promise<Result>;
|
|
33
|
-
}>, request: Readonly<Request>): Promise<Result>;
|
|
34
|
-
export declare function buildBridgeError(operationErrors: readonly Error[], cleanupFailures: readonly Readonly<EngineExecutionCleanupFailure>[], disposition: Readonly<EngineExecutionBridgeDisposition>, artifactReferencesByTaskId: ReadonlyMap<string, readonly PersistedArtifactReference[]>, completedOutcomesByTaskId: ReadonlyMap<string, EngineTaskExecutionOutcome>, activeTaskId: null | string): EngineExecutionBridgeError;
|
|
35
|
-
export declare function resolveBridgeDisposition(operationErrors: readonly Error[], cleanupFailures: readonly Readonly<EngineExecutionCleanupFailure>[], observedInfraOperationFailure: boolean, activeFailureDisposition: Readonly<EngineExecutionBridgeDisposition>): EngineExecutionBridgeDisposition;
|
|
36
|
-
export declare function managerFailureBridgeDisposition(parentSignal: AbortSignal, invocationSignal: AbortSignal, error: unknown): EngineExecutionBridgeDisposition;
|
|
37
|
-
export declare function runtimeNodeSetupBridgeDisposition(error: unknown): EngineExecutionBridgeDisposition;
|
|
38
|
-
export declare function cancelledBridgeDisposition(): EngineExecutionBridgeDisposition;
|
|
39
|
-
export declare function infraBridgeDisposition(runtimeImpact?: EngineExecutionRuntimeImpact): EngineExecutionBridgeDisposition;
|
|
40
|
-
export declare function reporterBridgeDisposition(runtimeImpact?: EngineExecutionRuntimeImpact): EngineExecutionBridgeDisposition;
|
|
41
|
-
export declare function productBridgeDisposition(runtimeImpact?: EngineExecutionRuntimeImpact): EngineExecutionBridgeDisposition;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { EngineExecutionObserver, EngineTaskOutcome } from "../../engines/api/index.js";
|
|
2
|
-
import type { PersistedArtifactReference } from "../../evidence/index.js";
|
|
3
|
-
import { type EvidenceLedger } from "./engine-evidence-persistence.js";
|
|
4
|
-
import type { EngineExecutableTask, EngineTaskExecutionOutcome } from "./engine-execution.js";
|
|
5
|
-
import type { ScheduledTask } from "./scheduler/index.js";
|
|
6
|
-
interface CreateEngineExecutionObserverOptions {
|
|
7
|
-
readonly artifactReferencesByTaskId: ReadonlyMap<string, PersistedArtifactReference[]>;
|
|
8
|
-
readonly completedOutcomesByTaskId: Map<string, EngineTaskExecutionOutcome>;
|
|
9
|
-
readonly errors: Error[];
|
|
10
|
-
readonly executableTask: EngineExecutableTask;
|
|
11
|
-
readonly invocationEvidenceLedger: EvidenceLedger;
|
|
12
|
-
readonly productDir: string;
|
|
13
|
-
readonly taskBatchIndex: number;
|
|
14
|
-
readonly taskEvidenceLedgers: ReadonlyMap<string, EvidenceLedger>;
|
|
15
|
-
readonly tasks: readonly ScheduledTask[];
|
|
16
|
-
readonly tasksById: ReadonlyMap<string, ScheduledTask>;
|
|
17
|
-
readonly workspaceArtifactDirectory: string;
|
|
18
|
-
}
|
|
19
|
-
type MapObservedOutcome = (outcome: Readonly<EngineTaskOutcome>, task: ScheduledTask, artifacts: PersistedArtifactReference[], executableTask: EngineExecutableTask, batchIndex: number) => EngineTaskExecutionOutcome;
|
|
20
|
-
export declare function createEngineExecutionObserver({ artifactReferencesByTaskId, completedOutcomesByTaskId, errors, executableTask, invocationEvidenceLedger, productDir, taskBatchIndex, taskEvidenceLedgers, tasks, tasksById, workspaceArtifactDirectory, }: Readonly<CreateEngineExecutionObserverOptions>, mapOutcome: MapObservedOutcome): EngineExecutionObserver;
|
|
21
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare const DEFAULT_ENGINE_REPORTER_CALLBACK_TIMEOUT_MS = 5000;
|
|
2
|
-
export interface EngineReporterCallbackBoundary {
|
|
3
|
-
readonly signal?: AbortSignal;
|
|
4
|
-
readonly timeoutMs: number;
|
|
5
|
-
}
|
|
6
|
-
export declare class EngineReporterCallbackTimeoutError extends Error {
|
|
7
|
-
readonly timeoutMs: number;
|
|
8
|
-
constructor(label: string, timeoutMs: number);
|
|
9
|
-
}
|
|
10
|
-
export declare class EngineReporterCallbackCancelledError extends Error {
|
|
11
|
-
readonly code = "TESTKIT_ENGINE_REPORTER_CALLBACK_CANCELLED";
|
|
12
|
-
readonly cause: unknown;
|
|
13
|
-
constructor(label: string, cause: unknown);
|
|
14
|
-
}
|
|
15
|
-
export declare function invokeBoundedReporterCallback(label: string, callback: () => unknown, boundary: Readonly<EngineReporterCallbackBoundary>): Promise<void>;
|
|
16
|
-
export declare function invokeEngineReporterCallback(phase: "taskFinished" | "taskStarted", callback: () => unknown, boundary: Readonly<EngineReporterCallbackBoundary>): Promise<void>;
|
|
17
|
-
export declare function captureEngineReporterCallback(errors: Error[], phase: "taskFinished" | "taskStarted", callback: () => unknown, boundary: Readonly<EngineReporterCallbackBoundary>): Promise<void>;
|