fix(core): aiTap Images does not work && feat(core): make the images provided by aiTap truly effective #2222
+27
−7
Annotations
11 errors and 1 warning
|
|
|
packages/cli/tests/ai/bin.test.ts#L39
ExecaError: Command failed with exit code 1: /home/runner/work/midscene/midscene/packages/cli/bin/midscene /tmp/ci_yaml_08ed09a0-4ea6-4eae-bbe6-bff8f439991c.yml
Welcome to @midscene/cli v1.5.7
Executing YAML files...
Scripts:
- /tmp/ci_yaml_08ed09a0-4ea6-4eae-bbe6-bff8f439991c.yml
📋 Execution plan
Concurrency: 1
Keep window: false
Headed: false
Continue on error: false
Share browser context: false
Summary output: summary-1774358185030.json
◌ ../../../../../../../tmp/ci_yaml_08ed09a0-4ea6-4eae-bbe6-bff8f439991c.yml
✘ ../../../../../../../tmp/ci_yaml_08ed09a0-4ea6-4eae-bbe6-bff8f439991c.yml
✘ local page (task 1/1)
error:
Model configuration is incomplete: model name (MIDSCENE_MODEL_NAME) is required. See https://midscenejs.com/model-strategy.html
📋 Execution Results:
✘ ../../../../../../../tmp/ci_yaml_08ed09a0-4ea6-4eae-bbe6-bff8f439991c.yml
✘ local page (task 1/1)
error:
Model configuration is incomplete: model name (MIDSCENE_MODEL_NAME) is required. See https://midscenejs.com/model-strategy.html
Execution finished:
📊 Execution Summary:
Total files: 1
Successful: 0
Failed: 1
Partial failed: 0
Not executed: 0
Duration: 1.18s
Summary: /home/runner/work/midscene/midscene/packages/cli/midscene_run/output/summary-1774358185030.json
❌ Failed files
/tmp/ci_yaml_08ed09a0-4ea6-4eae-bbe6-bff8f439991c.yml
⚠️ Some files failed or were not executed.
❯ getFinalError ../../node_modules/.pnpm/execa@9.3.0/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError ../../node_modules/.pnpm/execa@9.3.0/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult ../../node_modules/.pnpm/execa@9.3.0/node_modules/execa/lib/methods/main-async.js:167:4
❯ handlePromise ../../node_modules/.pnpm/execa@9.3.0/node_modules/execa/lib/methods/main-async.js:150:17
❯ tests/ai/bin.test.ts:39:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: /home/runner/work/midscene/midscene/packages/cli/bin/midscene /tmp/ci_yaml_08ed09a0-4ea6-4eae-bbe6-bff8f439991c.yml', command: '/home/runner/work/midscene/midscene/packages/cli/bin/midscene /tmp/ci_yaml_08ed09a0-4ea6-4eae-bbe6-bff8f439991c.yml', escapedCommand: '/home/runner/work/midscene/midscene/packages/cli/bin/midscene /tmp/ci_yaml_08ed09a0-4ea6-4eae-bbe6-bff8f439991c.yml', cwd: '/home/runner/work/midscene/midscene/packages/cli', durationMs: 2284.812136, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '\nWelcome to @midscene/cli v1.5.7\n\n Executing YAML files...\n Scripts:\n - /tmp/ci_yaml_08ed09a0-4ea6-4eae-bbe6-bff8f439991c.yml\n📋 Execution plan\n Concurrency: 1\n Keep window: false\n Headed: false\n Continue on error: false\n Share browser context: false\n Summary output: summary-1774358185030.json\n\u001b[90m◌\u001b[39m \u001b[90m../../../../../../../tmp/ci_yaml_08ed09a0-4ea6-4eae-bbe6-bff8f439991c.yml\u001b[39m\n\u001b[31m✘\u001b[39m \u001b[90m../../../../../../../tmp/ci_yaml_08ed09a0-4ea6-4eae-bbe6-bff8f439991c.yml\u001b[39m\n \u001b[31m✘\u001b[39m local page \u001b[90m(task 1/1)\u001b[39m\n \u001b[90merror:\u001b[39m\n Model configuration is incomplete: model name (MIDSCENE_MODEL_NAME) is required. See https://midscenejs.com/model-strategy.html\n\n📋 Execution Results:\n\u001b[31m✘\u001b[39m \u001b[90m../../../../../../../tmp/ci_yaml_08ed09a0-4ea6-4eae-bbe6-bff8f439991c.yml\u001b[39m\n \u001b[31m✘\u001b[39m local page \u001b[90m(task 1/1)\u001b[39m\n \u001b[90merror:\u001b[39m\n Model configuration is incomplete: model name (MIDSCENE_MODEL_NAME) is required. See https://midscenejs.com/model-strategy.html\nExecution finished:\n\n📊 Execution Summary:\n Total files: 1\n Successful: 0\n Failed: 1\n Partial failed: 0\n Not executed: 0\n Duration: 1.18s\n Summary: /home/runner/work/midscene/midscene/pac
|
|
packages/cli/tests/ai/bin.test.ts#L39
ExecaError: Command failed with exit code 1: /home/runner/work/midscene/midscene/packages/cli/bin/midscene /tmp/ci_yaml_9ac4c25c-1016-4d13-832a-5642433903e7.yml
Welcome to @midscene/cli v1.5.7
Executing YAML files...
Scripts:
- /tmp/ci_yaml_9ac4c25c-1016-4d13-832a-5642433903e7.yml
📋 Execution plan
Concurrency: 1
Keep window: false
Headed: false
Continue on error: false
Share browser context: false
Summary output: summary-1774358181747.json
◌ ../../../../../../../tmp/ci_yaml_9ac4c25c-1016-4d13-832a-5642433903e7.yml
✘ ../../../../../../../tmp/ci_yaml_9ac4c25c-1016-4d13-832a-5642433903e7.yml
✘ local page (task 1/1)
error:
Model configuration is incomplete: model name (MIDSCENE_MODEL_NAME) is required. See https://midscenejs.com/model-strategy.html
📋 Execution Results:
✘ ../../../../../../../tmp/ci_yaml_9ac4c25c-1016-4d13-832a-5642433903e7.yml
✘ local page (task 1/1)
error:
Model configuration is incomplete: model name (MIDSCENE_MODEL_NAME) is required. See https://midscenejs.com/model-strategy.html
Execution finished:
📊 Execution Summary:
Total files: 1
Successful: 0
Failed: 1
Partial failed: 0
Not executed: 0
Duration: 2.21s
Summary: /home/runner/work/midscene/midscene/packages/cli/midscene_run/output/summary-1774358181747.json
❌ Failed files
/tmp/ci_yaml_9ac4c25c-1016-4d13-832a-5642433903e7.yml
⚠️ Some files failed or were not executed.
❯ getFinalError ../../node_modules/.pnpm/execa@9.3.0/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError ../../node_modules/.pnpm/execa@9.3.0/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult ../../node_modules/.pnpm/execa@9.3.0/node_modules/execa/lib/methods/main-async.js:167:4
❯ handlePromise ../../node_modules/.pnpm/execa@9.3.0/node_modules/execa/lib/methods/main-async.js:150:17
❯ tests/ai/bin.test.ts:39:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: /home/runner/work/midscene/midscene/packages/cli/bin/midscene /tmp/ci_yaml_9ac4c25c-1016-4d13-832a-5642433903e7.yml', command: '/home/runner/work/midscene/midscene/packages/cli/bin/midscene /tmp/ci_yaml_9ac4c25c-1016-4d13-832a-5642433903e7.yml', escapedCommand: '/home/runner/work/midscene/midscene/packages/cli/bin/midscene /tmp/ci_yaml_9ac4c25c-1016-4d13-832a-5642433903e7.yml', cwd: '/home/runner/work/midscene/midscene/packages/cli', durationMs: 2853.160453, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '\nWelcome to @midscene/cli v1.5.7\n\n Executing YAML files...\n Scripts:\n - /tmp/ci_yaml_9ac4c25c-1016-4d13-832a-5642433903e7.yml\n📋 Execution plan\n Concurrency: 1\n Keep window: false\n Headed: false\n Continue on error: false\n Share browser context: false\n Summary output: summary-1774358181747.json\n\u001b[90m◌\u001b[39m \u001b[90m../../../../../../../tmp/ci_yaml_9ac4c25c-1016-4d13-832a-5642433903e7.yml\u001b[39m\n\u001b[31m✘\u001b[39m \u001b[90m../../../../../../../tmp/ci_yaml_9ac4c25c-1016-4d13-832a-5642433903e7.yml\u001b[39m\n \u001b[31m✘\u001b[39m local page \u001b[90m(task 1/1)\u001b[39m\n \u001b[90merror:\u001b[39m\n Model configuration is incomplete: model name (MIDSCENE_MODEL_NAME) is required. See https://midscenejs.com/model-strategy.html\n\n📋 Execution Results:\n\u001b[31m✘\u001b[39m \u001b[90m../../../../../../../tmp/ci_yaml_9ac4c25c-1016-4d13-832a-5642433903e7.yml\u001b[39m\n \u001b[31m✘\u001b[39m local page \u001b[90m(task 1/1)\u001b[39m\n \u001b[90merror:\u001b[39m\n Model configuration is incomplete: model name (MIDSCENE_MODEL_NAME) is required. See https://midscenejs.com/model-strategy.html\nExecution finished:\n\n📊 Execution Summary:\n Total files: 1\n Successful: 0\n Failed: 1\n Partial failed: 0\n Not executed: 0\n Duration: 2.21s\n Summary: /home/runner/work/midscene/midscene/pac
|
|
packages/core/tests/ai/service/service.test.ts#L12
Error: Model configuration is incomplete: model name (MIDSCENE_MODEL_NAME) is required. See https://midscenejs.com/model-strategy.html
❯ tests/ai/service/service.test.ts:12:46
|
|
packages/core/tests/ai/llm-planning/input.test.ts#L23
Error: Model configuration is incomplete: model name (MIDSCENE_MODEL_NAME) is required. See https://midscenejs.com/model-strategy.html
❯ tests/ai/llm-planning/input.test.ts:23:53
|
|
packages/core/tests/ai/llm-planning/basic.test.ts#L15
Error: Model configuration is incomplete: model name (MIDSCENE_MODEL_NAME) is required. See https://midscenejs.com/model-strategy.html
❯ tests/ai/llm-planning/basic.test.ts:15:46
|
|
packages/core/tests/ai/extract/extract.test.ts#L11
Error: Model configuration is incomplete: model name (MIDSCENE_MODEL_NAME) is required. See https://midscenejs.com/model-strategy.html
❯ tests/ai/extract/extract.test.ts:11:53
|
|
packages/core/tests/ai/streaming.test.ts#L18
Error: Model configuration is incomplete: model name (MIDSCENE_MODEL_NAME) is required. See https://midscenejs.com/model-strategy.html
❯ tests/ai/streaming.test.ts:18:53
|
|
packages/core/tests/ai/llm-section-locator.test.ts#L8
Error: Model configuration is incomplete: model name (MIDSCENE_MODEL_NAME) is required. See https://midscenejs.com/model-strategy.html
❯ tests/ai/llm-section-locator.test.ts:8:46
|
|
packages/core/tests/ai/llm-inspect.test.ts#L10
Error: Model configuration is incomplete: model name (MIDSCENE_MODEL_NAME) is required. See https://midscenejs.com/model-strategy.html
❯ tests/ai/llm-inspect.test.ts:10:53
|
|
packages/core/tests/ai/connectivity.test.ts#L15
Error: Model configuration is incomplete: model name (MIDSCENE_MODEL_NAME) is required. See https://midscenejs.com/model-strategy.html
❯ tests/ai/connectivity.test.ts:15:53
|
|
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
The logs for this run have expired and are no longer available.
Loading