actions runs: madtea reads only Gitea's run fields, so Forgejo runs show no branch or start time #504
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.
Blocks
#544 Epic: madtea's external contracts are asserted, not verified
sixfold-space/madtea
Reference
sixfold-space/madtea#504
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
On Forgejo, every line of
madt_actions action=runslooks like#265 [failure] ci.yml (, X), where the parentheses hold only a comma and the "no date" dash. The branch and the start time are empty.The line is built from
HeadBranchandStartedAt(internal/format/actions.go:25-28).service.ActionRunreadshead_branch,started_at,completed_at, andname(internal/service/types_actions.go:11-18). Those are Gitea's field names. Forgejo uses different ones, so the fields come back empty. The listing also shows no commit and no event. I could not answer "which commit did this run test, and did two runs overlap?" from it.Live check, 2026-09-15
I queried a live Gitea 1.27.3 and a live Forgejo 15.0.6 (
sixfold-space/madtea):head_branchprettyrefhead_shacommit_shastarted_at,completed_atstarted,stoppedrun_numberindex_in_repopath(smoke.yml@refs/heads/main)workflow_id(ci.yml)display_titletitlestatus: completed+conclusion: failurestatus: failureThe name works on Forgejo only because madtea falls back to
workflow_id. From the field names, on Gitea the name is likely blank (nonameorworkflow_idfield), and a failed run likely shows as[completed]because the conclusion is not read. I could not run madtea against the Gitea repo to confirm:madt_actionshas nodir=, and the plugin hook blocksmadtea actionsin that clone (#485).The vendored specs are older than the live servers (
docs/api-specs/gitea-1.26.1.jsonagainst a live 1.27.3).Ask
id 263 (#210) ci.yml push main 05eb2ac9 failure 21:28-21:31.Acceptance
Related: #466 (which run number to pass).