Skip to content

CI runs only 2 of 16 test suites: turbo.json keys nikcli#test but the package is nikcli-ai #228

Description

@SandroHub013

Description

turbo.json declares a nikcli#test task, but the package in packages/nikcli is named nikcli-ai. The key matches nothing. There is no generic test task either, so bun turbo test — the command test.yml runs on the linux matrix leg — resolves to exactly two tasks:

$ bun turbo test --dry=json
@nikcli-ai/app#test        | command: "bun run test:unit"
@nikcli-ai/simulation#test | command: "bun test"

Every other package with a working test script is never executed by any workflow: llm (220 tests), tui-math (101), httpapi-codegen (83), tui-image (83), identity (47), inference (36), terminal-control (37), computer-use (27), http-recorder (16), browser-control (11), auth (7), sdk-next, and nikcli-ai itself (3869).

nikcli's suite does run in ci-pipeline.yml, but that step is marked critical: false (script/ci-validate.ts:71), so a red suite still lets validate pass and publish release.

Running the hidden suites locally surfaces four failures that have been red since they were written, including one where 77c77931 removed a Google API key from an http-recorder fixture but left the assertion expecting it to be detected — so the secret-detection guard has been asserting on an empty value ever since.

packages/util has a related gap: 71 source files, no test script at all, so it is invisible to turbo whether or not the task key is fixed.

Plugins

None.

Nikcli version

1.292.0 (live-main at 12c9fac).

Steps to reproduce

  1. bun turbo test --dry=json and count entries ending in #test that have a real command — there are 2.
  2. cd packages/llm && bun test — 220 tests run, and 2 fail. Nothing in CI reports this.
  3. cd packages/http-recorder && bun test — 1 fail, in the secret-detection case.

Screenshot and/or share link

n/a — CI configuration, output quoted above.

Operating System

Windows 11 (26200). The task-resolution problem is platform-independent; verified against live-main in a clean worktree.

Terminal

Windows Terminal, PowerShell 5.1 and Git Bash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions