Skip to content

ci: add lint, typecheck, and test workflow for PRs and pushes #1

ci: add lint, typecheck, and test workflow for PRs and pushes

ci: add lint, typecheck, and test workflow for PRs and pushes #1

Triggered via push June 26, 2026 15:35
Status Failure
Total duration 5m 46s
Artifacts –

ci.yml

on: push
Fit to window
Zoom out
Zoom in

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 (unknown: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 (native: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-g942po7n76k/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-t3cxnpd8ibc/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(no-unused-vars): packages/tinycode/src/cli/cmd/tui/app.tsx#L61
Identifier 'open' is imported but never used.
eslint(no-unused-vars): packages/ui/src/components/message-part.tsx#L296
Identifier 'normalize' is imported but never used.
eslint(no-useless-escape): script/upgrade-opentui.ts#L165
Unnecessary escape character '"'
eslint(no-unused-vars): packages/tinycode/src/cli/cmd/tui/component/prompt/autocomplete.tsx#L413
Variable 'url' is declared but never used. Unused variables should start with a '_'.
eslint(no-useless-escape): packages/tinycode/src/config/reference.ts#L45
Unnecessary escape character '/'
eslint(no-unused-vars): packages/tinycode/src/lsp/lsp.ts#L149
Parameter 'ctx' is declared but never used. Unused parameters should start with a '_'.
eslint-plugin-unicorn(no-useless-spread): packages/tinycode/src/lsp/server.ts#L821
Using a spread operator here creates a new array unnecessarily.
eslint-plugin-unicorn(no-useless-spread): packages/tinycode/src/lsp/client.ts#L186
Using a spread operator here creates a new array unnecessarily.
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/