Skip to content
quarry Artifact [0ebe5cc133]
Login

Artifact [0ebe5cc133]

Artifact 0ebe5cc133753b2b76c4c9997cf5fe8ee1dbc43796344185f2e214dbbdc13c06:

Ticket change [0ebe5cc133] - New ticket [38d6b16e88] Landing page is no longer live at load: stream invalidation, not rendered rows. by dmestas on 2026-08-18 23:34:26.
D 2026-08-18T23:34:26.476
J cmimetype text/x-markdown
J comment The\sfleet\slisting\sused\sto\sopen\sits\sSSE\sstream\sat\spage\sload\sand\srepaint\sas\sstores\singested.\sIt\sno\slonger\sdoes:\sthe\sstream\sis\sopened\sby\sthe\sfilter\sinput\son\sfirst\skeystroke\s(check-in\sdcbfa94c).\sLive\sfiltering\sworks;\slive-at-load\swas\straded\saway\sto\sget\sit,\sand\sthat\strade\sshould\snot\sstand.\n\n##\sWhy\sit\shad\sto\sgo\n\nA\sstream\scarries\sthe\sfilter\sit\swas\sopened\swith.\sOpened\sat\sload\sthat\sfilter\sis\sempty,\sso\sa\sfew\sseconds\safter\sa\sreader\stypes\sinto\sthe\sbox\sthe\sbackground\sstream\srepaints\sthe\slisting\sUNFILTERED\s—\sthe\srows\sthey\sasked\sfor\sreplaced\sby\sthe\srows\sthey\sdid\snot.\n\nCancelling\sthe\sstale\sstream\sdoes\snot\sfix\sit.\sDatastar\sRETRIES\sa\sconnection\sit\saborted\s(retry\s"auto",\sretryMaxCount\s10),\sso\sthe\sunfiltered\sstream\sreconnects\son\sits\sown\sand\sclobbers\sthe\sview\sagain.\sObserved\sdirectly:\scorrect\s4\srows\simmediately\safter\styping,\sback\sto\s23\sabout\sfive\sseconds\slater.\n\nrequestCancellation\sis\sper\selement\sand\skeyed\sby\splugin\sname,\sso\stwo\sattributes\son\sone\selement\sDO\scancel\seach\sother\s—\sthe\sretry\sis\swhat\sdefeats\sit,\snot\sthe\scancellation.\n\n##\sThe\sactual\sfix\n\nStop\sstreaming\srendered\srows.\sThe\sstream\sshould\scarry\san\sINVALIDATION\ssignal\s—\s"the\sfleet\schanged,\srevision\sN"\s—\sand\sthe\sclient\sshould\sre-request\sthe\slisting\susing\sits\scurrent\sform\sstate:\n\n-\sServer:\s/fleet.sse\semits\sdatastar-patch-signals\swith\sa\smonotonically\sincreasing\srevision\swhenever\sany\sstore\singests.\sIt\srenders\snothing\sand\stherefore\scarries\sno\sfilter,\sso\sit\scannot\sbe\sstale\sby\sconstruction.\n-\sClient:\sa\sdebounced\ssignal-patch\shandler\son\sthe\sfilter\sinput\sre-issues\sthe\slisting\srequest\swith\sthe\sform\scontent\stype.\sAny\schange\s—\sa\skeystroke\sor\sa\sserver\srevision\sbump\s—\stakes\sthe\ssame\spath\sand\salways\ssends\sthe\scurrent\sfilter.\n-\s/fleet.frag\sis\sa\sone-shot:\sone\sdatastar-patch-elements\sfor\s#fleet,\sthen\sclose.\sNo\slong-lived\sconnection\sholding\sstale\sparameters.\n\nThat\salso\sremoves\sthe\slast\slong-lived\sstream\sfrom\sthe\slanding\spage,\swhich\smatters\sfor\sthe\sscale\sticket\s(fbe8dbfcc2):\sone\sopen\sSSE\sconnection\sper\sidle\sviewer\sis\sa\sper-reader\scost,\sand\sa\srevision\ssignal\sis\scheap\senough\sto\sbroadcast.\n\n##\sAcceptance\n\n-\sLoad\sthe\spage,\sdo\snot\stouch\sit,\scause\san\singest:\sthe\slisting\supdates.\n-\sFilter\sto\sa\ssubset,\swait\spast\sany\spoll\sinterval:\sit\sstays\sfiltered.\n-\sFilter,\sthen\scause\san\singest:\sthe\slisting\supdates\sAND\sstays\sfiltered.\n-\sScripting\soff:\sthe\sform\sstill\ssubmits\sand\sthe\sserver\srenders\sthe\ssame\spage.\n\n##\sRelated\n\nThe\stimeline\spage\sstill\sopens\sits\sstream\sat\sload\sand\sis\sunaffected\s—\sit\shas\sno\sfilter\sto\sgo\sstale\sagainst.\sWhatever\sshape\sthis\stakes\sshould\sbe\sapplied\sthere\stoo,\sso\sboth\slive\ssurfaces\swork\sthe\ssame\sway\srather\sthan\sby\stwo\sdifferent\smechanisms.
J severity Important
J status Open
J title Landing\spage\sis\sno\slonger\slive\sat\sload:\sstream\sinvalidation,\snot\srendered\srows
J type Code_Defect
K 38d6b16e880f095e38ca7260fdb3d39db8c5a48c
U dmestas
Z 77efbad5f399a3e484dc907c7d10eb26