feat(ui): show a run's jobs, progress and logs in Actions #131
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/130-actions-jobs-logs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
In the Actions box, a run's Overview now lists its jobs (status icon, name, attempt) with the cursor on the first failed job.
j/kpick a job andlopens its log on a new Logs tab (last 256 KiB, opens at the end, follows while the run is going). A running run refreshes its jobs and log every 3 seconds. Hosts that can't serve logs show jobs but no Logs tab.Refs #130
Verification
make checkpasses (format, lint,go test -race, build, windows vet/build). New tests cover jobs and log fetch, the log tail past the cap, job-first selection, the Logs tab, a host without logs, polling (one chain only), and the failed-log pane. Layout was reasoned from the code and screen-text tests, not observed in a live terminal.Review
Three fresh reviewers ran. Fixed: log read kept the head not the tail, CRLF logs rendered blank, a run switch could double the poll chain, a failed refresh replaced good data, log cleaning ran in Update, restating comments. Dismissed: per-job duration (spec AC corrected on the ticket: the API gives none), job-list scroll-into-view and retrying a failed log of a finished run (follow-ups, not regressions),
logsTabconstant (now commented).Docs
docs/design.mdrecords the Logs tab and job list; Logs tab removed from "After v1". architecture.md and ADRs: no change needed.🤖 Generated with Claude Code
https://claude.ai/code/session_01QroTgMufdgxA2Q91gDAoAJ