GeezerVison is showing github.com — fleet queue list: --status dep_blocked can never match — dep-blocked pool is unenumerable · Issue #13068 · developing-today/code
fleet queue list: --status dep_blocked can never match — dep-blocked pool is unenumerable #13068DescriptionProblem
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). Activitydeveloping-today commented on Nov 23, 2026 dezren39 commented on Nov 23, 2026 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. dezren39 commented on Nov 24, 2026 Triage verdict for #13068 (fleet queue list --status dep_blocked returns nothing).
Verified from the issue's cited source (verb_list in pkgs/fleet/crates/fleet-queue/src/turso_queue/admin.rs): dep-blocked tasks are stored as status='blocked' with a blocked_deps record, and /list filters on literal status, so the dep_blocked filter can never match. The root cause in the issue holds.
Size: a small bounded fix. Either the list filter maps dep_blocked to blocked rows with a dep record, or the split is documented. It also needs a broker /list regression test. Left open for an implementation slice; no PR from this triage. dezren39 commented on Nov 24, 2026 Re-verify (oc-code-06, queue task 23122, 2026-11-24): still open, no PR linked, and the cited dep-blocked storage (status='blocked' + blocked_deps) and literal status filter in verb_list are as described. Size: small, bounded, needs a broker /list regression test. Not started by this triage; implementation slice remains to be scheduled. dezren39 commented on Nov 25, 2026 Claimed by lane 10, 2026-11-25 20:10 UTC
Generated by Claude Code dezren39 commented on Nov 25, 2026 Fixed by #15219 (merged as a931490). list --status dep_blocked now selects status = 'blocked' AND blocked_deps IS NOT NULL, the predicate health uses for its dep_blocked count; --status blocked is unchanged. Regression test list_dep_blocked_matches_health_count_13068 goes through the broker /list route and passed in the fleet Rust workspace run on GitHub-hosted runners (all workspace tests green). The live broker picks this up on its next deploy from main.
Generated by Claude Code dezren39 commented on Nov 28, 2026 Re-verification (lane 2252-B, queue-truth, 2026-11-28T05:0xZ): this defect still reproduces on the deployed fleet binary 0.1.0-dev+g74eee89 (2026-11-24 build, predates this issue's 2026-11-25 close).
fleet queue health (exit 0, via turso): dep_blocked counts — code=1, code-pilot=1, repo-health-code-pilot=209.
fleet queue list --queue <q> --status dep_blocked returns (no tasks) for all three queues (code, code-pilot, repo-health-code-pilot), while --status parked / --status blocked enumerate correctly in the same queues.
- In the small queues the counts reconcile without any dep_blocked-status task (code: parked 17413 + blocked 15341/16121 + done 8 = total 11; code-pilot: parked 2 + blocked 1 + done 13 = total 16), so health's dep_blocked appears to count dependency-blocked tasks whose stored status is
blocked (e.g. code task 15341 "dep-block on Fleet park + cap audit (2026-11-12): parks that can never lapse, bound-work parks on verified-stale bindings, escalation-as-park, and BATCH_CLAIM_MAX for Drew's call #9179"; code-pilot task 16483 reason_class=dependency on Program: pool & effort system — effort tiers per pool, OpenChamber category pools, granular stats store (design mill) #9399) — a pool no list filter can enumerate on this binary.
Wake: deploy a fleet binary built after the #13068 fix and re-run the three list calls above; the dep-blocked pool should enumerate. Recorded in the work-loop lane log under key 2252-B (2026-11-27 22:52 CST bravo run).
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|