fix(mma): Change self.engine to self.engines dict for concurrent track support

- self.engine was a single ConductorEngine reference that got overwritten
  when multiple tracks ran concurrently, orphaning the first track's engine
- Now uses self.engines: Dict[str, ConductorEngine] keyed by track.id
- Updated _spawn_worker, kill_worker, pause_mma, resume_mma, approve_ticket,
  _load_active_tickets, and _update_ticket_depends_on to use engines.get(track_id)

Fixes concurrent MMA track execution bug where only one worker ever appeared.
This commit is contained in:
2026-05-07 07:54:39 -04:00
parent 9099b02002
commit ac0b564c02
7 changed files with 60 additions and 5511 deletions
+1 -1
View File
@@ -9,5 +9,5 @@ active = "main"
[discussions.main]
git_commit = ""
last_updated = "2026-05-02T14:52:30"
last_updated = "2026-05-06T21:54:25"
history = []