Skip to content

Fix bulk review queue getting stuck on merged pages - #94

Merged
ow merged 1 commit into
mainfrom
fix/review-queue-drain
Nov 12, 2026
Merged

ow merged 1 commit into
mainfrom
fix/review-queue-drain

Conversation

@ow

@ow ow commented Nov 12, 2026

Copy link
Copy Markdown
Owner

Problem

The oldest ready item is a historical topic path that redirects to a merged canonical topic. The canonical topic is already reviewed, but the old path remains unreviewed. Next repeatedly selects the alias, and the ready count never drops.

Read-only production verification: 48 stored ready records, 47 current public pages. The carriage-house guidelines alias redirects to the canonical page marked reviewed on November 7.

Fix

  • Use the current public review inventory for both the ready count and next-page selection.
  • Skip retired, merged, renamed, hidden, and non-reviewable paths without deleting or changing historical reviews.
  • Paginate pending records and surface inventory/query failures instead of reporting an empty queue.

Verification

  • Four focused regression tests: alias loop/draining, eligible pages, pagination past 1,000 stale rows, inventory failure.
  • Full web tests: 1,276 passed; 31 skipped across 6 skipped suites.
  • Typecheck passed.
  • Production build passed.
  • No production record mutations or deployment. No visual markup changes.

@ow
ow marked this pull request as ready for review November 12, 2026 04:12
@ow
ow merged commit 01f5785 into main Nov 12, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant