From 39f0663c3d7c2188faf00d217f2dcb73f1767752 Mon Sep 17 00:00:00 2001 From: dezren39 Date: Tue, 24 Nov 2026 13:44:42 -0600 Subject: [PATCH] fix(fleet): register reprioritize in queue subcommand inventory (#14556) The verb is dispatched by the client and documented in the queue reference, but was absent from the registry inventory and QUEUE_VERBS, tripping the published-queue-reference contract test (fleet-smoke). Closes #14556. --- pkgs/fleet/book/reference/queue-lifecycle.md | 5 ++--- pkgs/fleet/crates/fleet-registry/src/lib.rs | 1 + pkgs/fleet/crates/fleet-registry/tests/pmo_operator_docs.rs | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/fleet/book/reference/queue-lifecycle.md b/pkgs/fleet/book/reference/queue-lifecycle.md index a14372a08c..f8ae9c84a0 100644 --- a/pkgs/fleet/book/reference/queue-lifecycle.md +++ b/pkgs/fleet/book/reference/queue-lifecycle.md @@ -485,9 +485,8 @@ usage: repo-queue reprioritize [--reason ] [--wor **Behaviour.** Calls the broker's `POST /reprioritize`; the broker applies the new priority in the Turso queue store and syncs the task's GitHub category to match. Prints the served task row as JSON. Landed in -#14100 (PR #14203). Note: the verb is a client/broker verb — it is not -in the registry's subcommand inventory, so domain help does not list it -(situation at 2026-11-24). +#14100 (PR #14203) and registered in the queue subcommand inventory +(#14556), so domain help lists it. Exit codes: 0 success · 2 usage (including a missing or unresolvable priority). diff --git a/pkgs/fleet/crates/fleet-registry/src/lib.rs b/pkgs/fleet/crates/fleet-registry/src/lib.rs index 31b8834552..aa1f02fb8d 100644 --- a/pkgs/fleet/crates/fleet-registry/src/lib.rs +++ b/pkgs/fleet/crates/fleet-registry/src/lib.rs @@ -290,6 +290,7 @@ pub const DOMAINS: &[Domain] = &[ "revive", "fail", "complete", + "reprioritize", "verify-disposition", "timeline", "history", diff --git a/pkgs/fleet/crates/fleet-registry/tests/pmo_operator_docs.rs b/pkgs/fleet/crates/fleet-registry/tests/pmo_operator_docs.rs index be7e20bc71..99c5df2794 100644 --- a/pkgs/fleet/crates/fleet-registry/tests/pmo_operator_docs.rs +++ b/pkgs/fleet/crates/fleet-registry/tests/pmo_operator_docs.rs @@ -40,6 +40,7 @@ const QUEUE_VERBS: &[&str] = &[ "revive", "fail", "complete", + "reprioritize", "verify-disposition", "timeline", "history",