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
daemon start hides the config error when the daemon fails to boot #542
When the daemon cannot boot because of a config error (for example a worker config with android.maxDevices: 0), simlock daemon start waits 5 seconds and prints only Timed out starting simlock daemon: connect ENOENT .../daemon.sock. The real ConfigError is written only to daemon.log.
What should happen
Before the CLI launches a daemon, it loads the config the daemon would load. If that fails, the command prints the ConfigError message and exits 1 at once, without launching anything. This covers every command that auto-starts the daemon, not only daemon start.
Done when
simlock daemon start with an invalid config.json exits 1 at once with the ConfigError message on stderr, and launches no daemon.
docs/CLI.md no longer says the error line hides the reason.
Tests: a CLI unit test in src/cli/index.test.ts that runs daemon start against a config with android.maxDevices: 0 and asserts the message, exit 1 and zero launches.
Activity
fix(cli): daemon start reports the config error instead of a socket t…