fix: keep merged and resolved threads out of the draft queue (#33) #34

Merged
david merged 1 commits from fix/draft-queue-hygiene into main 2026-11-05 04:38:03 +00:00

1 Commits

Author SHA1 Message Date
david 4658bdfc83 fix: keep merged and resolved threads out of the draft queue (#33)
build / image (push) Successful in 36s
build / test (push) Successful in 3m21s
The draft predicate only looked at the auto_thread marker, so a cluster
merged into another (resolved, zero observations left) stayed on the list
forever and the queue could never drain: 6 of 13 candidates on this index
were merged or resolved.

IsDraft now owns the predicate for both surfaces: auto-threaded, not
resolved, and still holding at least one observation.
2026-11-04 20:37:53 -08:00