Skip to content

v1.159.2

Choose a tag to compare

@deivid11 deivid11 released this 13 Jul 16:41

What's New

Fixed

  • Self-update restart race under PM2/systemd/docker - when the server runs under a process supervisor, a successful self-update now simply exits and lets the supervisor restart into the freshly-installed build, instead of spawning its own detached relauncher that raced the supervisor for the port. Previously the loser of that race died with EADDRINUSE and — in containers whose PID 1 doesn't reap children — could linger as a zombie that tripped the next boot's port guard, causing a multi-day crash loop. Standalone installs keep the detached relauncher; set TIDE_COMMANDER_SUPERVISED=1 to opt other auto-restarting supervisors into the exit-and-be-restarted behavior. (Foreground runs are not treated as supervised.)

Technical Details

  • self-update-service.ts adds isSupervisedRestart() (checks pm_id / PM2_HOME / TIDE_COMMANDER_SUPERVISED=1); schedulePostUpdateRestart exits after the flush grace when supervised instead of spawning the detached tide-commander start --restart relauncher. Pairs with the v1.159.1 zombie-pid startup-guard fix.
  • Android versionName/versionCode derive from package.json; APK built after the version bump and verified as versionName 1.159.2 / versionCode 1159002. 1008 tests / 85 files passing.