Skip to content
quarry Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 18f04eb269e97bc36bad304dba8ec2fd7d00104d24487b2fffb52aa400ea5b78
Ticket: 38d6b16e880f095e38ca7260fdb3d39db8c5a48c
Landing page is no longer live at load: stream invalidation, not rendered rows
User & Date: dmestas on 2026-08-19 17:02:45
Changes

  1. icomment:
    Fixed with the shape the ticket specified.
    
    **/fleet.rev** — the long-lived stream carries only
    `datastar-patch-signals {fleetRev: N}`. It renders nothing, so it holds
    no filter and cannot be stale; retry resurrection is harmless because a
    resurrected signal stream still says only "revision N". Bumps on every
    notifier tick, plus a 2s poll over a cheap fingerprint (which repos are
    still indexing) so the indexing badge clears without a fleet-wide
    render per poll.
    
    **/fleet.frag** — a one-shot: one patch-elements for #fleet, then
    close. The client's effect (`$fleetRev && @get(..., form)`) and the
    debounced input both go through it with the FORM content type, so every
    refresh — keystroke or background bump — serializes the filter as it is
    at that moment. The && guard keeps the effect's initial run from
    re-fetching the page the server just rendered.
    
    Acceptance verified live: rev stream opens at load; a real write bumped
    fleetRev on an open stream; /fleet.frag?q=quarry returned exactly the
    filtered row and CLOSED (the held connection was the bug's carrier);
    no-script submits render server-side unchanged.
    
    Also banked for #fbe8dbfcc2: an idle viewer now costs one signal stream
    and zero renders, instead of a full fleet render every 2s per open tab.
    
    **Timeline note:** its stream still ships rendered rows, but its only
    parameter is the branch, which changes by NAVIGATION (new page, new
    stream), not by live filtering — no staleness window exists. Converting
    it to this shape is worthwhile uniformity when someone touches it, not
    a defect today.
    
  2. mimetype: "text/x-markdown"
  3. resolution changed to: "Fixed"
  4. status changed to: "Fixed"