-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
bugSomething isn't workingSomething isn't workingcriticalCritical priorityCritical priorityrace-conditionRace condition / concurrency bugRace condition / concurrency bugswiftSwift/SwiftUI codeSwift/SwiftUI codev1.7.0Target: v1.7.0 releaseTarget: v1.7.0 release
Description
Bug Description
In LMStudioBackend.swift:165, a URLSession completion callback accesses actor-isolated state without proper isolation. This is a Swift concurrency violation that can cause undefined behavior.
Location
CreedFlow/Sources/CreedFlow/Services/CLI/LMStudioBackend.swift:165
Severity
Critical — Undefined behavior from actor-isolation violation.
Steps to Fix
- Use
async/awaitURLSession API instead of completion handler - Or dispatch back to the actor's isolation context within the callback
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcriticalCritical priorityCritical priorityrace-conditionRace condition / concurrency bugRace condition / concurrency bugswiftSwift/SwiftUI codeSwift/SwiftUI codev1.7.0Target: v1.7.0 releaseTarget: v1.7.0 release