ci: add lint, typecheck, and test workflow for PRs and pushes #2
Annotations
11 errors and 13 warnings
|
typecheck
Process completed with exit code 2.
|
|
error: expect(received).toHaveLength(expected):
packages/tinycode/unknown#L1
Expected length: 2
Received length: 7
at toHaveLength (unknown:1:1)
at /home/runner/work/tinycode/tinycode/packages/tinycode/test/session/instruction.test.ts:214:23
at ~effect/Effect/successCont (/home/runner/work/tinycode/tinycode/node_modules/.bun/effect@4.0.0-beta.66/node_modules/effect/dist/internal/effect.js:910:23)
at runLoop (/home/runner/work/tinycode/tinycode/node_modules/.bun/effect@4.0.0-beta.66/node_modules/effect/dist/internal/effect.js:420:66)
at evaluate (/home/runner/work/tinycode/tinycode/node_modules/.bun/effect@4.0.0-beta.66/node_modules/effect/dist/internal/effect.js:380:20)
at /home/runner/work/tinycode/tinycode/node_modules/.bun/effect@4.0.0-beta.66/node_modules/effect/dist/internal/effect.js:734:14
at /home/runner/work/tinycode/tinycode/node_modules/.bun/effect@4.0.0-beta.66/node_modules/effect/dist/Effect.js:7295:9
at processTicksAndRejections (native:7:39)
|
|
error: expect(received).toBe(expected):
packages/tinycode/unknown#L1
Expected: "number"
Received: "undefined"
at toBe (unknown:1:1)
at /home/runner/work/tinycode/tinycode/packages/tinycode/test/session/prompt.test.ts:538:45
at ~effect/Effect/successCont (/home/runner/work/tinycode/tinycode/node_modules/.bun/effect@4.0.0-beta.66/node_modules/effect/dist/internal/effect.js:910:23)
at runLoop (/home/runner/work/tinycode/tinycode/node_modules/.bun/effect@4.0.0-beta.66/node_modules/effect/dist/internal/effect.js:420:66)
at evaluate (/home/runner/work/tinycode/tinycode/node_modules/.bun/effect@4.0.0-beta.66/node_modules/effect/dist/internal/effect.js:380:20)
at /home/runner/work/tinycode/tinycode/node_modules/.bun/effect@4.0.0-beta.66/node_modules/effect/dist/internal/effect.js:734:14
at /home/runner/work/tinycode/tinycode/node_modules/.bun/@effect+platform-node-shared@4.0.0-beta.78+27e58d8019b01171/node_modules/@effect/platform-node-shared/dist/NodeFileSystem.js:372:9
at processTicksAndRejections (unknown:7:39)
|
|
error: timed out waiting for graceful stop after forced stop:
packages/tinycode/src/util/timeout.ts#L9
at <anonymous> (/home/runner/work/tinycode/tinycode/packages/tinycode/src/util/timeout.ts:9:20)
|
|
error: timed out waiting for forced listener stop:
packages/tinycode/src/util/timeout.ts#L9
at <anonymous> (/home/runner/work/tinycode/tinycode/packages/tinycode/src/util/timeout.ts:9:20)
|
|
error: timed out waiting for concurrent listener.stop(true):
packages/tinycode/src/util/timeout.ts#L9
at <anonymous> (/home/runner/work/tinycode/tinycode/packages/tinycode/src/util/timeout.ts:9:20)
|
|
error: timed out waiting for listener.stop(true):
packages/tinycode/src/util/timeout.ts#L9
at <anonymous> (/home/runner/work/tinycode/tinycode/packages/tinycode/src/util/timeout.ts:9:20)
|
|
error: expect(received).toBe(expected):
packages/tinycode/test/omt/tools.test.ts#L42
Expected: true
Received: false
at <anonymous> (/home/runner/work/tinycode/tinycode/packages/tinycode/test/omt/tools.test.ts:42:64)
|
|
error: expect(received).toBe(expected):
packages/tinycode/test/tool/parameters.test.ts#L111
Expected: false
Received: true
at <anonymous> (/home/runner/work/tinycode/tinycode/packages/tinycode/test/tool/parameters.test.ts:111:49)
|
|
error: expect(received).toContain(expected):
packages/tinycode/unknown#L1
Expected to contain: "Wrote file successfully"
Received: "Wrote /tmp/tinycode-test-gvhoz8bvy0h/existing.txt"
at toContain (unknown:1:1)
at /home/runner/work/tinycode/tinycode/packages/tinycode/test/tool/write.test.ts:104:31
at ~effect/Effect/successCont (/home/runner/work/tinycode/tinycode/node_modules/.bun/effect@4.0.0-beta.66/node_modules/effect/dist/internal/effect.js:910:23)
at runLoop (/home/runner/work/tinycode/tinycode/node_modules/.bun/effect@4.0.0-beta.66/node_modules/effect/dist/internal/effect.js:420:66)
at evaluate (/home/runner/work/tinycode/tinycode/node_modules/.bun/effect@4.0.0-beta.66/node_modules/effect/dist/internal/effect.js:380:20)
at /home/runner/work/tinycode/tinycode/node_modules/.bun/effect@4.0.0-beta.66/node_modules/effect/dist/internal/effect.js:734:14
at processTicksAndRejections (native:7:39)
|
|
error: expect(received).toContain(expected):
packages/tinycode/unknown#L1
Expected to contain: "Wrote file successfully"
Received: "Wrote /tmp/tinycode-test-yt2bp9daxo/newfile.txt"
at toContain (unknown:1:1)
at /home/runner/work/tinycode/tinycode/packages/tinycode/test/tool/write.test.ts:66:31
at ~effect/Effect/successCont (/home/runner/work/tinycode/tinycode/node_modules/.bun/effect@4.0.0-beta.66/node_modules/effect/dist/internal/effect.js:910:23)
at runLoop (/home/runner/work/tinycode/tinycode/node_modules/.bun/effect@4.0.0-beta.66/node_modules/effect/dist/internal/effect.js:420:66)
at evaluate (/home/runner/work/tinycode/tinycode/node_modules/.bun/effect@4.0.0-beta.66/node_modules/effect/dist/internal/effect.js:380:20)
at /home/runner/work/tinycode/tinycode/node_modules/.bun/effect@4.0.0-beta.66/node_modules/effect/dist/internal/effect.js:734:14
at processTicksAndRejections (native:7:39)
|
|
typecheck
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
lint
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
eslint-plugin-unicorn(no-useless-spread):
packages/app/src/hooks/use-providers.ts#L52
Using a spread operator here creates a new array unnecessarily.
|
|
eslint(no-unused-vars):
packages/ui/src/components/message-part.tsx#L296
Identifier 'normalize' is imported but never used.
|
|
eslint-plugin-unicorn(no-useless-fallback-in-spread):
packages/tinycode/src/core/plugin/models-dev.ts#L45
Empty fallbacks in spreads are unnecessary
|
|
eslint-plugin-unicorn(no-useless-fallback-in-spread):
packages/tinycode/src/core/plugin/models-dev.ts#L44
Empty fallbacks in spreads are unnecessary
|
|
eslint-plugin-unicorn(no-useless-fallback-in-spread):
packages/tinycode/src/core/aisdk.ts#L67
Empty fallbacks in spreads are unnecessary
|
|
eslint(no-unused-vars):
packages/tinycode/test/agent/agent-with-mock-llm.test.ts#L4
Identifier 'Provider' is imported but never used.
|
|
eslint(no-unused-vars):
packages/app/src/context/server-sync.tsx#L4
Identifier 'useContext' is imported but never used.
|
|
eslint(no-unused-vars):
packages/app/src/context/server-sync.tsx#L4
Type 'ParentProps' is imported but never used.
|
|
eslint(no-unused-vars):
packages/app/src/context/server-sync.tsx#L4
Identifier 'createContext' is imported but never used.
|
|
eslint(no-unused-vars):
packages/app/src/context/sync.tsx#L6
Variable 'SKIP_PARTS' is declared but never used. Unused variables should start with a '_'.
|
|
test
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|