Repository navigation
fix: stop false link-definition probes forcing full-document renders - #10688
Conversation
720987f to
fe99ebd
Compare
fe99ebd to
41b330d
Compare
|
Rebased onto main. The hold-set now uses the same cached Streamdown split The repaired-document scope change is in #10924 so the two can be measured apart. Incremental replies that stay on the blocks path are unchanged in this PR. |
…the scope lex when the tail has none Resolves conflicts with the widened link probes on main. The per-line hold-set missed multi-line labels main now admits, so the hold uses the block-local documentProse test instead, and update() skips the whole-reply scope lex when the live tail holds no ]: since nothing committed can be a definition.
|
Merged main (conflicts with the widened link probes from #9645 / #11375) and pushed 5fd79e1 on top of this branch:
Measured per streamed 24-char chunk (cache update + render key + block split, median of 3), reply with
The new list-nested and unfenced tests fail with main's probe restored. The frontend suite passes (2 timing tests flaked under full-suite load and pass in isolation). A randomized stream over definitions in lists, quotes, fences, HTML, tables and multi-line labels found 0 of 4315 document-scope prefixes with anything committed. |
… non-sticky Resolve conflicts toward main: the link probe rewrites on main (unslothai#9645, unslothai#11375) replace unslothai#10688's hunks, and the repaired-document scope does not depend on them. A reference that remend closes early now renders as one document, but only a source-level pair enters the sticky full-document path, so a stream that abandons the reference returns to blocks.
|
Review record for #10688, carried over from the mirror it was reviewed on: danielhanchen/unsloth-staging-review#414. Findings are quoted as posted and attributed to the account that posted them. The reactions shown are the triage recorded on the mirror; none were re-applied here. Commits are named as the mirror's, with this PR's equivalent where one was found. Round 1: reviewed mirror
|
… on a tail definition
Summary
documentProsealready uses, so a list-nestedlist[str]:no longer stalls the tail onto the sticky full-document path.- [foo]: /url,> [foo]: /url, nested lists) still hold.Fixes #10529
Test plan
studio/frontendstreaming-render-schedule and link-definition-oracle teststests/streaming-latex-retro-edit.test.tstests/streaming-open-fence-repair.test.tstests/escaped-inline-math.test.ts