actions logs on Forgejo: read job logs from the web route when the jobs API is missing #506
Labels
No labels
breaking
bug
documentation
enhancement
epic
good first issue
help wanted
refactoring
resolution/duplicate
resolution/invalid
resolution/wontfix
security
severity/critical
severity/high
severity/low
severity/medium
status/abandoned
status/blocked
status/needs-decision
status/needs-info
status/needs-verification
testing
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sixfold-space/madtea#506
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?
What happens
madt_actionsdocumentsjobs,job_get, andjob_logsas Gitea-only. That matches the live servers on 2026-09-15:GET /repos/{owner}/{repo}/actions/runs/{id}/jobsreturns the run's job (name, statuscompleted, conclusionfailure).GET /repos/sixfold-space/madtea/actions/runs/263/jobsreturns 404.So on Forgejo, madtea tells me a run failed but cannot tell me why. Today I found which gate step and which test case failed only by fetching the web route:
It returned the plain-text job log (HTTP 200) with no auth, for a public repo.
<n>is the web run number (index_in_repo), not the API id./actions/runs/<n>without the job and attempt redirects (307) to/jobs/0/attempt/1.Ask
job_logs(and a way to list a run's jobs) fall back to the web route.index_in_repofor the URL.docs/COMPAT.md.Acceptance