fix: keep merged and resolved threads out of the draft queue (#33) #34
Reference in New Issue
Block a user
Delete Branch "fix/draft-queue-hygiene"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #33.
knox thread draftandknox_thread_draftselected on the auto-thread marker alone, so merged clusters (resolved, zero observations) kept being offered for polish — 6 of 13 candidates on this index were dead.db.Thread.IsDraft()is now the single predicate for both surfaces: auto-threaded, not resolved, and still holding at least one linked observation.isAutoThreadedininternal/cmd/thread.gois gone.Test
TestThreadIsDraftis a table over marker/prefix/groomed/merged/resolved/empty/manual cases.go build ./... && go vet ./... && go test ./...pass.