Commit b8c68d2
fix(gui): avoid asyncio.run() and cpu_bound for async health checks
Move SystemService.health_static() call from the sync inner function
_add_application_version_selection_section() to the outer async
_page_application_describe(), capturing the result via closure.
Also fix gui/_frame.py to await health_static() directly instead of
passing it to run.cpu_bound(), which ran the async function in a
subprocess with no event loop, causing "coroutine was never awaited".
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent c7a00eb commit b8c68d2
2 files changed
Lines changed: 2 additions & 4 deletions
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
108 | 107 | | |
109 | 108 | | |
110 | 109 | | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
305 | | - | |
306 | | - | |
307 | 305 | | |
308 | 306 | | |
309 | 307 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
| 207 | + | |
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| |||
0 commit comments