You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Follow-ups from PR #2048 (bot-thread retry): event-path scan, thread-unreadable notice, owner vs dev-lead replies #2077
Make thread-unreadable visible. A thread with more than 100 comments classifies as thread-unreadable. It is skipped forever: it is never marked exhausted, so it never gets a notice. Treat it like exhaustion and post a one-time human notice. (cubic P2.)
(Low) Concurrent scans can post a duplicate exhaustion notice. It is harmless, since the hidden marker dedups later scans; a claim-before-post would remove it.
scripts/lib/bot-thread-retry.sh is missing, and so is tests/dev-lead/unit/test_bot_thread_retry.bats.
Item 1: review-one-pr.sh has only the bot-comment scan (scan_pr_for_undispositioned_bot_comments) inside mc_gate_rc == 1. There is no thread scan to move.
Re-run dev-lead on this issue. The plan at that point:
Item 1: call the thread-retry scan outside the mc_gate_rc == 1 branch in review-one-pr.sh, and also call it from dev-lead-resume.sh.
Item 2: treat thread-unreadable like exhaustion and post a one-time human notice, deduped by the hidden marker.
Item 3: a reply counts as a dev-lead reply only when it carries the automation marker. An owner's reply under the shared don-petry login no longer marks the thread replied.
Item 4 (low): claim before posting, so concurrent scans don't post a duplicate exhaustion notice.
Tests: extend tests/dev-lead/unit/test_bot_thread_retry.bats for each item, failing first.
Activity
don-petry commentedon Oct 9, 2026
Dev-Lead Implementation Plan — blocked on #2048
Issue: #2077 — Follow-ups from PR #2048 (bot-thread retry)
Scope
None yet. Every item in this issue changes code that only exists on the unmerged PR #2048.
Why this is blocked
CONFLICTING/DIRTYagainstmainand labelleddev-lead:hands-off. The last dev-lead rebase attempt was aborted for a human decision:main(dev-lead fix-reviews reads reviewThreads(first:50) with no pagination — open threads past the first 50 are invisible, so the pass does nothing #2056) has its ownort_fetch_open_threads, which overlapsscripts/lib/open-review-threads.shandscripts/dev-lead-fix-reviews.sh.main(42dc38d), none of the targets exist:scripts/lib/bot-thread-retry.shis missing, and so istests/dev-lead/unit/test_bot_thread_retry.bats.review-one-pr.shhas only the bot-comment scan (scan_pr_for_undispositioned_bot_comments) insidemc_gate_rc == 1. There is no thread scan to move.thread-unreadable/exhausted/repliedclassifications and the exhaustion notice are all feat: implement issue #2046 — dev-lead: unprocessed bot review threads are never retried — review-thread counterpart of #2017 #2048 code.main, so the PR would carry ~880 unrelated commits.Proposed path
main(dev-lead fix-reviews reads reviewThreads(first:50) with no pagination — open threads past the first 50 are invisible, so the pass does nothing #2056) and merges it.mc_gate_rc == 1branch inreview-one-pr.sh, and also call it fromdev-lead-resume.sh.thread-unreadablelike exhaustion and post a one-time human notice, deduped by the hidden marker.don-petrylogin no longer marks the threadreplied.tests/dev-lead/unit/test_bot_thread_retry.batsfor each item, failing first.No files were changed in this run.