TODO §71.1. On OpenTitan hw (4 058 files) every save cost ~160 ms of whole-index work, twice (the save and VS Code's watcher echo), and watcher events for files the index could not hold started whole rescans. - vlog_semantic: resolution records every table lookup per reading file, misses included (workspace/dependents.rs, references.rs, replace.rs); an update re-resolves the edited file and the readers of keys whose values changed in what resolution reads. An unchanged record merges nothing. When the readers hold more than an eighth of all references, old results are removed in one pass over the postings. - lucisv_server: watcher events are classified per file (state/watched.rs); the include graph keeps every include line as written and re-resolves the lines a named path could satisfy, in one pass per event; an event naming more paths than half the index takes the single rescan; an open buffer the index does not hold joins on its first save; completion tables are rebuilt only for the names a file declares. Every save still republishes every open buffer. The line-length lint follows the formatting style's width. - Fixed on the way: removing an included header left other files' include edges pointing at it. Typical saves: comment or watcher echo <0.3 ms, local signal 4 ms, package member 12 ms; warm startup +40..120 ms for the readers table. QA failed the first cut on four stale answers found with an independent fresh-server oracle; all four are fixed and are differential tests. Dev (three rounds), QA (two rounds) and lead review: docs/features/localized-reindex/README.md. TODO.md files lane 71.7 from what the QA rounds and an investigation found in earlier releases too. Version bump (Cargo.toml, Cargo.lock, editors/vscode/package.json and both package-lock.json spots); notes in CHANGELOG.md (## 0.65.6) and editors/vscode/CHANGELOG.md. Gates: tools/gates.sh PASS on this tree; vlog_semantic 435/0, lucisv_server 2011/0, lucisv_mcp 384/0. Co-Authored-By: Claude Mythos 5.2 <[email protected]>
47 lines
1.7 KiB
TOML
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.6"
|
|
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
|