Skip to content

Accept both wordings of kapi's missing Windows build message - #11

Merged
asgeirf merged 1 commit into
mainfrom
windows-unlisted-both-wordings
Nov 23, 2026
Merged

asgeirf merged 1 commit into
mainfrom
windows-unlisted-both-wordings

Conversation

@asgeirf

@asgeirf asgeirf commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

This pull request changes a test's assertion. It widens what the assertion accepts by one message, and it still fails on everything it failed on before.

The Windows jobs run test/plugins/windows-unlisted.sh, which asserts that a default bowrain install fails because the registry lists no Windows build. kapi up to 1.4.0-rc5 words that refusal as no version of plugin "bowrain" ... for platform windows/<arch>. From neokapi/neokapi#3834 on, kapi names the deciding reason: plugin "bowrain" has no build for windows/<arch>. Without this change the Windows jobs would fail on the first kapi release that carries the new wording, for a reason that has nothing to do with the registry.

The script accepts either wording. It still fails when the install succeeds (a Windows build is listed again) and when the install fails for any other reason.

Checked with a stub kapi: both wordings pass; "needs kapi 1.4.2 or newer", a network error and a successful install each fail. shellcheck is clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_01GtGobCdyR3d9yLXAfX9jsr

The Windows jobs assert that a default bowrain install fails because no
Windows build is listed. kapi up to 1.4.0-rc5 words that refusal as
`no version of plugin "bowrain" ... for platform windows/<arch>`; later
versions name the deciding reason, `plugin "bowrain" has no build for
windows/<arch>` (neokapi/neokapi#3834). The assertion accepts either and
still fails on any other failure and on a successful install.

Checked with a stub kapi: both wordings pass; "needs a newer kapi", a
network error and a successful install each fail.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GtGobCdyR3d9yLXAfX9jsr
@asgeirf
asgeirf merged commit b824d99 into main Nov 23, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant