Actions: show a run's jobs, progress and logs #130
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Problem
The Actions box
[3]shows a run's workflow, status, branch and duration, and nothing else. You can't see which steps ran, how far a run got, or why it failed without leaving for the browser. Both adapters already fetch a run's jobs and a job's log (forge.RunLister.ListJobs,forge.LogReader.JobLog); the UI and core never use them.Acceptance criteria
j/k; with one job it opens that job's log directlyforge.LogReader; jobs are hidden withoutforge.RunListerPlan
Jobs(ctx, repo, runID)andJobLog(ctx, repo, jobID)onService(cached jobs; log read with a size cap, tail kept)Overview · Logs, job list with cursor, log viewport reusingdetails.vp, stale-key drop per runID/jobID, poll tick while the run is runningOut of scope
Re-running jobs, log search, per-step breakdown (the Forgejo API exposes jobs, not steps).
🤖 Correcting AC 1: jobs show status icon, name and attempt, not duration.
domain.Jobhas no timing field and the Forgejo job list used here (gitea/actions.gojobstruct) returns none, so a per-job duration needs adapter and API work and is out of scope here. The run's total duration still shows in the Overview. Everything else in the AC list is unchanged.🤖 merged: #131