conductor(plan): Mark task 'Resolve Event loop is closed' as complete

This commit is contained in:
2026-03-02 23:23:51 -05:00
parent 82aa288fc5
commit 0140c5fd52

View File

@@ -20,7 +20,7 @@
- [ ] WHAT: Ensure the `app._loop.stop()` cleanup safely cancels pending background tasks.
- [ ] HOW: Use `asyncio.all_tasks(loop)` and `task.cancel()` before stopping the loop in the fixture teardown.
- [ ] SAFETY: Thread-safety; only cancel tasks belonging to the app's loop.
- [ ] Task: Resolve `Event loop is closed` in Core Test Suite
- [x] Task: Resolve `Event loop is closed` in Core Test Suite [82aa288]
- [ ] WHERE: `tests/test_spawn_interception.py`, `tests/test_gui_streaming.py`.
- [ ] WHAT: Update blocking calls to use `ThreadPoolExecutor` or `asyncio.run_coroutine_threadsafe(..., loop)`.
- [ ] HOW: Pass the active loop from `app_instance` to the functions triggering the events.