fix: fix: DELETE /issues/{n}/labels/{id} uses label name instead of numeric ID (silent no-op) (#41) #46
No reviewers
Labels
No labels
action
backlog
blocked
in-progress
priority
tech-debt
underspecified
vision
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: johba/disinto#46
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-41"
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?
Fixes #41
Changes
AI Review
Summary
The bug: Forgejo's
DELETE /issues/{n}/labels/{id}endpoint requires a numeric label ID, not a label name string. Passing"in-progress"was a silent no-op.The fix: calls
_ilc_in_progress_id()— the same helper already used throughoutlib/issue-lifecycle.sh(lines 114, 147, 201) — to resolve the numeric ID before each of the three DELETE curl calls indev-poll.sh.All three changed call sites are correct. No edge cases missed.
Verdict
APPROVE — Correctly replaces hardcoded label name string with numeric ID lookup, matching the established pattern in issue-lifecycle.sh
Reviewed at
76a4d42| AGENTS.mdAI Review: APPROVE — Correctly replaces hardcoded label name string with numeric ID lookup, matching the established pattern in issue-lifecycle.sh