.
D 2026-08-20T20:49:24.677
J cmimetype text/x-markdown
J comment fossil\srebuilds\sthe\stcl\srepository\sin\sabout\sa\sminute,\sin-process.\sOur\sfull\sreplay\sof\sthe\ssame\sdata\stakes\shours:\szit\sframes\sstreams\severy\scensus\sbyte\sthrough\sa\ssubprocess,\sartifacts\sare\sJSON-wrapped\sand\spersisted\sthrough\sJetStream,\sthe\sconsumer\spulls\s256\smessages\sat\sa\stime,\sand\seach\sbatch\spays\sFTS,\sticket-doc,\scontributor\sand\sfilechange\srefresh\swork.\n\nThe\sevent\sbus\sexists\sfor\sINCREMENTAL\smulti-node\ssync\s(0001\ssection\s4).\sA\slocal\srebuild\sis\spure\sderivation\sand\sdoes\snot\sneed\sthe\sbus:\sReindex\scan\sread\s`zit\sframes`\sdirectly\sinto\sFold\s—\sparse,\sbatch,\sfold,\sthen\sset\sthe\spublisher\scursor\sto\sthe\sstream\send\sso\sincremental\ssync\sresumes\snormally.\sSame\sartifacts,\ssame\sidempotent\sfolds,\sno\sserialization/persistence\sround-trip,\sno\s1GiB/1hr\slive-tail\sloss\swindow.\n\nTarget\sinvariant:\sa\sfull\sreindex\sof\sthe\slargest\sstore\scompletes\sin\sminutes,\snot\shours.\sMeasured\sfloor\sto\sbeat:\sfossil\srebuild\sof\stcl\sabout\s60s;\szit\sls\s--no-cache\s(full\smanifest\smaterialization)\s23s.\n\nRelated:\sthe\sper-batch\srefreshTicketDoc/refreshContributor\swork\sis\squadratic-ish\sover\sa\sbulk\sreplay\sand\scould\sbe\sdeferred\sto\sa\ssingle\spass\sat\sround\send\sduring\srebuild.\n
J status Open
J title Full\sreindex\stakes\shours;\sa\sdirect\sframes-to-fold\spath\sshould\smake\sit\sminutes
K f16b31e0b602dd8ff89fa1c619f086c2e0c02e6b
U tmp-ops
Z 510306f6675ac485e36a23a60728097f