Files
lucisv/Cargo.toml
T
Guoliang ChenandClaude Mythos 5.2 934d472af2
ci / checks (push) Successful in 54s
ci / corpus (push) Successful in 15s
release / build-and-publish (push) Successful in 5m28s
Release 0.65.8: Find References next to a name, edits kept in order, a startup that could take minutes
TODO §71.7. Three server bugs, all older than this series.

- A caret just past an identifier's last letter resolved the NEXT character
  (spans are end-exclusive): references, definition, hover and highlight came
  back empty where VS Code considers the caret on the word — the owner's
  'not found, then works after clicking back'. lucisv_server/src/caret.rs;
  nine position-to-symbol requests use it through Server::symbol_offset; the
  References view opens a row with the caret at the name's start.
- process_batch held requests during a scan but applied notifications at
  once, so a didChange could overtake an older one still queued; with
  incremental sync that corrupted the server's copy of the buffer until the
  file was reopened. Rule now: no notification overtakes an older unapplied
  notification (Server::must_hold, the 'behind' count for the burst a scan
  is nested in). Cancels wait whenever anything is held; responses never.
- answer_what_is_waiting acted on a didOpen it had queued but not applied,
  re-holding the same batch at every file of the startup scan (~300-400 s on
  OpenTitan). Scan state now changes only where a message is applied; a held
  batch is handed back at most once per applied didOpen.

An attempt to also drop excluded buffers from the index on close cost 190 ms
per open of an outside file and was reverted after QA measured it.

Dev (two rounds), QA (two rounds, own ordering driver: 9 118 bursts, no
wrong text) and lead review: docs/features/scan-ordering/README.md. TODO.md
files what stays open.

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

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

Co-Authored-By: Claude Mythos 5.2 <[email protected]>
2026-11-19 11:47:14 -08:00

47 lines
1.7 KiB
TOML

[workspace]
resolver = "2"
members = [
"crates/vlog_parser",
"crates/vlog_semantic",
"crates/vlog_refactor",
"crates/vlog_formatter",
"crates/vlog_linter",
"crates/lucisv_core",
"crates/lucisv",
"crates/lucisv_server",
"crates/lucisv_mcp",
]
[workspace.package]
version = "0.65.8"
authors = ["Guoliang Chen"]
edition = "2021"
license = "MIT"
# `rayon` is sanctioned by TODO.md §3 (parallel file processing) and used by
# `lucisv` only. Pinned exactly, because a work-stealing scheduler is exactly
# the kind of dependency whose minor releases can change thread behavior;
# justification in docs/features/parallel-files/README.md.
[workspace.dependencies]
rayon = "=1.12.0"
# The LSP stack, sanctioned by TODO.md §6 ("`tower-lsp` or `lsp-server`"), used
# by `lucisv_server` only. `lsp-server` is rust-analyzer's synchronous transport
# (no async runtime); `lsp-types` is the protocol's data model, which is not
# something to hand-roll. All pinned exactly for the same reason `rayon` is: a
# wire protocol's Rust bindings change shape between minor releases. Transitive
# count, build scripts and the versions considered are audited in
# docs/features/lucisv-server/README.md.
lsp-server = "=0.10.0"
# `proposed` is what carries LSP 3.18's `textDocument/inlineCompletion` — the
# params, the client/server capability. Nothing else in the feature is used,
# and the *response* types are hand-rolled in `inline.rs` because 0.97's are
# an older draft than the client implements
# (docs/features/inline-templates/README.md).
lsp-types = { version = "=0.97.0", features = ["proposed"] }
serde = "=1.0.229"
serde_json = "=1.0.140"
[profile.release]
lto = true