Skip to content

JengaDev v1.0.38

Choose a tag to compare

@antonynjagi antonynjagi released this 30 Oct 14:53
· 11 commits to main since this release

Fixed

  • The actual root cause of "starting a service kills the whole daemon" on some Windows 11 machines. The crash log added in v1.0.37 revealed it: a bug in the pidusage npm package (used for the Performance tab's CPU/memory stats). Its Windows wmic-detection probe passed a callback function into spawn()'s arguments position instead of properly listening for the child process's error event. Windows 11 fully removed wmic.exe as of the August 2026 update (KB5120998, 24H2/25H2) - it had been optional and not installed by default since 22H2, but this is when it actually disappeared for most machines, which is why this was Windows-11-only and only on newer installs. That spawn always failed with ENOENT, the error had nowhere to go, and Node re-threw it as an uncaught exception - killing the entire daemon the moment /api/performance ran, which happens right after starting any service.

    Upgraded to pidusage@4.1.0, which fixes this properly upstream with a real file-existence check and a clean PowerShell-based fallback. Verified locally: the Performance endpoint now works correctly and the daemon survives starting services instead of dying.

Also in this release (from v1.0.37)

  • console.log/console.error are now crash-proof, in case anything else ever tries to log when no console is attached.
  • Crash logging to logs\daemon_crash.log / logs\tray_crash.log - this is what let us find the real bug above instead of guessing blind.

Using JengaDev on Linux? This release (and its version number) only covers the Windows installer - Linux doesn't ship as a downloadable release asset. If you already have it installed, just git pull in your jengadev clone to get the latest Linux-side fixes; for a fresh install, see the Linux section of the README (git clone + cd jengadev/linux + ./install.sh).