[tech-debt] deprecated/run_until_complete
| Field |
Value |
| File |
scripts/inbox-watcher.py |
| Line |
338 |
| Severity |
medium |
| Detected |
2026-08-10T11:06:25Z |
| Author |
konan@duskript.dev |
Context
335 | stop = asyncio.Event()
336 | install_signal_handlers(loop, stop)
337 | try:
338 | loop.run_until_complete(run_forever(stop))
339 | finally:
340 | loop.close()
341 | return 0
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
scripts/inbox-watcher.pyContext
Recommendation
Prefer asyncio.run() at the process boundary or await within an existing event loop.
Labels
tech-debt,category:deprecated,severity:medium