Skip to content

Conversation

@gribnoysup
Copy link
Collaborator

We saw an unexpected uptick in the issues related to people running x64 build of Compass on arm64 MacOS machines and the performance of Compass running through rosetta is really really bad. As a quick attept to mitigate this, we want to add the warning propmpt on the application start to direct users to download.

Draft because I need CI to build a version to test it, but the queue there is blocked terribly at the moment

@github-actions github-actions bot added the feat label Jul 22, 2025
Comment on lines +838 to +839
void dialog
.showMessageBox({
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the performance issue is bad enough that it deserves a system prompt and not a toast or something similar, but I'm open to the feedback here

Comment on lines 853 to 856
return dl.download(
BrowserWindow.getAllWindows()[0],
`https://compass.mongodb.com/api/v2/download/${this.autoUpdateOptions.version}/compass/${this.autoUpdateOptions.channel}/darwin-arm64`
);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll change this to shell.openExternal I think, it's so slow that the in-app download is misbehaving

@gribnoysup gribnoysup marked this pull request as ready for review July 29, 2025 10:07
@gribnoysup gribnoysup requested a review from a team as a code owner July 29, 2025 10:07
@gribnoysup
Copy link
Collaborator Author

Tests are still running, but I tried it with a build from the branch and it feels like it works pretty well, so I think this is ready for review now.

If you're on macOS with an arm chip, you can try it yourself by downloading the x64 build from this URL, installing and running it.

It will first prompt you to start download, then will automatically open installer when download is finished. One caveat is that we don't notarize PR builds, so don't forget to allow the app in the "Settings > Privacy & Security" (the flow is a bit awkward, you need to open app at least once, agree that it can't be opened, only then it will appear in settings)

@gribnoysup gribnoysup merged commit cb0c80c into main Jul 29, 2025
26 of 28 checks passed
@gribnoysup gribnoysup deleted the add-warning-about-mismatched-arch-on-macos branch July 29, 2025 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants