Problem
When a runner misbehaves or a workflow fails on a self-hosted runner, users need to inspect runner logs to diagnose the issue. Currently there's no built-in way to view, search, or export runner process logs from the app. Users must find and manually inspect log files on disk.
Proposed Solution
Add log viewing capabilities to both GUI and CLI:
CLI:
mac-runner logs my-runner # tail recent logs
mac-runner logs my-runner --follow # stream logs in real-time
mac-runner logs my-runner --lines 100 # last N lines
GUI:
- "View Logs" option in runner context menu / detail view
- Scrollable log viewer with search/filter
- Copy-to-clipboard and export options
Acceptance Criteria
Problem
When a runner misbehaves or a workflow fails on a self-hosted runner, users need to inspect runner logs to diagnose the issue. Currently there's no built-in way to view, search, or export runner process logs from the app. Users must find and manually inspect log files on disk.
Proposed Solution
Add log viewing capabilities to both GUI and CLI:
CLI:
GUI:
Acceptance Criteria
logssubcommand with tail, follow, and line-count options