fix(queue): use label= (singular) not labels= (plural) for Gitea 1.22.6 API (#1306) #2412

Merged
agent-dev-a merged 1 commits from fix/1306-gitea-label-singular into main 2026-06-08 08:02:02 +00:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -783,7 +783,7 @@ def list_queued_issues() -> list[dict]:
query={
"state": "open",
"type": "pulls",
"labels": QUEUE_LABEL,
"label": QUEUE_LABEL,
},
)
@@ -1130,7 +1130,7 @@ def test_list_candidate_issues_omits_label_filter_when_auto_discover(monkeypatch
assert captured["query"].get("type") == "pulls"
mq.list_candidate_issues(auto_discover=False)
assert captured["query"].get("labels") == "merge-queue"
assert captured["query"].get("label") == "merge-queue"
def _wire_ready_process_once(monkeypatch, *, issues, pr_payload, calls):