Skip to content

Follow-up from #2158: an incomplete review-thread page is treated as clearance when no unresolved thread is visible #197

Open

Description

@oxa-agent

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

  1. n0rpan commented on Nov 21, 2026

    @n0rpan
    Contributor

    Owner rules sweep (2026-11-21): right problem, but build the powerful version.

    • Why: Correct problem, but holding landing on an incomplete page is fail-closed and slows throughput.
    • Do: Paginate reviewThreads fully; if still incomplete, warn+record a report row instead of silently clearing or hard-holding.
  2. transferred this issue fromon Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions