[tech-debt] deprecated/run_until_complete
| Field |
Value |
| File |
conductor/v2/engine.py |
| Line |
3213 |
| Severity |
medium |
| Detected |
2026-08-10T11:06:25Z |
| Author |
konan@duskript.dev |
Context
3210 | except RuntimeError:
3211 | loop = asyncio.new_event_loop()
3212 | asyncio.set_event_loop(loop)
3213 | return loop.run_until_complete(
3214 | self.approve_quarantined_async(quarantine_filename, approver=approver, action=action)
3215 | )
3216 |
Recommendation
Prefer asyncio.run() at the process boundary or await within an existing event loop.
Labels
tech-debt, category:deprecated, severity:medium
[tech-debt] deprecated/run_until_complete
conductor/v2/engine.pyContext
Recommendation
Prefer asyncio.run() at the process boundary or await within an existing event loop.
Labels
tech-debt,category:deprecated,severity:medium