You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug(cli): just run fails on a fresh macOS checkout because the terminal entry execs an unbuilt maka-desktop-shell #7434
On macOS, following the README Quick start on a fresh checkout fails:
maka terminal-shell: /Users/.../target/debug/maka-desktop-shell: No such file or directory (os error 2)
error: recipe `run` failed on line 32 with exit code 1
just run builds maka-cli and maka-python-runtime, but since 9978093 (#7194) the macOS terminal entry execs the sibling maka-desktop-shell (products/maka/cli/src/args.rs:323-335; products/maka/desktop-shell/src/cli.rs:38). scripts/rust/run-cli.mjs passes desktop: argv.includes('desktop'), so that shell is only built for just run desktop or a previous just build. A fresh clone therefore cannot open the terminal workbench.
Expected: just run builds everything the interactive terminal entry needs, or the setup docs require just build first.
How to reproduce
Fresh clone of apache/maka at 9c051de on macOS. Then cd to the repo directory.
just setup
just run from Terminal.app.
Observe the missing maka-desktop-shell error.
just run --help succeeds because help never reaches the macOS exec path.
Before the fix: target/debug/maka and target/debug/maka-python-worker exist; target/debug/maka-desktop-shell does not.
Workaround confirmed on the same checkout:
just build
just run
This builds target/debug/maka-desktop-shell (and stages Maka.app), after which the terminal entry starts and the Host comes up. I also launched it through a PTY with an isolated Root and observed the Host candidate start without errors.
Possible fixes:
Build the shell on macOS for interactive run entries (no subcommand / terminal-shell), while keeping --help/--version cheap; or
make just run depend on just build; or
at minimum document just build before just run in README.md and CONTRIBUTING.md.
Happy to send a PR for the run-cli.mjs change if maintainers prefer that direction.
I opened #7555 for this: the development launcher now builds maka-desktop-shell for interactive macOS entries (no subcommand or erminal-shell), while --help/--version and non-terminal subcommands stay on the existing fast path. The launcher tests cover the argument cases; I could not run just run on macOS here.
Activity
garvit-arora commentedon Dec 3, 2026
I opened #7555 for this: the development launcher now builds maka-desktop-shell for interactive macOS entries (no subcommand or erminal-shell), while --help/--version and non-terminal subcommands stay on the existing fast path. The launcher tests cover the argument cases; I could not run just run on macOS here.