Skip to content
quarry Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: dfc955396bfe21e4d30df041a8b2d31a4aecbebcc6ea7712d357afbb56d095dc
Ticket: ab4b4f60e49b386e62759e356b01e3592686ae3e
Propose-a-landing is offered for a branch whose work already landed
User & Date: ai-local on 2026-09-04 12:36:42
Changes

  1. Untracked field cmimetype: "text/x-markdown"
  2. comment changed to:
    The check-in page offers `Propose <branch>` at a branch tip, and the Landings page lists branches nobody has proposed. Both ask four questions: is this the tip, is it not the target, is the branch open, does no open landing name it.
    
    They do NOT ask whether the work is already in the target. Landing a branch normally closes it, so the closed test covers the usual case — but a branch landed and left OPEN still gets the offer, and accepting it opens a landing that immediately renders `merges up-to-date`. An empty landing in the queue, and a wasted trip.
    
    The honest test is a merge probe (`MergeProbe(branchTip, targetTip)`, already used to compute a landing`s mergeable state) — but that is a zit subprocess, and this is on a page-view path, so it must stay behind the four cheap questions rather than replace them. `branch.unproposed` runs the same logic for the list and can afford it more easily, since it answers once per page rather than once per check-in.
    
    Rare, and cheap to spot when it happens: the landing says up-to-date on arrival.
    
  3. status changed to: "Open"
  4. subsystem changed to: "web"
  5. title changed to:
    Propose-a-landing is offered for a branch whose work already landed
    
  6. type changed to: "Code_Defect"