-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[BUG] Fix issue to add support for x64 architecture on Windows #5645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Add Windows x64 Architecture Support to JavaScript Client Bindings This PR updates the ChromaDB JavaScript client bindings to support the x64 architecture on Windows platforms, in addition to the existing ARM64 support. The changes ensure that the correct native binding is loaded for Windows x64 systems, reducing errors when running ChromaDB on those machines. Implementation adjusts architecture detection logic and error messaging in both classic and new JavaScript clients, maintaining consistency between code paths. Key Changes• Added conditional loading of Affected Areas• This summary was automatically generated by @propel-code-bot |
Reviewer ChecklistPlease leverage this checklist to ensure your code review is thorough before approving Testing, Bugs, Errors, Logs, Documentation
System Compatibility
Quality
|
Did not realize Windows x64 isn't supported. Why is that? I managed to get it working on my Windows x64 corporate laptop and it was working just fine. Are there certain features that don't work? |
I'll shepherd this. If we can make it build through CI we'll publish x64 builds. |
No problem. As an FYI, when downloading this library on x64 Windows PC, it comes with Let me know if anything else can be done with this PR to enable this feature. |
Would you be willing to give the output for "fails to start"? Not a windows user, but can collect information and try to debug from there. |
Looking at it, this might require releasing a package with that name, not just referencing it here. Going to ask around today. |
There are likely to be packaging issues for this arch (x64 is weird IIRC). At the moment it's not something we can support directly (platform sprawl is a thing). |
Hi @rescrv, here is the error that we originally got:
When I was trying to troubleshoot, I saw that we in fact had an x64 Windows bindings that was installed: We were able to alter |
Refactor error message for unsupported Windows architecture.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's try it.
Synced the branches, PR check failed due to |
Description of changes
Summarize the changes made by this PR.
Test plan
How are these changes tested?
pytest
for python,yarn test
for js,cargo test
for rustMigration plan
Are there any migrations, or any forwards/backwards compatibility changes needed in order to make sure this change deploys reliably?
Observability plan
What is the plan to instrument and monitor this change?
Documentation Changes
Are all docstrings for user-facing APIs updated if required? Do we need to make documentation changes in the docs section?