• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / cli / 35005412358
67%
develop: 67%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/develop/pr-6628-99b093f0eb70136a6f915ae0810c26994b33e68e
DEFAULT BRANCH: develop
Ran 15 Sep 2026 06:07PM UTC
Jobs 1
Files 79
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 Sep 2026 06:06PM UTC coverage: 66.737%. Remained the same
35005412358

push

github

web-flow
chore(repo): rewrite knip config to lean on plugin defaults (#6581)

## Why

With an empty `knip.json`, knip's plugins already find every test file
through each workspace's vitest config, and its GitHub Actions and
package.json script parsers find most scripts. Nearly everything in the
existing config was either redundant with those defaults or a blanket
`ignore` that hid real findings.

The implicit script discovery was also fragile: knip drops
cross-workspace entries found in workflow `run:` steps as soon as any
root plugin contributes a `**/` pattern, which is what happens when
`vitest` is added as a root devDependency. That produced false "unused
devDependency" reports for `@anthropic-ai/claude-agent-sdk`, its peer
SDKs, and `semantic-release`.

## What

The config becomes `knip.jsonc`, and every remaining exception carries
the reason it exists, so it can be deleted when the reason goes away.

- Declare only entries knip cannot infer:
`apps/cli/src/shared/cli/bin.ts` (bundled by `bun build`), the
`scripts/` directories in `apps/cli` and `packages/config`, the
semantic-release plugin file (knip's plugin is root-only), the platform
smoke tests (string dispatched), and `apps/docs/mdx-components.tsx`.
- Replace the `apps/cli-go/**` file ignore with `ignoreWorkspaces`.
- One top-level `ignoreBinaries` for machine-provided tools, each
annotated with the file that shells out to it.
- Keep `verdaccio` and `prettier` ignored because both are spawned
through a `node_modules/.bin` path knip cannot trace; `ws` stays ignored
with a TODO while the cause is investigated.
- Remove `exclude: ["catalogReferences"]`, the `.repos/**` ignore, every
`src/**/*.test.ts` entry, the `.github/scripts` and `tools/release` root
entries, and the `undici` ignore.

Findings the old ignores were hiding are fixed rather than re-ignored,
one commit each:

- `packages/api` drops its unused `undici` dependency.
- Test helpers in `apps/cli/tests/helpers` lose exports that were only
us... (continued)

4097 of 6139 relevant lines covered (66.74%)

7.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 35005412358.1 15 Sep 2026 06:07PM UTC 79
66.74
GitHub Action Run
Source Files on build 35005412358
  • Tree
  • List 79
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35005412358
  • db222409 on github
  • Prev Build on gh-readonly-queue/develop/pr-6627-d0f5ebe16a9374f4560878b1cf886d54c63e9aa7 (#34994864119)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc