finish: close an epic when its last child closes, with a full close note #823
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#823
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?
When the last child of an epic closes, neither the forge nor madtea closes the epic. It stays open with every box ticked until someone notices. The close-semantics probe in
internal/testforge/closeprobeshows the forge side on Forgejo and Gitea, at the baseline and latest pins.Decision: after a merge, finish checks every issue that depends on an issue the merge closed. An issue labelled
epic(the labeldeps_add epic=applies) that now has no open dependency is closed by madtea, with a close note posted first.The close note documents the whole epic:
If the closed epic is itself a dependency of another epic, the same check runs for that epic, up the chain.
The finish result names each epic it closed. If the close fails, finish reports that and leaves the merge as it is.
Acceptance, against throwaway Forgejo and Gitea servers: