Skip to content

feat: add gh workflows setup #18

feat: add gh workflows setup

feat: add gh workflows setup #18

Triggered via pull request July 14, 2026 19:44
Status Failure
Total duration 10m 14s
Artifacts

ci.yml

on: pull_request
Matrix: unit-test / test
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 2 warnings, and 1 notice
TypeError: undefined is not an object (evaluating 'arg.length'): node_modules\commander\lib\command.js#L1766
at maybeOption (D:\a\agentcore-cli\agentcore-cli\node_modules\commander\lib\command.js:1766:14) at parseOptions (D:\a\agentcore-cli\agentcore-cli\node_modules\commander\lib\command.js:1804:11) at _parseCommand (D:\a\agentcore-cli\agentcore-cli\node_modules\commander\lib\command.js:1563:25) at parseAsync (D:\a\agentcore-cli\agentcore-cli\node_modules\commander\lib\command.js:1113:16) at route (D:\a\agentcore-cli\agentcore-cli\src\router\router.tsx:244:30) at run (D:\a\agentcore-cli\agentcore-cli\src\handlers\harness\harness.test.tsx:36:14) at <anonymous> (D:\a\agentcore-cli\agentcore-cli\src\handlers\harness\harness.test.tsx:326:25)
TypeError: undefined is not an object (evaluating 'arg.length'): node_modules\commander\lib\command.js#L1766
at maybeOption (D:\a\agentcore-cli\agentcore-cli\node_modules\commander\lib\command.js:1766:14) at parseOptions (D:\a\agentcore-cli\agentcore-cli\node_modules\commander\lib\command.js:1804:11) at _parseCommand (D:\a\agentcore-cli\agentcore-cli\node_modules\commander\lib\command.js:1563:25) at parseAsync (D:\a\agentcore-cli\agentcore-cli\node_modules\commander\lib\command.js:1113:16) at route (D:\a\agentcore-cli\agentcore-cli\src\router\router.tsx:244:30) at run (D:\a\agentcore-cli\agentcore-cli\src\handlers\harness\harness.test.tsx:36:14) at <anonymous> (D:\a\agentcore-cli\agentcore-cli\src\handlers\harness\harness.test.tsx:298:25)
TypeError: undefined is not an object (evaluating 'arg.length'): node_modules\commander\lib\command.js#L1766
at maybeOption (D:\a\agentcore-cli\agentcore-cli\node_modules\commander\lib\command.js:1766:14) at parseOptions (D:\a\agentcore-cli\agentcore-cli\node_modules\commander\lib\command.js:1804:11) at _parseCommand (D:\a\agentcore-cli\agentcore-cli\node_modules\commander\lib\command.js:1563:25) at parseAsync (D:\a\agentcore-cli\agentcore-cli\node_modules\commander\lib\command.js:1113:16) at route (D:\a\agentcore-cli\agentcore-cli\src\router\router.tsx:244:30) at run (D:\a\agentcore-cli\agentcore-cli\src\handlers\harness\harness.test.tsx:36:14) at <anonymous> (D:\a\agentcore-cli\agentcore-cli\src\handlers\harness\harness.test.tsx:272:25)
error: expect(received).toBe(expected): src\testing\fixtures.tsx#L180
"{ "harness": { "harnessId": "AgentCoreCliE2E-W21v24kBuV", "harnessName": "AgentCoreCliE2E", "arn": "arn:aws:bedrock-agentcore:us-west-2:501930284170:harness/AgentCoreCliE2E-W21v24kBuV", "status": "CREATING", "executionRoleArn": "arn:aws:iam::501930284170:role/AgentCoreHarness-AgentCoreCliE2E", "createdAt": "2026-07-07T23:10:13.675Z", "updatedAt": "2026-07-07T23:10:13.675Z", "model": { "bedrockModelConfig": { "modelId": "global.anthropic.claude-sonnet-4-6", "apiFormat": "converse_stream" } }, "systemPrompt": [ { "text": "You are a concise assistant used in an end-to-end CLI test." } ], "tools": [], "skills": [], "allowedTools": [ "*" ], "truncation": { "strategy": "sliding_window", "config": { "slidingWindow": { "messagesCount": 150 } } }, "environment": { "agentCoreRuntimeEnvironment": { "agentRuntimeName": "harness_AgentCoreCliE2E", "lifecycleConfiguration": { "idleRuntimeSessionTimeout": 900, "maxLifetime": 28800 }, "networkConfiguration": { "networkMode": "PUBLIC" } } }, "harnessVersion": "1", "memory": { "managedMemoryConfiguration": {} }, "maxIterations": 25, "timeoutSeconds": 3600 } }" - Expected - 0 + Received + 0 at matchGolden (D:\a\agentcore-cli\agentcore-cli\src\testing\fixtures.tsx:180:38) at <anonymous> (D:\a\agentcore-cli\agentcore-cli\src\handlers\harness\harness.test.tsx:252:7)
error: expect(received).toBe(expected): src\testing\fixtures.tsx#L180
"{ "harness": { "harnessId": "MyPDXHarness-rhkXkAE1IS", "harnessName": "MyPDXHarness", "arn": "arn:aws:bedrock-agentcore:us-west-2:501930284170:harness/MyPDXHarness-rhkXkAE1IS", "status": "READY", "executionRoleArn": "arn:aws:iam::501930284170:role/LoopyRole", "createdAt": "2026-04-22T21:53:06.235Z", "updatedAt": "2026-04-22T21:53:27.062Z", "model": { "bedrockModelConfig": { "modelId": "global.anthropic.claude-sonnet-4-6", "apiFormat": "converse_stream" } }, "systemPrompt": [ { "text": "You are a helpful assistant." } ], "tools": [], "skills": [], "allowedTools": [ "*" ], "truncation": { "strategy": "sliding_window", "config": { "slidingWindow": { "messagesCount": 150 } } }, "environment": { "agentCoreRuntimeEnvironment": { "agentRuntimeArn": "arn:aws:bedrock-agentcore:us-west-2:501930284170:runtime/harness_MyPDXHarness-8WBKGfHzjg", "agentRuntimeName": "harness_MyPDXHarness", "agentRuntimeId": "harness_MyPDXHarness-8WBKGfHzjg", "lifecycleConfiguration": { "idleRuntimeSessionTimeout": 900, "maxLifetime": 28800 }, "networkConfiguration": { "networkMode": "PUBLIC" } } }, "harnessVersion": "1", "maxIterations": 75, "timeoutSeconds": 3600 } }" - Expected - 0 + Received + 0 at matchGolden (D:\a\agentcore-cli\agentcore-cli\src\testing\fixtures.tsx:180:38) at <anonymous> (D:\a\agentcore-cli\agentcore-cli\src\handlers\harness\harness.test.tsx:142:5)
error: expect(received).toBe(expected): src\testing\fixtures.tsx#L180
"{ "harnessVersions": [ { "harnessId": "MyPDXHarness-rhkXkAE1IS", "harnessName": "MyPDXHarness", "arn": "arn:aws:bedrock-agentcore:us-west-2:501930284170:harness/MyPDXHarness-rhkXkAE1IS", "harnessVersion": "1", "status": "READY", "createdAt": "2026-04-22T21:53:06.235Z", "updatedAt": "2026-04-22T21:53:27.062Z" } ] }" - Expected - 0 + Received + 0 at matchGolden (D:\a\agentcore-cli\agentcore-cli\src\testing\fixtures.tsx:180:38) at <anonymous> (D:\a\agentcore-cli\agentcore-cli\src\handlers\harness\harness.test.tsx:117:5)
error: expect(received).toBe(expected): src\testing\fixtures.tsx#L180
"{ "endpoint": { "harnessId": "MyPDXHarness-rhkXkAE1IS", "harnessName": "MyPDXHarness", "endpointName": "DEFAULT", "arn": "arn:aws:bedrock-agentcore:us-west-2:501930284170:harness/MyPDXHarness-rhkXkAE1IS/harness-endpoint/DEFAULT", "status": "READY", "createdAt": "2026-04-22T21:53:06.235Z", "updatedAt": "2026-06-16T01:42:17.699Z", "liveVersion": "1" } }" - Expected - 0 + Received + 0 at matchGolden (D:\a\agentcore-cli\agentcore-cli\src\testing\fixtures.tsx:180:38) at <anonymous> (D:\a\agentcore-cli\agentcore-cli\src\handlers\harness\harness.test.tsx:98:5)
error: expect(received).toBe(expected): src\testing\fixtures.tsx#L180
"{ "endpoints": [ { "harnessId": "MyPDXHarness-rhkXkAE1IS", "harnessName": "MyPDXHarness", "endpointName": "DEFAULT", "arn": "arn:aws:bedrock-agentcore:us-west-2:501930284170:harness/MyPDXHarness-rhkXkAE1IS/harness-endpoint/DEFAULT", "status": "READY", "createdAt": "2026-04-22T21:53:06.235Z", "updatedAt": "2026-06-16T01:42:17.699Z", "liveVersion": "1" } ] }" - Expected - 0 + Received + 0 at matchGolden (D:\a\agentcore-cli\agentcore-cli\src\testing\fixtures.tsx:180:38) at <anonymous> (D:\a\agentcore-cli\agentcore-cli\src\handlers\harness\harness.test.tsx:73:5)
error: expect(received).toBe(expected): src\testing\fixtures.tsx#L180
"{ "harness": { "harnessId": "MyPDXHarness-rhkXkAE1IS", "harnessName": "MyPDXHarness", "arn": "arn:aws:bedrock-agentcore:us-west-2:501930284170:harness/MyPDXHarness-rhkXkAE1IS", "status": "READY", "executionRoleArn": "arn:aws:iam::501930284170:role/LoopyRole", "createdAt": "2026-04-22T21:53:06.235Z", "updatedAt": "2026-04-22T21:53:27.062Z", "model": { "bedrockModelConfig": { "modelId": "global.anthropic.claude-sonnet-4-6", "apiFormat": "converse_stream" } }, "systemPrompt": [ { "text": "You are a helpful assistant." } ], "tools": [], "skills": [], "allowedTools": [ "*" ], "truncation": { "strategy": "sliding_window", "config": { "slidingWindow": { "messagesCount": 150 } } }, "environment": { "agentCoreRuntimeEnvironment": { "agentRuntimeArn": "arn:aws:bedrock-agentcore:us-west-2:501930284170:runtime/harness_MyPDXHarness-8WBKGfHzjg", "agentRuntimeName": "harness_MyPDXHarness", "agentRuntimeId": "harness_MyPDXHarness-8WBKGfHzjg", "lifecycleConfiguration": { "idleRuntimeSessionTimeout": 900, "maxLifetime": 28800 }, "networkConfiguration": { "networkMode": "PUBLIC" } } }, "harnessVersion": "1", "maxIterations": 75, "timeoutSeconds": 3600 } }" - Expected - 0 + Received + 0 at matchGolden (D:\a\agentcore-cli\agentcore-cli\src\testing\fixtures.tsx:180:38) at <anonymous> (D:\a\agentcore-cli\agentcore-cli\src\handlers\harness\harness.test.tsx:59:5)
error: expect(received).toBe(expected): src\testing\fixtures.tsx#L180
"{ "harnesses": [ { "harnessId": "MyPDXHarness-rhkXkAE1IS", "harnessName": "MyPDXHarness", "arn": "arn:aws:bedrock-agentcore:us-west-2:501930284170:harness/MyPDXHarness-rhkXkAE1IS", "status": "READY", "createdAt": "2026-04-22T21:53:06.235Z", "updatedAt": "2026-04-22T21:53:27.062Z", "harnessVersion": "1" } ] }" - Expected - 0 + Received + 0 at matchGolden (D:\a\agentcore-cli\agentcore-cli\src\testing\fixtures.tsx:180:38) at <anonymous> (D:\a\agentcore-cli\agentcore-cli\src\handlers\harness\harness.test.tsx:46:5)
build / check
Process completed with exit code 2.
unit-test / Test (macos-latest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
unit-test / Test (ubuntu-latest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
unit-test / Test (macos-latest)
The macos-latest label will migrate to macOS 26 beginning June 15, 2026. For more information see https://github.com/actions/runner-images/issues/14167