Skip to content

chore: Develop => main for 1.7.0 release #2205

chore: Develop => main for 1.7.0 release

chore: Develop => main for 1.7.0 release #2205

Triggered via pull request January 4, 2025 06:04
@shakkernerdshakkernerd
synchronize #1717
develop
Status Failure
Total duration 3m 44s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
Unhandled error: packages/core/src/generation.ts#L76
Error: maxTokens must be positive ❯ Proxy.trimTokens src/generation.ts:76:31 ❯ src/tests/generation.test.ts:141:26 ❯ Proxy.assertThrows ../../node_modules/chai/chai.js:2709:5 ❯ Proxy.methodWrapper ../../node_modules/chai/chai.js:1610:25 ❯ Proxy.<anonymous> ../../node_modules/@vitest/expect/dist/index.js:1029:16 ❯ Proxy.overwritingMethodWrapper ../../node_modules/chai/chai.js:1666:33 ❯ Proxy.<anonymous> ../../node_modules/@vitest/expect/dist/index.js:1509:21 ❯ Proxy.<anonymous> ../../node_modules/@vitest/expect/dist/index.js:972:17 ❯ Proxy.methodWrapper ../../node_modules/chai/chai.js:1610:25 ❯ src/tests/generation.test.ts:141:57 This error originated in "src/tests/generation.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "src/tests/generation.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: packages/core/src/generation.ts#L78
TypeError: runtime.getSetting is not a function ❯ Proxy.trimTokens src/generation.ts:78:36 ❯ src/tests/generation.test.ts:148:28 ❯ ../../node_modules/@vitest/runner/dist/index.js:146:14 ❯ ../../node_modules/@vitest/runner/dist/index.js:533:11 ❯ runWithTimeout ../../node_modules/@vitest/runner/dist/index.js:39:7 ❯ runTest ../../node_modules/@vitest/runner/dist/index.js:1056:17 ❯ processTicksAndRejections node:internal/process/task_queues:105:5 ❯ runSuite ../../node_modules/@vitest/runner/dist/index.js:1205:15 ❯ runSuite ../../node_modules/@vitest/runner/dist/index.js:1205:15 ❯ runSuite ../../node_modules/@vitest/runner/dist/index.js:1205:15 This error originated in "src/tests/generation.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "src/tests/generation.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: packages/core/src/generation.ts#L78
TypeError: runtime.getSetting is not a function ❯ Proxy.trimTokens src/generation.ts:78:36 ❯ src/tests/generation.test.ts:156:28 ❯ ../../node_modules/@vitest/runner/dist/index.js:146:14 ❯ ../../node_modules/@vitest/runner/dist/index.js:533:11 ❯ runWithTimeout ../../node_modules/@vitest/runner/dist/index.js:39:7 ❯ runTest ../../node_modules/@vitest/runner/dist/index.js:1056:17 ❯ processTicksAndRejections node:internal/process/task_queues:105:5 ❯ runSuite ../../node_modules/@vitest/runner/dist/index.js:1205:15 ❯ runSuite ../../node_modules/@vitest/runner/dist/index.js:1205:15 ❯ runSuite ../../node_modules/@vitest/runner/dist/index.js:1205:15 This error originated in "src/tests/generation.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "src/tests/generation.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: packages/core/src/generation.ts#L78
TypeError: runtime.getSetting is not a function ❯ Proxy.trimTokens src/generation.ts:78:36 ❯ src/tests/generation.test.ts:169:28 ❯ ../../node_modules/@vitest/runner/dist/index.js:146:14 ❯ ../../node_modules/@vitest/runner/dist/index.js:533:11 ❯ runWithTimeout ../../node_modules/@vitest/runner/dist/index.js:39:7 ❯ runTest ../../node_modules/@vitest/runner/dist/index.js:1056:17 ❯ processTicksAndRejections node:internal/process/task_queues:105:5 ❯ runSuite ../../node_modules/@vitest/runner/dist/index.js:1205:15 ❯ runSuite ../../node_modules/@vitest/runner/dist/index.js:1205:15 ❯ runSuite ../../node_modules/@vitest/runner/dist/index.js:1205:15 This error originated in "src/tests/generation.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "src/tests/generation.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: packages/core/src/generation.ts#L78
TypeError: runtime.getSetting is not a function ❯ Proxy.trimTokens src/generation.ts:78:36 ❯ src/tests/generation.test.ts:179:28 ❯ ../../node_modules/@vitest/runner/dist/index.js:146:14 ❯ ../../node_modules/@vitest/runner/dist/index.js:533:11 ❯ runWithTimeout ../../node_modules/@vitest/runner/dist/index.js:39:7 ❯ runTest ../../node_modules/@vitest/runner/dist/index.js:1056:17 ❯ processTicksAndRejections node:internal/process/task_queues:105:5 ❯ runSuite ../../node_modules/@vitest/runner/dist/index.js:1205:15 ❯ runSuite ../../node_modules/@vitest/runner/dist/index.js:1205:15 ❯ runSuite ../../node_modules/@vitest/runner/dist/index.js:1205:15 This error originated in "src/tests/generation.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "src/tests/generation.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
src/tests/generation.test.ts > Generation > trimTokens > should return empty string for empty input: packages/core/src/tests/generation.test.ts#L137
AssertionError: expected Promise{…} to be '' // Object.is equality - Expected: "" + Received: Promise {} ❯ src/tests/generation.test.ts:137:28
src/tests/generation.test.ts > Generation > trimTokens > should throw error for negative maxTokens: packages/core/src/tests/generation.test.ts#L141
AssertionError: expected [Function] to throw an error - Expected: null + Received: undefined ❯ src/tests/generation.test.ts:141:57
src/tests/generation.test.ts > Generation > trimTokens > should return unchanged text if within token limit: packages/core/src/tests/generation.test.ts#L149
AssertionError: expected Promise{…} to be 'This is a short text' // Object.is equality - Expected: "This is a short text" + Received: Promise {} ❯ src/tests/generation.test.ts:149:28
src/tests/generation.test.ts > Generation > trimTokens > should truncate text to specified token limit: packages/core/src/tests/generation.test.ts#L160
TypeError: actual value must be number or bigint, received "undefined" ❯ src/tests/generation.test.ts:160:35
src/tests/generation.test.ts > Generation > trimTokens > should handle non-ASCII characters: packages/core/src/tests/generation.test.ts#L170
TypeError: actual value must be number or bigint, received "undefined" ❯ src/tests/generation.test.ts:170:35
check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
check: packages/client-direct/src/api.ts#L112
Unexpected any. Specify a different type
check: packages/client-direct/src/index.ts#L79
Unexpected any. Specify a different type
check: packages/plugin-aptos/src/actions/transfer.ts#L30
Unexpected any. Specify a different type
check: packages/plugin-evm/src/actions/bridge.ts#L96
Unexpected any. Specify a different type
check: packages/plugin-evm/src/actions/bridge.ts#L97
Unexpected any. Specify a different type
check: packages/plugin-evm/src/actions/swap.ts#L106
Unexpected any. Specify a different type
check: packages/plugin-evm/src/actions/swap.ts#L107
Unexpected any. Specify a different type
check: packages/plugin-evm/src/actions/transfer.ts#L109
Unexpected any. Specify a different type
check: packages/plugin-evm/src/tests/transfer.test.ts#L23
Unexpected any. Specify a different type
check: packages/plugin-evm/src/tests/wallet.test.ts#L56
Unexpected any. Specify a different type