davsclaus opened a new pull request, #23595: URL: https://github.com/apache/camel/pull/23595
## Summary - Add cold restart (`r` key) on the overview tab to stop and re-launch a selected integration - Captures the full command line via `ProcessHandle.info()` before stopping, then re-launches with the same command and working directory - Shows "Restarting/Restarted" notification in the title bar - Auto-selects the restarted integration when it reappears ## How it works 1. Press `r` on overview tab with an integration selected 2. TUI captures the process command line and working directory 3. Sends SIGTERM (graceful stop) 4. Background thread waits for exit (10s timeout, then SIGKILL) 5. Re-launches with `ProcessBuilder` using the captured command 6. `lastSelectedName` ensures auto-selection on reappear ## Test plan - [ ] Start an integration (`camel run timer-log.yaml`) - [ ] Open TUI (`camel tui`), select integration on overview tab - [ ] Press `r` — verify "Restarting: ..." notification appears - [ ] Verify integration disappears briefly, then reappears - [ ] Verify it auto-selects and runs normally (exchanges counting from 0) - [ ] Verify `r` is not available when infra service is selected - [ ] Verify footer shows `r restart` hint when integration is selected 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
