fix: support Forgejo returning AdditionalTasks but not Task #1303
Labels
No labels
FreeBSD
Kind/Breaking
Kind/Bug
Kind/Chore
Kind/DependencyUpdate
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
Windows
linux-powerpc64le
linux-riscv64
linux-s390x
run-end-to-end-tests
run-forgejo-tests
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo/runner!1303
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "mfenniak/forgejo-runner:fix-Forgejo-AdditionalTasks-only"
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?
Possible bug that could cause #1302: Forgejo may not be trusted to only return
AdditionalTaskswhenTaskis present; so don't drop those jobs if they arrive at the runner.@ -177,0 +177,4 @@if resp.Msg.Task != nil {taskSlice = append(taskSlice, resp.Msg.Task)}taskSlice = append(taskSlice, resp.Msg.GetAdditionalTasks()...)Explaining that might be a good idea so that nobody optimizes it away. Can happen in a future PR.
👍
e21169e4b300f89f15c100f89f15c1a08def260d