Skip to content

fleet queue list: --status dep_blocked can never match — dep-blocked pool is unenumerable #13068

Open

Description

@dezren39

Problem

fleet queue list --status dep_blocked returns (no tasks) at every limit, even when fleet queue health reports a large dep_blocked pool for the same queue.

Observed live 2026-11-23 ~07:44Z (laptop fleet, production broker):

  • health, queue repo-health-code-pilot: blocked 402, dep_blocked 177.
  • fleet queue list --queue repo-health-code-pilot --status dep_blocked --limit 3|10|100|500 → (no tasks) every time.
  • Same window, --status claimed --limit 500, --status blocked --limit 500, --status parked --limit 500, --status done all return rows normally.

Root cause (source, current main)

Dep-blocked tasks are not stored with a distinct status: they are status='blocked' rows carrying a structured blocked_deps record (#8276). Health folds them into a separate dep_blocked count (apply_dep_blocked in pkgs/fleet/crates/fleet-queue/src/turso_queue/admin.rs), but the broker /list handler (verb_list, same file) filters literally on status = ? — no row ever carries status='dep_blocked', so the filter can never match. The dep_blocked pool is therefore unenumerable from either seat (this already blocked a broker dep_blocked sweep: fleet queue dep-recheck --limit 200 checked 0 and list returned no rows while health counted ~176).

Acceptance

  • fleet queue list --status dep_blocked --limit 500 returns the dep-blocked rows health counts (blocked rows with a dep record), for any queue.
  • A regression test covers listing dep_blocked rows through the broker /list path.
  • --status blocked keeps its current meaning or the split is documented where the verb's help/status list is defined.

Found by: Lane LF (archer) during the #9001 production done-check, 2026-11-23.
Related: #9001 (same /list surface; its own acceptance is separately verified), #8276 (dep-block design).

Activity

  1. developing-today commented on Nov 23, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    xaltha picking this up: fixing verb_list in pkgs/fleet/crates/fleet-queue/src/turso_queue/admin.rs so --status dep_blocked matches the rows health counts (status='blocked' + a blocked_deps record), with a regression test through the broker /list path. Will also audit the neighbouring status spellings in the same filter code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions