@forgejo: make run, task, and job handles explicit and bounded #88
Loading…
Add table
Add a link
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?
The bounded status-to-log path added by #80/#82/#83 works in Runseal v0.17.0, but its handle domains remain easy to mix up and one list path scales with the entire repository history.
Observed while monitoring PerishLab/plumb recovery run 693 on 2026-08-15:
run show 3538accepts the Forgejo API run ID and reports run number 693.job list 693correctly returns job indexes, names, and statuses. This is the right path and should remain the canonical bridge tojob log.task list 693took about 30 seconds because it paged roughly 1904 repository tasks before filtering one run number.job log 690 7229produced HTTP 500. The valid log handle was job index 3, obtainable fromjob list.run show,task list,job list, andjob logtherefore accept three distinct numeric domains whose terse help names do not fully distinguish them: API run ID, run number, executor task ID, and job index.Requested shape:
run show API_RUN_ID->job list RUN_NUMBER->job log RUN_NUMBER JOB_INDEX.job list.task list RUN_NUMBERindependently of total task history. The Forgejo task feed is newest-first; the adaptor can stop after passing the requested run number if that ordering is contractual, or use a more direct endpoint when available.This is not a request for CI orchestration or log search. It is an ergonomics and complexity closure around the existing atomic Forgejo operations.