You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Knip misidentifies Bun shell arguments as binaries #100330
Knip 6.14.0 parses each static fragment of an interpolated Bun shell template as a standalone command. In benchmarking PR #98144, the command $`${ghExecutable} api user --jq .login` therefore makes Knip treat api as an undeclared executable. This causes the Knip workflow to fail even though api is an argument passed to the gh CLI.
This is the same parsing limitation reported in webpro-nl/knip#1867. It blocks the benchmarking PR from using Bun shell naturally unless command arguments are incorrectly added to ignoreBinaries.
Solution
Update Knip to 6.34.0 in PR #100329. Knip fixed interpolated Bun shell parsing in version 6.25.0 by reconstructing the entire tagged template before extracting binaries, and the current release includes that fix. The update also recognizes gh as a system executable, so the benchmarking PR only needs to ignore binaries that Knip cannot identify itself.
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.73-3 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
Activity
melvin-bot commentedon Sep 8, 2026
@chrispader
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.73-3 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
melvin-bot commentedon Sep 11, 2026
@chrispader Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
chrispader commentedon Sep 14, 2026
@roryabraham since no C+ was involved, i think we can close this!