You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🤖 ci: improve extract_pr_logs to show in-progress job steps
Shows step-by-step status for in-progress and pending jobs, making it much easier to debug CI runs that haven't completed yet.
**Key improvements:**
- Shows detailed step status (COMPLETED, IN_PROGRESS, PENDING) for jobs that are still running
- Highlights which step is currently running
- Provides direct link to view live logs in browser (GitHub API doesn't expose logs for in-progress jobs)
- Automatically detects in-progress jobs when no failures exist
- Simplified UX: removed --wait flag, pending jobs work automatically
- New --all flag to show all jobs regardless of status
- Better filtering logic to prioritize failed jobs, then in-progress jobs
**Example output for in-progress job:**
```
📊 Step-by-step status:
[COMPLETED] Set up job (success)
[COMPLETED] Checkout code (success)
[IN_PROGRESS] Run /./.github/actions/setup-cmux
[PENDING] Build application
🔄 Currently running: Run /./.github/actions/setup-cmux
👁️ View live logs: https://github.com/coder/cmux/actions/runs/.../job/...
```
_Generated with `cmux`_
0 commit comments