From 99a68d3ef59e2fafb92c8e589c340ff69d0bd9af Mon Sep 17 00:00:00 2001 From: openhands Date: Fri, 20 Mar 2026 14:09:44 +0000 Subject: [PATCH] fix: DELETE /issues/{id}/labels/backlog uses label name not numeric ID (#214) Co-Authored-By: Claude Opus 4.6 (1M context) --- dev/phase-handler.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/phase-handler.sh b/dev/phase-handler.sh index 4935c83..45f5f6e 100644 --- a/dev/phase-handler.sh +++ b/dev/phase-handler.sh @@ -570,7 +570,7 @@ A maintainer should split this issue or add more detail to the spec." -d "{\"labels\":[${UNDERSPECIFIED_LABEL_ID}]}" >/dev/null 2>&1 || true curl -sf -X DELETE \ -H "Authorization: token ${CODEBERG_TOKEN}" \ - "${API}/issues/${ISSUE}/labels/backlog" >/dev/null 2>&1 || true + "${API}/issues/${ISSUE}/labels/${BACKLOG_LABEL_ID}" >/dev/null 2>&1 || true notify "refused #${ISSUE}: too large — ${REASON}" ;; already_done)