Fix Windows build and test suite compatibility#139
Merged
tickernelz merged 1 commit intoJun 28, 2026
Conversation
Owner
|
Merged ✅ Verification on merged
What this brings in:
|
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.
Replace shell-specific build asset copy with a Bun script so
bun run buildworks on Windows.Normalize mocked config paths in
config-resolution.test.tsso config resolution tests pass on Windows.Add retrying temp-dir cleanup for Windows SQLite file-lock release.
Close managed/direct SQLite handles in vector tests before deleting temp dirs.
Skip USearchBackend-specific tests when the native
usearchpackage cannot load in the current runtime.Tested on Windows:
npx bun run buildnpx tsc --noEmitnpx prettier --check package.json scripts/copy-web-assets.mjs tests/config-resolution.test.ts tests/helpers/temp-dir.mjs tests/profile-write.test.ts tests/vector-search-backend-integration.test.ts tests/vector-backends/exact-scan-backend.test.ts tests/vector-backends/migration-fallback.test.ts tests/vector-backends/usearch-backend.test.tsnpx bun testtest result:
150 pass
4 skipped
0 fail