From 4757e0588ce796dbce3c63d8b5749edd6243df3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Sun, 9 Aug 2026 22:58:09 +0200 Subject: [PATCH] Allow the POSIX tar the GeoLite2 fetch test uses The runtime fetch extracts databases in pure Node, but its unit test builds a MaxMind-shaped tar.gz fixture with the system tar, which the dead-code gate flagged as an unlisted binary. It is available in CI and dev, alongside the docker and pg_isready entries already listed. --- knip.jsonc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/knip.jsonc b/knip.jsonc index e6bac4e8f..42ce9d06b 100644 --- a/knip.jsonc +++ b/knip.jsonc @@ -117,7 +117,16 @@ "@openai/codex-security", "postcss", ], - "ignoreBinaries": ["docker", "docker-compose", "pg_isready", "tsx", "cosign"], + "ignoreBinaries": [ + "docker", + "docker-compose", + "pg_isready", + "tsx", + "cosign", + // The runtime GeoLite2 fetch extracts in pure Node, but its test builds a + // MaxMind-shaped tar.gz fixture with the POSIX `tar` (present in CI + dev). + "tar", + ], // Scoped to a single file: an export used only inside its own module is not // a finding. It is also why the default pass cannot answer the question the // production pass answers — this setting is about exports, not reachability.