Skip to content
51 changes: 3 additions & 48 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,9 @@ on:
- main

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: "npm"
cache-dependency-path: package-lock.json
- run: npm config set fund false && npm set audit false
- run: npm ci
# Test that the packaging works as well
- run: npm pack --workspaces
- run: npm run lint
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest-x64]
name: test - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
name: test - windows-self-hosted-arm64
runs-on: [self-hosted, Windows, ARM64, checkly-cli]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
Expand All @@ -44,34 +26,7 @@ jobs:
- name: Save LLM rules as an artifact
uses: actions/upload-artifact@v4
with:
name: llm-rules-test-${{ matrix.os }}
name: llm-rules-test-windows-self-hosted-arm64
if-no-files-found: error
path: packages/cli/dist/ai-context/*
retention-days: 1
test-e2e:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest-x64]
name: test-e2e - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: "npm"
cache-dependency-path: package-lock.json
- uses: pnpm/action-setup@v5
with:
version: 10
- run: npm config set fund false && npm set audit false
- run: npm ci
- run: npm run prepack
- run: npm run test:e2e
env:
CHECKLY_ACCOUNT_NAME: ${{ secrets.E2E_CHECKLY_ACCOUNT_NAME }}
CHECKLY_ACCOUNT_ID: ${{ secrets.E2E_CHECKLY_ACCOUNT_ID }}
CHECKLY_API_KEY: ${{ secrets.E2E_CHECKLY_API_KEY }}
CHECKLY_EMPTY_ACCOUNT_ID: ${{ secrets.E2E_EMPTY_CHECKLY_ACCOUNT_ID }}
CHECKLY_EMPTY_API_KEY: ${{ secrets.E2E_EMPTY_CHECKLY_API_KEY }}
14 changes: 10 additions & 4 deletions packages/cli/src/testing/fixture-sandbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,16 @@

const root = maybeRoot
? await fs.mkdir(maybeRoot, { recursive: true }).then(() => maybeRoot)
// tmpdir() on macOS usually returns a path starting with /var which is
// a symlink. Resolve the path so that we don't run into path mismatch
// issues.
: await fs.realpath(await fs.mkdtemp(path.join(tmpdir(), 'fixture-sandbox-')))
: process.platform === 'win32'
// fs.realpath uses GetFinalPathNameByHandle on Windows, which fails
// with EISDIR on virtual filesystems that don't register with the
// Mount Manager (e.g. ImDisk RAM disks). tmpdir() on Windows is
// never a symlink, so skipping realpath is safe.
? await fs.mkdtemp(path.join(tmpdir(), 'fixture-sandbox-'))
// tmpdir() on macOS usually returns a path starting with /var which is
// a symlink. Resolve the path so that we don't run into path mismatch
// issues.
: await fs.realpath(await fs.mkdtemp(path.join(tmpdir(), 'fixture-sandbox-')))

debug(`Using root ${root}`)

Expand Down Expand Up @@ -186,7 +192,7 @@
async function run (executable: string, args: string[], options?: RunOptions) {
const { execa } = await import('execa')

const result = await execa(executable, args, {

Check failure on line 195 in packages/cli/src/testing/fixture-sandbox.ts

View workflow job for this annotation

GitHub Actions / test - windows-self-hosted-arm64

src/constructs/__tests__/api-check.spec.ts > ApiCheck > should correctly load file script dependencies

ExecaError: Command failed with exit code 1: npx checkly debug parse-project --config "R:\Temp\fixture-sandbox-ADRPVS\test-cases\test-script-dependencies\checkly.config.js" Error: Error loading file 'R:\Temp\fixture-sandbox-ADRPVS\test-cases\test- script-dependencies\checkly.config.js' Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'r:' at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:241:11) at defaultLoad (node:internal/modules/esm/load:132:3) at ModuleLoader.load (node:internal/modules/esm/loader:724:12) at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:543:56) at #createModuleJob (node:internal/modules/esm/loader:567:36) at #getJobFromResolveResult (node:internal/modules/esm/loader:297:34) at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:265:41) at async ModuleLoader.import (node:internal/modules/esm/loader:605:23) ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ run src/testing/fixture-sandbox.ts:195:18 ❯ FixtureSandbox.run src/testing/fixture-sandbox.ts:179:12 ❯ parseProject src/constructs/__tests__/api-check.spec.ts:10:18 ❯ src/constructs/__tests__/api-check.spec.ts:47:20 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx checkly debug parse-project --config "R:\Temp\fixture-sandbox-ADRPVS\test-cases\test-script-dependencies\checkly.config.js"', command: 'npx checkly debug parse-project --config R:\Temp\fixture-sandbox-ADRPVS\test-cases\test-script-dependencies\checkly.config.js', escapedCommand: 'npx checkly debug parse-project --config "R:\Temp\fixture-sandbox-ADRPVS\test-cases\test-script-dependencies\checkly.config.js"', cwd: 'R:\Temp\fixture-sandbox-ADRPVS', durationMs: 3422.969167, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: ' Error: Error loading file \'R:\Temp\fixture-sandbox-ADRPVS\test-cases\test-\n script-dependencies\checkly.config.js\'\n Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, \n data, and node are supported by the default ESM loader. On Windows, \n absolute paths must be valid file:// URLs. Received protocol \'r:\'\n at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:241:11)\n at defaultLoad (node:internal/modules/esm/load:132:3)\n at ModuleLoader.load (node:internal/modules/esm/loader:724:12)\n at ModuleLoader.loadAndTranslate \n (node:internal/modules/esm/loader:543:56)\n at #createModuleJob (node:internal/modules/esm/loader:567:36)\n at #getJobFromResolveResult (node:internal/modules/esm/loader:297:34)\n at ModuleLoader.getModuleJobForImport \n (node:internal/modules/esm/loader:265:41)\n at async ModuleLoader.import (node:internal/modules/esm/loader:605:23)', stdio: [ undefined, '', ' Error: Error loading file \'R:\Temp\fixture-sandbox-ADRPVS\test-cases\test-\n script-dependencies\checkly.config.js\'\n Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, \n data, and node are supported by the default ESM loader. On Windows, \n absolute paths must be valid file:// URLs. Received protocol \'r:\'\n at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:241:11)\n at defaultLoad (node:internal/modules/esm/load:132:3)\n at ModuleLoader.load (node:internal/modules/esm/loader:724:12)\n at ModuleLoader.loadAndTranslate \n (node:in

Check failure on line 195 in packages/cli/src/testing/fixture-sandbox.ts

View workflow job for this annotation

GitHub Actions / test - windows-self-hosted-arm64

src/constructs/__tests__/agentic-check.spec.ts > AgenticCheck > should allow faster frequencies so the backend can enforce account entitlements

ExecaError: Command failed with exit code 1: npx checkly debug parse-project --config "R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-validation-frequency-too-low\checkly.config.js" Error: Error loading file 'R:\Temp\fixture-sandbox-6aT5MD\test-cases\test- validation-frequency-too-low\checkly.config.js' Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'r:' at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:241:11) at defaultLoad (node:internal/modules/esm/load:132:3) at ModuleLoader.load (node:internal/modules/esm/loader:724:12) at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:543:56) at #createModuleJob (node:internal/modules/esm/loader:567:36) at #getJobFromResolveResult (node:internal/modules/esm/loader:297:34) at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:265:41) at async ModuleLoader.import (node:internal/modules/esm/loader:605:23) ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ run src/testing/fixture-sandbox.ts:195:18 ❯ FixtureSandbox.run src/testing/fixture-sandbox.ts:179:12 ❯ parseProject src/constructs/__tests__/agentic-check.spec.ts:9:18 ❯ src/constructs/__tests__/agentic-check.spec.ts:284:20 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx checkly debug parse-project --config "R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-validation-frequency-too-low\checkly.config.js"', command: 'npx checkly debug parse-project --config R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-validation-frequency-too-low\checkly.config.js', escapedCommand: 'npx checkly debug parse-project --config "R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-validation-frequency-too-low\checkly.config.js"', cwd: 'R:\Temp\fixture-sandbox-6aT5MD', durationMs: 2406.813542, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: ' Error: Error loading file \'R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-\n validation-frequency-too-low\checkly.config.js\'\n Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, \n data, and node are supported by the default ESM loader. On Windows, \n absolute paths must be valid file:// URLs. Received protocol \'r:\'\n at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:241:11)\n at defaultLoad (node:internal/modules/esm/load:132:3)\n at ModuleLoader.load (node:internal/modules/esm/loader:724:12)\n at ModuleLoader.loadAndTranslate \n (node:internal/modules/esm/loader:543:56)\n at #createModuleJob (node:internal/modules/esm/loader:567:36)\n at #getJobFromResolveResult (node:internal/modules/esm/loader:297:34)\n at ModuleLoader.getModuleJobForImport \n (node:internal/modules/esm/loader:265:41)\n at async ModuleLoader.import (node:internal/modules/esm/loader:605:23)', stdio: [ undefined, '', ' Error: Error loading file \'R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-\n validation-frequency-too-low\checkly.config.js\'\n Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, \n data, and node are supported by the default ESM loader. On Windows, \n absolute paths must be valid file:// URLs. Received protocol \'r:\'\n at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:241:11)\n at defaultLoad (node:internal/modules/esm/load:132:3)\n at ModuleLoader.load (node:internal/modules/esm/

Check failure on line 195 in packages/cli/src/testing/fixture-sandbox.ts

View workflow job for this annotation

GitHub Actions / test - windows-self-hosted-arm64

src/constructs/__tests__/agentic-check.spec.ts > AgenticCheck > should fail validation when prompt exceeds 10000 characters

ExecaError: Command failed with exit code 1: npx checkly debug parse-project --config "R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-validation-prompt-too-long\checkly.config.js" Error: Error loading file 'R:\Temp\fixture-sandbox-6aT5MD\test-cases\test- validation-prompt-too-long\checkly.config.js' Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'r:' at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:241:11) at defaultLoad (node:internal/modules/esm/load:132:3) at ModuleLoader.load (node:internal/modules/esm/loader:724:12) at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:543:56) at #createModuleJob (node:internal/modules/esm/loader:567:36) at #getJobFromResolveResult (node:internal/modules/esm/loader:297:34) at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:265:41) at async ModuleLoader.import (node:internal/modules/esm/loader:605:23) ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ run src/testing/fixture-sandbox.ts:195:18 ❯ FixtureSandbox.run src/testing/fixture-sandbox.ts:179:12 ❯ parseProject src/constructs/__tests__/agentic-check.spec.ts:9:18 ❯ src/constructs/__tests__/agentic-check.spec.ts:265:20 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx checkly debug parse-project --config "R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-validation-prompt-too-long\checkly.config.js"', command: 'npx checkly debug parse-project --config R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-validation-prompt-too-long\checkly.config.js', escapedCommand: 'npx checkly debug parse-project --config "R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-validation-prompt-too-long\checkly.config.js"', cwd: 'R:\Temp\fixture-sandbox-6aT5MD', durationMs: 1893.350083, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: ' Error: Error loading file \'R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-\n validation-prompt-too-long\checkly.config.js\'\n Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, \n data, and node are supported by the default ESM loader. On Windows, \n absolute paths must be valid file:// URLs. Received protocol \'r:\'\n at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:241:11)\n at defaultLoad (node:internal/modules/esm/load:132:3)\n at ModuleLoader.load (node:internal/modules/esm/loader:724:12)\n at ModuleLoader.loadAndTranslate \n (node:internal/modules/esm/loader:543:56)\n at #createModuleJob (node:internal/modules/esm/loader:567:36)\n at #getJobFromResolveResult (node:internal/modules/esm/loader:297:34)\n at ModuleLoader.getModuleJobForImport \n (node:internal/modules/esm/loader:265:41)\n at async ModuleLoader.import (node:internal/modules/esm/loader:605:23)', stdio: [ undefined, '', ' Error: Error loading file \'R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-\n validation-prompt-too-long\checkly.config.js\'\n Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, \n data, and node are supported by the default ESM loader. On Windows, \n absolute paths must be valid file:// URLs. Received protocol \'r:\'\n at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:241:11)\n at defaultLoad (node:internal/modules/esm/load:132:3)\n at ModuleLoader.load (node:internal/modules/esm/loader:724:12)

Check failure on line 195 in packages/cli/src/testing/fixture-sandbox.ts

View workflow job for this annotation

GitHub Actions / test - windows-self-hosted-arm64

src/constructs/__tests__/agentic-check.spec.ts > AgenticCheck > should fail validation when prompt is empty

ExecaError: Command failed with exit code 1: npx checkly debug parse-project --config "R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-validation-missing-prompt\checkly.config.js" Error: Error loading file 'R:\Temp\fixture-sandbox-6aT5MD\test-cases\test- validation-missing-prompt\checkly.config.js' Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'r:' at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:241:11) at defaultLoad (node:internal/modules/esm/load:132:3) at ModuleLoader.load (node:internal/modules/esm/loader:724:12) at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:543:56) at #createModuleJob (node:internal/modules/esm/loader:567:36) at #getJobFromResolveResult (node:internal/modules/esm/loader:297:34) at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:265:41) at async ModuleLoader.import (node:internal/modules/esm/loader:605:23) ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ run src/testing/fixture-sandbox.ts:195:18 ❯ FixtureSandbox.run src/testing/fixture-sandbox.ts:179:12 ❯ parseProject src/constructs/__tests__/agentic-check.spec.ts:9:18 ❯ src/constructs/__tests__/agentic-check.spec.ts:246:20 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx checkly debug parse-project --config "R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-validation-missing-prompt\checkly.config.js"', command: 'npx checkly debug parse-project --config R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-validation-missing-prompt\checkly.config.js', escapedCommand: 'npx checkly debug parse-project --config "R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-validation-missing-prompt\checkly.config.js"', cwd: 'R:\Temp\fixture-sandbox-6aT5MD', durationMs: 3443.077875, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: ' Error: Error loading file \'R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-\n validation-missing-prompt\checkly.config.js\'\n Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, \n data, and node are supported by the default ESM loader. On Windows, \n absolute paths must be valid file:// URLs. Received protocol \'r:\'\n at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:241:11)\n at defaultLoad (node:internal/modules/esm/load:132:3)\n at ModuleLoader.load (node:internal/modules/esm/loader:724:12)\n at ModuleLoader.loadAndTranslate \n (node:internal/modules/esm/loader:543:56)\n at #createModuleJob (node:internal/modules/esm/loader:567:36)\n at #getJobFromResolveResult (node:internal/modules/esm/loader:297:34)\n at ModuleLoader.getModuleJobForImport \n (node:internal/modules/esm/loader:265:41)\n at async ModuleLoader.import (node:internal/modules/esm/loader:605:23)', stdio: [ undefined, '', ' Error: Error loading file \'R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-\n validation-missing-prompt\checkly.config.js\'\n Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, \n data, and node are supported by the default ESM loader. On Windows, \n absolute paths must be valid file:// URLs. Received protocol \'r:\'\n at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:241:11)\n at defaultLoad (node:internal/modules/esm/load:132:3)\n at ModuleLoader.load (node:internal/modules/esm/loader:724:12)\n

Check failure on line 195 in packages/cli/src/testing/fixture-sandbox.ts

View workflow job for this annotation

GitHub Actions / test - windows-self-hosted-arm64

src/constructs/__tests__/agentic-check.spec.ts > AgenticCheck > should support setting groups with `group`

ExecaError: Command failed with exit code 1: npx checkly debug parse-project --config "R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-group-mapping\checkly.config.js" Error: Error loading file 'R:\Temp\fixture-sandbox-6aT5MD\test-cases\test- group-mapping\checkly.config.js' Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'r:' at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:241:11) at defaultLoad (node:internal/modules/esm/load:132:3) at ModuleLoader.load (node:internal/modules/esm/loader:724:12) at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:543:56) at #createModuleJob (node:internal/modules/esm/loader:567:36) at #getJobFromResolveResult (node:internal/modules/esm/loader:297:34) at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:265:41) at async ModuleLoader.import (node:internal/modules/esm/loader:605:23) ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ run src/testing/fixture-sandbox.ts:195:18 ❯ FixtureSandbox.run src/testing/fixture-sandbox.ts:179:12 ❯ parseProject src/constructs/__tests__/agentic-check.spec.ts:9:18 ❯ src/constructs/__tests__/agentic-check.spec.ts:213:20 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx checkly debug parse-project --config "R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-group-mapping\checkly.config.js"', command: 'npx checkly debug parse-project --config R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-group-mapping\checkly.config.js', escapedCommand: 'npx checkly debug parse-project --config "R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-group-mapping\checkly.config.js"', cwd: 'R:\Temp\fixture-sandbox-6aT5MD', durationMs: 3500.6315, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: ' Error: Error loading file \'R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-\n group-mapping\checkly.config.js\'\n Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, \n data, and node are supported by the default ESM loader. On Windows, \n absolute paths must be valid file:// URLs. Received protocol \'r:\'\n at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:241:11)\n at defaultLoad (node:internal/modules/esm/load:132:3)\n at ModuleLoader.load (node:internal/modules/esm/loader:724:12)\n at ModuleLoader.loadAndTranslate \n (node:internal/modules/esm/loader:543:56)\n at #createModuleJob (node:internal/modules/esm/loader:567:36)\n at #getJobFromResolveResult (node:internal/modules/esm/loader:297:34)\n at ModuleLoader.getModuleJobForImport \n (node:internal/modules/esm/loader:265:41)\n at async ModuleLoader.import (node:internal/modules/esm/loader:605:23)', stdio: [ undefined, '', ' Error: Error loading file \'R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-\n group-mapping\checkly.config.js\'\n Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, \n data, and node are supported by the default ESM loader. On Windows, \n absolute paths must be valid file:// URLs. Received protocol \'r:\'\n at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:241:11)\n at defaultLoad (node:internal/modules/esm/load:132:3)\n at ModuleLoader.load (node:internal/modules/esm/loader:724:12)\n at ModuleLoader.loadAndTranslate \n (node:internal/modules/esm/loader:543:56)\n

Check failure on line 195 in packages/cli/src/testing/fixture-sandbox.ts

View workflow job for this annotation

GitHub Actions / test - windows-self-hosted-arm64

src/constructs/__tests__/agentic-check.spec.ts > AgenticCheck > should apply default check settings

ExecaError: Command failed with exit code 1: npx checkly debug parse-project --config "R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-check-defaults\checkly.config.js" Error: Error loading file 'R:\Temp\fixture-sandbox-6aT5MD\test-cases\test- check-defaults\checkly.config.js' Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'r:' at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:241:11) at defaultLoad (node:internal/modules/esm/load:132:3) at ModuleLoader.load (node:internal/modules/esm/loader:724:12) at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:543:56) at #createModuleJob (node:internal/modules/esm/loader:567:36) at #getJobFromResolveResult (node:internal/modules/esm/loader:297:34) at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:265:41) at async ModuleLoader.import (node:internal/modules/esm/loader:605:23) ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ run src/testing/fixture-sandbox.ts:195:18 ❯ FixtureSandbox.run src/testing/fixture-sandbox.ts:179:12 ❯ parseProject src/constructs/__tests__/agentic-check.spec.ts:9:18 ❯ src/constructs/__tests__/agentic-check.spec.ts:179:20 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx checkly debug parse-project --config "R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-check-defaults\checkly.config.js"', command: 'npx checkly debug parse-project --config R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-check-defaults\checkly.config.js', escapedCommand: 'npx checkly debug parse-project --config "R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-check-defaults\checkly.config.js"', cwd: 'R:\Temp\fixture-sandbox-6aT5MD', durationMs: 2504.761542, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: ' Error: Error loading file \'R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-\n check-defaults\checkly.config.js\'\n Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, \n data, and node are supported by the default ESM loader. On Windows, \n absolute paths must be valid file:// URLs. Received protocol \'r:\'\n at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:241:11)\n at defaultLoad (node:internal/modules/esm/load:132:3)\n at ModuleLoader.load (node:internal/modules/esm/loader:724:12)\n at ModuleLoader.loadAndTranslate \n (node:internal/modules/esm/loader:543:56)\n at #createModuleJob (node:internal/modules/esm/loader:567:36)\n at #getJobFromResolveResult (node:internal/modules/esm/loader:297:34)\n at ModuleLoader.getModuleJobForImport \n (node:internal/modules/esm/loader:265:41)\n at async ModuleLoader.import (node:internal/modules/esm/loader:605:23)', stdio: [ undefined, '', ' Error: Error loading file \'R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-\n check-defaults\checkly.config.js\'\n Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, \n data, and node are supported by the default ESM loader. On Windows, \n absolute paths must be valid file:// URLs. Received protocol \'r:\'\n at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:241:11)\n at defaultLoad (node:internal/modules/esm/load:132:3)\n at ModuleLoader.load (node:internal/modules/esm/loader:724:12)\n at ModuleLoader.loadAndTranslate \n (node:internal/modules/esm/loader:5

Check failure on line 195 in packages/cli/src/testing/fixture-sandbox.ts

View workflow job for this annotation

GitHub Actions / test - windows-self-hosted-arm64

src/constructs/__tests__/agentic-check.spec.ts > AgenticCheck > should apply check-level locations

ExecaError: Command failed with exit code 1: npx checkly debug parse-project --config "R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-locations-explicit\checkly.config.js" Error: Error loading file 'R:\Temp\fixture-sandbox-6aT5MD\test-cases\test- locations-explicit\checkly.config.js' Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'r:' at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:241:11) at defaultLoad (node:internal/modules/esm/load:132:3) at ModuleLoader.load (node:internal/modules/esm/loader:724:12) at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:543:56) at #createModuleJob (node:internal/modules/esm/loader:567:36) at #getJobFromResolveResult (node:internal/modules/esm/loader:297:34) at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:265:41) at async ModuleLoader.import (node:internal/modules/esm/loader:605:23) ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ run src/testing/fixture-sandbox.ts:195:18 ❯ FixtureSandbox.run src/testing/fixture-sandbox.ts:179:12 ❯ parseProject src/constructs/__tests__/agentic-check.spec.ts:9:18 ❯ src/constructs/__tests__/agentic-check.spec.ts:150:20 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx checkly debug parse-project --config "R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-locations-explicit\checkly.config.js"', command: 'npx checkly debug parse-project --config R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-locations-explicit\checkly.config.js', escapedCommand: 'npx checkly debug parse-project --config "R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-locations-explicit\checkly.config.js"', cwd: 'R:\Temp\fixture-sandbox-6aT5MD', durationMs: 2042.367292, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: ' Error: Error loading file \'R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-\n locations-explicit\checkly.config.js\'\n Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, \n data, and node are supported by the default ESM loader. On Windows, \n absolute paths must be valid file:// URLs. Received protocol \'r:\'\n at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:241:11)\n at defaultLoad (node:internal/modules/esm/load:132:3)\n at ModuleLoader.load (node:internal/modules/esm/loader:724:12)\n at ModuleLoader.loadAndTranslate \n (node:internal/modules/esm/loader:543:56)\n at #createModuleJob (node:internal/modules/esm/loader:567:36)\n at #getJobFromResolveResult (node:internal/modules/esm/loader:297:34)\n at ModuleLoader.getModuleJobForImport \n (node:internal/modules/esm/loader:265:41)\n at async ModuleLoader.import (node:internal/modules/esm/loader:605:23)', stdio: [ undefined, '', ' Error: Error loading file \'R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-\n locations-explicit\checkly.config.js\'\n Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, \n data, and node are supported by the default ESM loader. On Windows, \n absolute paths must be valid file:// URLs. Received protocol \'r:\'\n at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:241:11)\n at defaultLoad (node:internal/modules/esm/load:132:3)\n at ModuleLoader.load (node:internal/modules/esm/loader:724:12)\n at ModuleLoader.loadAndTranslate \n (node:i

Check failure on line 195 in packages/cli/src/testing/fixture-sandbox.ts

View workflow job for this annotation

GitHub Actions / test - windows-self-hosted-arm64

src/constructs/__tests__/agentic-check.spec.ts > AgenticCheck > should apply project-level locations

ExecaError: Command failed with exit code 1: npx checkly debug parse-project --config "R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-locations-override\checkly.config.js" Error: Error loading file 'R:\Temp\fixture-sandbox-6aT5MD\test-cases\test- locations-override\checkly.config.js' Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'r:' at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:241:11) at defaultLoad (node:internal/modules/esm/load:132:3) at ModuleLoader.load (node:internal/modules/esm/loader:724:12) at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:543:56) at #createModuleJob (node:internal/modules/esm/loader:567:36) at #getJobFromResolveResult (node:internal/modules/esm/loader:297:34) at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:265:41) at async ModuleLoader.import (node:internal/modules/esm/loader:605:23) ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ run src/testing/fixture-sandbox.ts:195:18 ❯ FixtureSandbox.run src/testing/fixture-sandbox.ts:179:12 ❯ parseProject src/constructs/__tests__/agentic-check.spec.ts:9:18 ❯ src/constructs/__tests__/agentic-check.spec.ts:121:20 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx checkly debug parse-project --config "R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-locations-override\checkly.config.js"', command: 'npx checkly debug parse-project --config R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-locations-override\checkly.config.js', escapedCommand: 'npx checkly debug parse-project --config "R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-locations-override\checkly.config.js"', cwd: 'R:\Temp\fixture-sandbox-6aT5MD', durationMs: 4747.561042, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: ' Error: Error loading file \'R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-\n locations-override\checkly.config.js\'\n Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, \n data, and node are supported by the default ESM loader. On Windows, \n absolute paths must be valid file:// URLs. Received protocol \'r:\'\n at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:241:11)\n at defaultLoad (node:internal/modules/esm/load:132:3)\n at ModuleLoader.load (node:internal/modules/esm/loader:724:12)\n at ModuleLoader.loadAndTranslate \n (node:internal/modules/esm/loader:543:56)\n at #createModuleJob (node:internal/modules/esm/loader:567:36)\n at #getJobFromResolveResult (node:internal/modules/esm/loader:297:34)\n at ModuleLoader.getModuleJobForImport \n (node:internal/modules/esm/loader:265:41)\n at async ModuleLoader.import (node:internal/modules/esm/loader:605:23)', stdio: [ undefined, '', ' Error: Error loading file \'R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-\n locations-override\checkly.config.js\'\n Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, \n data, and node are supported by the default ESM loader. On Windows, \n absolute paths must be valid file:// URLs. Received protocol \'r:\'\n at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:241:11)\n at defaultLoad (node:internal/modules/esm/load:132:3)\n at ModuleLoader.load (node:internal/modules/esm/loader:724:12)\n at ModuleLoader.loadAndTranslate \n (node:i

Check failure on line 195 in packages/cli/src/testing/fixture-sandbox.ts

View workflow job for this annotation

GitHub Actions / test - windows-self-hosted-arm64

src/constructs/__tests__/agentic-check.spec.ts > AgenticCheck > should expose agentRuntime skills

ExecaError: Command failed with exit code 1: npx checkly debug parse-project --config "R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-agent-runtime\checkly.config.js" Error: Error loading file 'R:\Temp\fixture-sandbox-6aT5MD\test-cases\test- agent-runtime\checkly.config.js' Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'r:' at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:241:11) at defaultLoad (node:internal/modules/esm/load:132:3) at ModuleLoader.load (node:internal/modules/esm/loader:724:12) at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:543:56) at #createModuleJob (node:internal/modules/esm/loader:567:36) at #getJobFromResolveResult (node:internal/modules/esm/loader:297:34) at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:265:41) at async ModuleLoader.import (node:internal/modules/esm/loader:605:23) ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ run src/testing/fixture-sandbox.ts:195:18 ❯ FixtureSandbox.run src/testing/fixture-sandbox.ts:179:12 ❯ parseProject src/constructs/__tests__/agentic-check.spec.ts:9:18 ❯ src/constructs/__tests__/agentic-check.spec.ts:81:20 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx checkly debug parse-project --config "R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-agent-runtime\checkly.config.js"', command: 'npx checkly debug parse-project --config R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-agent-runtime\checkly.config.js', escapedCommand: 'npx checkly debug parse-project --config "R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-agent-runtime\checkly.config.js"', cwd: 'R:\Temp\fixture-sandbox-6aT5MD', durationMs: 4363.8165, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: ' Error: Error loading file \'R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-\n agent-runtime\checkly.config.js\'\n Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, \n data, and node are supported by the default ESM loader. On Windows, \n absolute paths must be valid file:// URLs. Received protocol \'r:\'\n at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:241:11)\n at defaultLoad (node:internal/modules/esm/load:132:3)\n at ModuleLoader.load (node:internal/modules/esm/loader:724:12)\n at ModuleLoader.loadAndTranslate \n (node:internal/modules/esm/loader:543:56)\n at #createModuleJob (node:internal/modules/esm/loader:567:36)\n at #getJobFromResolveResult (node:internal/modules/esm/loader:297:34)\n at ModuleLoader.getModuleJobForImport \n (node:internal/modules/esm/loader:265:41)\n at async ModuleLoader.import (node:internal/modules/esm/loader:605:23)', stdio: [ undefined, '', ' Error: Error loading file \'R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-\n agent-runtime\checkly.config.js\'\n Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, \n data, and node are supported by the default ESM loader. On Windows, \n absolute paths must be valid file:// URLs. Received protocol \'r:\'\n at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:241:11)\n at defaultLoad (node:internal/modules/esm/load:132:3)\n at ModuleLoader.load (node:internal/modules/esm/loader:724:12)\n at ModuleLoader.loadAndTranslate \n (node:internal/modules/esm/loader:543:56)\n

Check failure on line 195 in packages/cli/src/testing/fixture-sandbox.ts

View workflow job for this annotation

GitHub Actions / test - windows-self-hosted-arm64

src/constructs/__tests__/agentic-check.spec.ts > AgenticCheck > should create a basic agentic check with prompt

ExecaError: Command failed with exit code 1: npx checkly debug parse-project --config "R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-basic\checkly.config.js" Error: Error loading file 'R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-basic\checkly.config.js' Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'r:' at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:241:11) at defaultLoad (node:internal/modules/esm/load:132:3) at ModuleLoader.load (node:internal/modules/esm/loader:724:12) at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:543:56) at #createModuleJob (node:internal/modules/esm/loader:567:36) at #getJobFromResolveResult (node:internal/modules/esm/loader:297:34) at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:265:41) at async ModuleLoader.import (node:internal/modules/esm/loader:605:23) ❯ getFinalError node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/execa/lib/methods/main-async.js:168:4 ❯ handlePromise node_modules/execa/lib/methods/main-async.js:151:17 ❯ run src/testing/fixture-sandbox.ts:195:18 ❯ FixtureSandbox.run src/testing/fixture-sandbox.ts:179:12 ❯ parseProject src/constructs/__tests__/agentic-check.spec.ts:9:18 ❯ src/constructs/__tests__/agentic-check.spec.ts:46:20 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: npx checkly debug parse-project --config "R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-basic\checkly.config.js"', command: 'npx checkly debug parse-project --config R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-basic\checkly.config.js', escapedCommand: 'npx checkly debug parse-project --config "R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-basic\checkly.config.js"', cwd: 'R:\Temp\fixture-sandbox-6aT5MD', durationMs: 3791.713125, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: ' Error: Error loading file \n \'R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-basic\checkly.config.js\'\n Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, \n data, and node are supported by the default ESM loader. On Windows, \n absolute paths must be valid file:// URLs. Received protocol \'r:\'\n at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:241:11)\n at defaultLoad (node:internal/modules/esm/load:132:3)\n at ModuleLoader.load (node:internal/modules/esm/loader:724:12)\n at ModuleLoader.loadAndTranslate \n (node:internal/modules/esm/loader:543:56)\n at #createModuleJob (node:internal/modules/esm/loader:567:36)\n at #getJobFromResolveResult (node:internal/modules/esm/loader:297:34)\n at ModuleLoader.getModuleJobForImport \n (node:internal/modules/esm/loader:265:41)\n at async ModuleLoader.import (node:internal/modules/esm/loader:605:23)', stdio: [ undefined, '', ' Error: Error loading file \n \'R:\Temp\fixture-sandbox-6aT5MD\test-cases\test-basic\checkly.config.js\'\n Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, \n data, and node are supported by the default ESM loader. On Windows, \n absolute paths must be valid file:// URLs. Received protocol \'r:\'\n at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:241:11)\n at defaultLoad (node:internal/modules/esm/load:132:3)\n at ModuleLoader.load (node:internal/modules/esm/loader:724:12)\n at ModuleLoader.loadAndTranslate \n (node:internal/modules/esm/loader:543:56)\n at #createModuleJob (node:internal/modules/esm/l
...options,
})

Expand Down
Loading