Skip to content

fix(service): harden daemon lifecycle management#8

Merged
duguwanglong merged 2 commits intomainfrom
fix/service-lifecycle-management
Mar 31, 2026
Merged

fix(service): harden daemon lifecycle management#8
duguwanglong merged 2 commits intomainfrom
fix/service-lifecycle-management

Conversation

@xiami762
Copy link
Copy Markdown
Contributor

@xiami762 xiami762 commented Mar 31, 2026

Summary

  • strengthen backend and WebUI daemon lifecycle tracking with runtime metadata for pid, pgid, port, command, and start time
  • stop Unix/macOS services by process group before falling back to PID and port cleanup, and fail fast when runtime records do not match occupied ports

xiami762 added 2 commits March 31, 2026 09:39
Track runtime metadata for backend and WebUI processes, stop Unix services by process group before PID fallbacks, and surface port/runtime mismatches instead of silently reusing stale state. Also document the new lifecycle behavior, refresh the release version metadata, include the updated community QR asset, and restore BOM+CRLF encoding for the Windows installer script.

Made-with: Cursor
Clean up the blank line flagged by Ruff in the service manager so the CLI lint check passes in CI.

Made-with: Cursor
@xiami762 xiami762 requested a review from duguwanglong March 31, 2026 01:47
@duguwanglong duguwanglong merged commit 1706991 into main Mar 31, 2026
2 checks passed
@duguwanglong duguwanglong deleted the fix/service-lifecycle-management branch March 31, 2026 01:49
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