Two new filters: failing, and the subset nothing stands behind #166
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Parent
Part of #137.
What to build
The owner gets a worklist. One filter lists Series failing for over twelve hours; a second narrows it to those whose Latest Chapter came from a Reader and that no Poll has confirmed — numbers nothing stands behind. A Series failing for one hour is in neither list: one bad fetch is not a fault to correct.
Acceptance criteria
failingrequires the joined row, a Latest Chapter that exists, and an age past the existing owner window — reuse that constant, add no new figure.failingis disjoint from never-once-succeeded: a Series with no chapter ever captured is in that filter and never in this one.failingdeliberately carries no finished guard, unlike the four predicates guarded in #159 — those are computed from ticking clocks and lie about a retired row; this one is computed from stored outcomes, which simply stop arriving. A comment keeps the contrast.unverifiedis the Reader-attributed subset of the same test.unverifiedpair — the join computes it free.failing, the cascade, and the single-statement orphan delete.Blocked by
Landed on spec-137 at
3d74609. Two new admin filters: failing (>12h standing failure with a Latest Chapter, no finished guard) and unverified (Reader-attributed subset). Store predicate + projection (admin.go), filter vocabulary in admin_series.go, no migration/stored column. Tests: TestAdminFailingAndUnverifiedFilters, TestAdminFailureProjection, TestOverviewFailingAndUnverifiedFigures — all green. Review: spec clean, one stale-comment fix (a560fc7); duplicated-clause smell declined (brief-specified predicate form).