forgejo-actions-logs bridge 404s against Forgejo 15: port to the UI log-cursor route + add a ward verb #476
Labels
No labels
burndown-2026-06
coherence-core
consult
headless
interactive
P0
P1
P2
P3
P4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
coilyco-flight-deck/agentic-os#476
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
agentic_os.forgejo_actions_logsbridge (and.ward/forgejo-actions-logs.sh) resolves ids fine but its final fetch hitsGET /api/v1/repos/{o}/{r}/actions/runs/{run_id}/jobs/{job_id}/attempt/{n}/logs, which 404s on the current deployment (Forgejo 15.0.2) even for fresh, successful runs - verified against runs 1055/1063 (aos) and 1823 (ward).Working route found during the 2026-07-11 stability session:
POST {owner}/{repo}/actions/runs/{run_index}/jobs/{job_index}/attempt/{attempt}with body{"logCursors":[{"step":N,"cursor":null,"expanded":true}]}returnslogs.stepsLog[].lines[]. The/attempt/{n}segment is REQUIRED - without it the handler resolves attempt 0 and errors "task ... attempt 0: resource does not exist".Also: there is no ward.yaml verb for the bridge, so an agent needing CI logs has to hand-roll HTTP. Add
ward exec forgejo-actions-logs -- <owner> <repo> <run_index> <job_index> [attempt]alongside the port.