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-up from #2158: an incomplete review-thread page is treated as clearance when no unresolved thread is visible #197
Follow-up from oxstack/ox-llm#2158 (oxa/oxa-cli/src/lead_observation.rs, oxa/oxa-cli/src/work_board/landing.rs), at head 7dc161f4a842f1f0614e1019b3468eabb868fd91.
ThreadHold.incomplete is dropped whenever the visible page shows no unresolved thread. thread_hold() sets incomplete for a cut-off connection (totalCount > nodes.len()) or a malformed node, but it can leave unresolved == 0, and both consumers then read that as clearance:
Observation::thread_holds keeps only hold.unresolved > 0, so the PR never reaches review_held: no report row (its retain(|h| h.hold.current > 0 || h.hold.incomplete) arm is never reached for this case) and no lead:stuck:queued-findings:<pr> ask.
reviews_with_threads keeps LatestReviews::Clear unless hold.current > 0, so the landing plan can still return Enqueue, Retry or AlreadyQueued. This is the same observation as the open review thread on landing.rs:137; the report side above is not covered there.
Failure: reviewThreads(first:100) returns 100 resolved threads and a newly added unresolved 101st. ThreadHold is {incomplete: true, unresolved: 0, current: 0}, the exact head keeps landing eligibility and the pass reports nothing, although ThreadHold's own doc says incomplete is "reported, never treated as zero" and review_held says "a cut-off thread page is reported as incomplete, never as zero" (#1549: explicit incomplete-evidence handling).
The tests pin the flag on the decode layer only (thread_pages_report_age_authors_and_incompleteness), and a_thread_held_pr_is_reported_with_its_head_age_and_owner exercises incomplete with unresolved: 2. Carry incomplete through the hold filter and into the per-PR landing observation, with a case at unresolved == 0.
Activity
n0rpan commentedon Nov 21, 2026
Owner rules sweep (2026-11-21): right problem, but build the powerful version.