labels are add-only: remove_labels must not exist, and a mixed call must not half-apply #891
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#891
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?
madt_issues action=editwithadd_labelsandremove_labelsfails with "refusing this forge write ... the forge does not show every removed commit as reachable from the default branch". Removing a label is a destructive act, and madtea does not remove labels: labels are add-only, the same rule that ADR 0057 sets for repo topics. Three things are wrong today:remove_labelsonmadt_issuesandmadt_prsedit,madt_labels assign_mode=remove, a labelsetthat drops a label, and the CLI equivalents. Under ADR 0029 a destructive operation is absent from the surface, not refused at the forge.Acceptance criteria
remove_labelsandassign_mode=removeare gone, and a labelsetthat would drop a label refuses and names each dropped label.add_labelsandassign_mode=addkeep working.issues edit remove_labels is refused as a destructive writeto labels are add-only: remove_labels must not exist, and a mixed call must not half-apply