-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
bugSomething isn't workingSomething isn't workingcriticalCritical priorityCritical prioritymemory-leakMemory leak issueMemory leak issuemonitoringHealth monitoring and observabilityHealth monitoring and observabilityswiftSwift/SwiftUI codeSwift/SwiftUI codev1.7.0Target: v1.7.0 releaseTarget: v1.7.0 release
Description
Bug Description
In BackendHealthMonitor.swift:193-218, when a health check times out, the spawned Process is not terminated. The zombie process continues running indefinitely, leaking system resources.
Location
CreedFlow/Sources/CreedFlow/Services/Health/BackendHealthMonitor.swift:193-218
Severity
Critical — OS process leak. Over time, accumulates zombie processes.
Steps to Fix
- Store a reference to the Process
- On timeout, call
process.terminate()andprocess.waitUntilExit() - Register with ProcessTracker for cleanup on app exit
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcriticalCritical priorityCritical prioritymemory-leakMemory leak issueMemory leak issuemonitoringHealth monitoring and observabilityHealth monitoring and observabilityswiftSwift/SwiftUI codeSwift/SwiftUI codev1.7.0Target: v1.7.0 releaseTarget: v1.7.0 release