Repository navigation
Accept both wordings of kapi's missing Windows build message - #11
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 defaultbowraininstall fails because the registry lists no Windows build. kapi up to 1.4.0-rc5 words that refusal asno 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.shellcheckis clean.🤖 Generated with Claude Code
https://claude.ai/code/session_01GtGobCdyR3d9yLXAfX9jsr