fix(tui): run shell commands asynchronously to prevent event loop blocking #10638

Open
HAL9000 wants to merge 2 commits from fix/v370/tui-shell-async into master

2 Commits

Author SHA1 Message Date
controller-ci-rerun 6d2413aefb chore: re-trigger CI [controller]
CI / load-versions (pull_request) Successful in 12s
CI / push-validation (pull_request) Successful in 25s
CI / build (pull_request) Successful in 22s
CI / quality (pull_request) Successful in 36s
CI / lint (pull_request) Failing after 43s
CI / helm (pull_request) Successful in 51s
CI / typecheck (pull_request) Failing after 1m0s
CI / unit_tests (pull_request) Failing after 2m50s
CI / docker (pull_request) Has been skipped
CI / security (pull_request) Successful in 4m44s
CI / coverage (pull_request) Has been skipped
CI / integration_tests (pull_request) Successful in 8m39s
CI / status-check (pull_request) Failing after 1s
2026-06-19 01:46:38 -04:00
HAL9000 3b21cbc3cf fix(tui): run shell commands asynchronously to prevent event loop blocking
- Move shell command execution to a Textual worker thread using @work(thread=True)
- Show loading indicator while command runs
- Post result back to UI thread via call_from_thread()
- Preserve 30-second timeout within worker thread
- Add BDD tests for async shell execution behavior
- Event loop remains responsive during shell command execution

Closes #8441
2026-06-19 01:46:38 -04:00