investigate: called-workflow job logs return HTTP 500 via API (Forgejo 17 / gitea-1.22) #5
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
serious-devs/ai-factory#5
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?
Part of #1 (finding 4). Probably a Forgejo bug rather than ai-factory code — this issue is a triage.
Observed
On
factory.serious-devs.io(Forgejo17.0.0+gitea-1.22.0), for a run that delegates through a cross-repo reusable workflow (uses: serious-devs/ai-factory/.forgejo/workflows/agent.yml@main), the run reports two jobs:agent— the called reusable workflow's job →GET /api/v1/repos/{o}/{r}/actions/jobs/{id}/logsreturns HTTP 500 with body{"message":"","url":"…/api/swagger"}(empty message);agent-1— the thin wrapper's job → HTTP 200 with the full log (which includes the nested job's output).Seen on runs 892 (jobs 3497 → 500 / 3498 → 200), 895, 898, 901.
Triage steps
agentjob: does the log display? (UI fails too → server-side log storage bug for called jobs; UI works → API-only bug.)Acceptance criteria
agentjobsLimitationsentry ("Theagentjob's logs are not retrievable via API") updated to link it