Skip to content
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

Distribute mamba with workbench #1604

Open
wants to merge 35 commits into
base: feature/plugins
Choose a base branch
from

Conversation

emlys
Copy link
Member

@emlys emlys commented Jul 31, 2024

PR to merge the mamba distribution work into the plugins feature branch.

Description

Fixes #

Checklist

  • Updated HISTORY.rst and link to any relevant issue (if these changes are user-facing)
  • Updated the user's guide (if needed)
  • Tested the Workbench UI (if relevant)

@emlys emlys requested a review from dcdenu4 August 27, 2024 23:41
@emlys emlys self-assigned this Aug 27, 2024
@emlys emlys marked this pull request as ready for review August 28, 2024 00:17
Copy link
Member

@dcdenu4 dcdenu4 left a comment

Choose a reason for hiding this comment

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

Thanks @emlys and sorry for being so slow. I had a few comments and questions but nothing major.

You mentioned commenting out the puppeteer test, I don't see that in here. Was that testing pulled out of this PR or handled elsewhere?

* @returns {string} mamba executable.
*/
export function findMambaExecutable(isDevMode) {
// Binding to the invest server binary:
Copy link
Member

Choose a reason for hiding this comment

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

Copied comment?

Comment on lines 67 to 68
const ext = (process.platform === 'win32') ? '.exe' : '';
const filename = `invest${ext}`;
Copy link
Member

Choose a reason for hiding this comment

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

It looks like these are leftover and not used.

Comment on lines 81 to 83
const investExe = findInvestBinaries(ELECTRON_DEV_MODE);
settingsStore.set('investExe', investExe);
settingsStore.set('mamba', findMambaExecutable(ELECTRON_DEV_MODE));
Copy link
Member

Choose a reason for hiding this comment

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

This is nitpicky but do we want to be consistent with whether we create a variable for a returned binary path or just call it from within the function signature?

@emlys
Copy link
Member Author

emlys commented Oct 8, 2024

@dcdenu4 I fixed those small issues. I had found that the puppeteer test failure was not specific to this branch, but was also happening on feature/plugins, so I directly commented it out on that branch. So that change isn't in this PR.

@emlys emlys requested a review from dcdenu4 October 8, 2024 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants