Files
lucisv/crates
Guoliang ChenandClaude Mythos 5.2 c1c1407498
release / build-and-publish (push) Successful in 5m38s
ci / checks (push) Successful in 54s
ci / corpus (push) Successful in 16s
ci / linux (push) Successful in 4m44s
Release 0.65.10: highlighting no longer waits for the index
TODO §71.3. On OpenTitan the first colours of a newly opened file waited
600-700 ms for the index (building them takes 0.3-6.5 ms), a rescan held
them for most of a second, and the first answer, built from a half-finished
index, was never corrected.

- server/viewport.rs: semanticTokens range, full and full/delta for a buffer
  whose text is current are answered from that buffer alone before the
  request would be held — when no change for it is queued anywhere (held,
  71.7's behind count, set aside ahead of it in its burst) and it is not
  dirty. The handler reads only that document and the remembered token
  answer. Built on 0.65.8's must_hold; the lane's own queue tracking is gone.
- server/index.rs: open_then_widen applies the didOpen, answers the burst's
  colour requests, then widens; reindex_widened answers colour requests
  between its files.
- One workspace/semanticTokens/refresh once the index settles, when an early
  answer differed or was a guess; only for clients with refreshSupport, which
  are also the only ones given early full answers.
- tokens.rs: range classifies only the window's tokens (+1 each side) and
  skips AST items outside it; large.rs's line window is shared.

First colour 2-39 ms (was 600-700); folder-scope late open 611-641 -> 2-32
ms; rescan hold 325-791 -> 70-159 ms. 96.8 % of early tokens already match
the settled answer; the rest resolve through the index.

Dev (two rounds), QA (two rounds: ~10 000 token answers against an exact
oracle, 978 non-colour answers identical to base) and lead review:
docs/features/viewport-highlight/README.md. Not seen in a running editor.

Version bump (Cargo.toml, Cargo.lock, editors/vscode/package.json and both
package-lock.json spots); notes in CHANGELOG.md (## 0.65.10) and
editors/vscode/CHANGELOG.md.

Gates: tools/gates.sh PASS on this tree including cross;
lucisv_server 2052/0.

Co-Authored-By: Claude Mythos 5.2 <[email protected]>
2026-11-19 13:06:52 -08:00
..