Repository navigation
Fix unit tests that fail on Windows CI - #523
Merged
jtklein merged 1 commit intoNov 24, 2026
Merged
Conversation
The test bridge's host followed the machine running the tests, so on Windows the store loaded the .exe binary list while the store tests expect raxml-ng and raxmlHPC. Pin the default test host off Windows; host.test.ts still covers the Windows list. runProcess goes through cmd.exe on Windows, which strips the quotes from the stand-in node -e script, so node exited 1 with a syntax error. Pass the printed line through the environment and keep the script free of quotes and spaces. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
Two test-only fixes for the
windows-latestunit test job (seen failing on the dependabot PRs, e.g. #522).Store tests: the test bridge's host followed the CI machine, so on Windows the store loaded the
.exebinary list.// src/test/setup.ts const host: HostInfo = { - windows: process.platform === 'win32', + windows: false, // host.test.ts still covers the Windows listrunProcesstest: on Windows the args go throughcmd.exe, which strips the quotes in the stand-innode -escript → syntax error, exit 1.Evidence
Before:
windows-latestunit tests: 20 failed | 464 passedRun.computeds,alignmentStore,Part,pageStoreGaps,RunSimpleOptions,substitutionOptions:binaries.filter(name === 'raxmlHPC')[0]is undefinedprocessHelpers: expectedExited with code 255/isUserFix, gotExited with code 1After: macOS locally: 485 passed. This PR's Windows CI run is the check for Windows.
Merge Danger
Door: two-way
Blast Radius: tests
Test files only. The store tests no longer run against the Windows binary list on Windows hosts;
host.test.tscovers that list explicitly.🤖 Generated with Claude Code