[tech-debt] deprecated/run_until_complete
| Field |
Value |
| File |
scripts/inbox-notifier.py |
| Line |
189 |
| Severity |
medium |
| Detected |
2026-08-10T11:06:25Z |
| Author |
konan@duskript.dev |
Context
186 | stop = asyncio.Event()
187 | install_signal_handlers(loop, stop)
188 | try:
189 | loop.run_until_complete(run_forever(stop))
190 | finally:
191 | loop.close()
192 | 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-notifier.pyContext
Recommendation
Prefer asyncio.run() at the process boundary or await within an existing event loop.
Labels
tech-debt,category:deprecated,severity:medium