Release 0.65.7: 0.65.6, built for every platform
ci / checks (push) Successful in 54s
ci / corpus (push) Successful in 15s
release / build-and-publish (push) Successful in 5m19s

0.65.6 was tagged and never published: the release build failed to compile
lucisv-server for Windows. lucisv_core::walk::dir_id is a Copy (dev, ino)
pair on unix and an owned PathBuf elsewhere, and 71.1's
Workspace::holds_another_spelling_of moved it inside a closure
(lucisv_server/src/state/incremental.rs). Compared by reference now.

tools/gates.sh gains a `cross` step: cargo check of the three shipped
binaries for x86_64-pc-windows-gnu and x86_64-unknown-linux-musl with the
rustup toolchain release.sh --cross uses (skipped with a note when it is
absent). It fails on the unfixed tree with the release run's own error and
passes on this one. tools/RELEASING.md lists it.

CHANGELOG.md's 0.65.7 section carries 0.65.6's notes in full under a short
account of what happened; the v0.65.6 tag is left where it is.

Version bump (Cargo.toml, Cargo.lock, editors/vscode/package.json and both
package-lock.json spots).

Gates: tools/gates.sh PASS on this tree including cross; a full local
tools/release.sh --cross and tools/audit_artifacts.sh dist pass (seven .vsix
packages, eighteen binaries).

Co-Authored-By: Claude Mythos 5.2 <[email protected]>
This commit is contained in:
Guoliang ChenandClaude Mythos 5.2 committed 2026-11-19 10:52:35 -08:00
1 parent 58d3db3e3c
commit dbb2349267
11 files changed
+138 -17

No files matched your search

+73
View File
@@ -4,6 +4,79 @@ All notable changes to lucisv are recorded here. Versions follow
[semantic versioning](https://semver.org/); until 1.0 the CLI's exit codes
(see `README.md`) are the only frozen contract.
## 0.65.7 — 2026-11-19
### 0.65.6, built for every platform
0.65.6 was tagged but never published: it passed every gate on the Mac and
then failed to compile for Windows, so the release stopped before anything
was built for distribution. This release is 0.65.6 with that fixed; its
notes are below, unchanged.
- **The Windows build compiles again.** One comparison in the language
server's new "is this file already held under another spelling" check moved
a directory identity that is a small copyable pair on macOS and Linux but an
owned path on Windows (`lucisv_server/src/state/incremental.rs`).
- **The gates now compile for the other platforms.** `tools/gates.sh` has a
new `cross` step: `cargo check` of the three shipped binaries for Windows
and Linux, with the same toolchain the release build uses. Until now
platform-conditional code was first compiled by the release build itself,
after the gates.
### Saving a file no longer re-indexes the workspace
(`docs/features/localized-reindex`; TODO §71.1. Measured on OpenTitan's `hw`
tree, 4 058 files, with the server driven the way VS Code drives it.)
- **What was happening.** Every save cost about 160 ms of whole-index work
whatever was edited — 117 ms of it re-resolving all 470 000 cross-file
references — and VS Code triggered it twice, once for the save and once for
its own file watcher. Watcher events for files the index could not hold (a
generated file in a gitignored directory, a file outside the filelist or
folder scope, a held file reported through a symlinked root or in another
letter case) started a whole rescan with the progress bar, 270–750 ms.
- **Now the index does only what the edit can reach.**
| edit, then save | before | now |
|---|---:|---:|
| a comment, or the watcher's echo of any save | ~160 ms | under 0.3 ms |
| a local signal in `uart_tx` or `prim_flop` | ~170 ms | 4 ms |
| a member added to `uart_reg_pkg` | ~167 ms | 12 ms |
| a line above a module 125 files instantiate | ~163 ms | 47 ms |
| a member added to a package 677 files import | ~162 ms | 92 ms |
| a watcher event for a file outside the scope | up to 746 ms, with the bar | 3.5 ms |
The index records which names each file looked up — including the ones it
did not find — and re-resolves only the readers of names whose meaning
changed. A save whose index record is unchanged merges nothing.
- **Still wide, on purpose.** Adding or deleting a file; a burst of more
files in one watcher event than half the index holds (a branch switch),
which takes the one rescan it always did; an edit above a declaration many
files use. Every save still re-checks every open file's diagnostics, so a
`lucisv.toml` or waiver edit takes effect at the next save as before — with
200 files open that is most of a save (53 ms, against ~205 ms before).
- **The price.** Every whole rescan costs a few per cent more for the table
that makes the rest cheap: warm OpenTitan startup is 40–120 ms slower,
depending on machine load.
- **How it is known to be right.** After any sequence of edits, everything
the server answers must equal what a freshly started server answers for the
same files. QA built that oracle independently and it failed the first cut
on four stale answers (include links to headers outside the scope, lint
configuration, a file-age check macOS defeats, excluded open buffers); all
four are fixed and are now tests. The final build: 312 hand-written
comparisons and twelve random 300–500-step runs over the corpus and
OpenTitan with no divergence it caused.
- **Also.** The language server's `line-length` lint now follows the chosen
formatting style's width (80 under `ansi` and `nxp`, 120 under
`microsoft`), closing the limit noted in 0.65.5. Removing an included
header no longer leaves other files' include links pointing at it.
- **Known, and next.** Found by this round's QA and present in earlier
releases too: an edit made while a whole rescan is running can be applied
out of order, leaving the server's copy of the buffer wrong until the file
is reopened; a watcher event that names only a directory leaves stale
state; an excluded file stays indexed after it is closed. These are the
next round's work.
## 0.65.6 — 2026-11-19
### Saving a file no longer re-indexes the workspace
Generated
+9 -9
View File
@@ -97,7 +97,7 @@ dependencies = [
[[package]]
name = "lucisv"
version = "0.65.6"
version = "0.65.7"
dependencies = [
"lucisv_core",
"rayon",
@@ -108,11 +108,11 @@ dependencies = [
[[package]]
name = "lucisv_core"
version = "0.65.6"
version = "0.65.7"
[[package]]
name = "lucisv_mcp"
version = "0.65.6"
version = "0.65.7"
dependencies = [
"lucisv_core",
"serde",
@@ -126,7 +126,7 @@ dependencies = [
[[package]]
name = "lucisv_server"
version = "0.65.6"
version = "0.65.7"
dependencies = [
"lsp-server",
"lsp-types",
@@ -262,14 +262,14 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
[[package]]
name = "vlog_formatter"
version = "0.65.6"
version = "0.65.7"
dependencies = [
"vlog_parser",
]
[[package]]
name = "vlog_linter"
version = "0.65.6"
version = "0.65.7"
dependencies = [
"lucisv_core",
"vlog_formatter",
@@ -279,11 +279,11 @@ dependencies = [
[[package]]
name = "vlog_parser"
version = "0.65.6"
version = "0.65.7"
[[package]]
name = "vlog_refactor"
version = "0.65.6"
version = "0.65.7"
dependencies = [
"vlog_formatter",
"vlog_parser",
@@ -292,7 +292,7 @@ dependencies = [
[[package]]
name = "vlog_semantic"
version = "0.65.6"
version = "0.65.7"
dependencies = [
"vlog_parser",
]
+1 -1
View File
@@ -13,7 +13,7 @@ members = [
]
[workspace.package]
version = "0.65.6"
version = "0.65.7"
authors = ["Guoliang Chen"]
edition = "2021"
license = "MIT"
+9
View File
@@ -7426,3 +7426,12 @@ indexing, collide with each other and with §70's test files, and wait for
71.3 (viewport highlighting) passed QA with a gap in the default folder
scope (colours wait out a widen, ~630 ms); it is rebased after 71.7 and
closes that in its fix round. Then 71.2.
- 0.65.6 never published (lead, 2026-11-19): the release build failed to
compile `lucisv-server` for Windows — `dir_id` is a `Copy` pair on unix and
a `PathBuf` elsewhere, and 71.1's new code moved it in a closure
(`state/incremental.rs`). The gate caught nothing because nothing before
the release build compiles for another platform. Fixed by the lead (one
line) and shipped as 0.65.7 with 0.65.6's notes; `tools/gates.sh` gains a
`cross` step so the next one is caught before the tag. Seven of the eight
§71 items therefore have releases 0.65.2–0.65.5 and 0.65.7.
@@ -158,7 +158,8 @@ impl Workspace {
fn holds_another_spelling_of(&self, path: &Path) -> bool {
let Some(id) = dir_id(path) else { return false };
let named = |held: &&PathBuf| held.file_name() == path.file_name();
self.index.files().iter().filter(named).any(|held| dir_id(held) == Some(id))
// By reference: the id is `Copy` on unix and an owned path elsewhere.
self.index.files().iter().filter(named).any(|held| dir_id(held).as_ref() == Some(&id))
}
/// The half of [`Workspace::update_one_file`] for a held file that is
+8
View File
@@ -5,6 +5,14 @@ for you. The extension and its bundled language server share one version
number; the full engineering notes live in the
[project changelog](https://git.luci.ooo/lucio/lucisv/src/branch/master/CHANGELOG.md).
## 0.65.7 — 2026-11-19
- **0.65.6, now for every platform.** 0.65.6 was never published — it did not
compile for Windows. This release carries its changes: saving no longer
re-indexes the workspace, no surprise "indexing" bar for generated or
out-of-scope files, and the line-length warning follows your formatting
style's width.
## 0.65.6 — 2026-11-19
- **Saving no longer re-indexes the workspace.** On a large project a save
+7 -1
View File
@@ -30,7 +30,7 @@ Install **lucisv — Verilog/SystemVerilog** from the VS Code Extensions view,
then open a Verilog or SystemVerilog file. There is no separate server or CLI
setup.
The current release is **0.65.6**. Its platform packages include
The current release is **0.65.7**. Its platform packages include
`lucisv-server`, the `lucisv` command-line tool and `lucisv-mcp` (see
[Agents (MCP)](#agents-mcp)):
@@ -440,6 +440,12 @@ default):
}
```
## Release 0.65.7 highlights
Version 0.65.7 is 0.65.6 built for every platform (0.65.6 was never published:
it did not compile for Windows): saving is cheap on large projects, because
the language server updates only what an edit can reach.
## Release 0.65.6 highlights
Version 0.65.6 makes saving cheap on large projects: the language server
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "lucisv",
"version": "0.65.6",
"version": "0.65.7",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "lucisv",
"version": "0.65.6",
"version": "0.65.7",
"license": "MIT",
"dependencies": {
"vscode-languageclient": "9.0.1"
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "lucisv",
"displayName": "lucisv — Verilog/SystemVerilog",
"description": "Fast Verilog/SystemVerilog formatting, linting, navigation, refactoring, semantic highlighting and RTL design intelligence.",
"version": "0.65.6",
"version": "0.65.7",
"publisher": "guoliangchen",
"author": "Guoliang Chen",
"license": "MIT",
+5 -1
View File
@@ -119,7 +119,11 @@ for each workspace member in turn, the doc-tests (`cargo test --workspace
--doc`), the corpus gate (`scripts/corpus_gate.sh` over
`~/.cache/lucisv-corpus`, as CI runs it; skipped with a note when the corpus
is absent — fetch it once with `tools/corpus_fetch.sh ~/.cache/lucisv-corpus`)
and the extension's `node --test editors/vscode/*_test.js`. It prints one line
the extension's `node --test editors/vscode/*_test.js`, and `cross` — a
`cargo check` of the three binaries for Windows and Linux with the rustup
toolchain the release build uses (skipped with a note when it is absent;
added after 0.65.6 passed every other gate and then failed to compile for
Windows). It prints one line
per step start and end, then a table (step, result, seconds, passed/failed,
log); it exits non-zero if any step failed. A step the guard killed is
retried once and reported as `KILLED → retried → pass|fail` — a kill that
+21 -1
View File
@@ -12,6 +12,12 @@
# over ~/.cache/lucisv-corpus as CI does (skipped, with a
# note, when that directory is absent; -c overrides it)
# node node --test editors/vscode/*_test.js
# cross cargo check of the three shipped binaries for Windows and
# Linux with the rustup toolchain release.sh --cross uses
# (skipped, with a note, when that toolchain is absent).
# Platform-conditional code is compiled nowhere else before
# the release build: 0.65.6 passed every other gate and then
# failed to compile for Windows.
#
# Each step's output goes to its own log under the log dir (default
# target/gates/<timestamp>/, -o overrides); the terminal gets one line per
@@ -41,6 +47,9 @@ repo_root=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
cd "$repo_root" || exit 2
log_dir=
corpus=$HOME/.cache/lucisv-corpus
# The toolchain release.sh --cross builds with; the Homebrew rust on PATH has
# no std for other targets.
cross_toolchain=$HOME/.rustup/toolchains/stable-aarch64-apple-darwin
only=
skip=
@@ -84,7 +93,7 @@ all_steps() {
local c
echo fmt clippy build
for c in $(crates); do echo "suite:$c"; done
echo docs corpus node
echo docs corpus node cross
}
# Does step $1 match the comma list $2? "suites" matches every suite:<crate>.
@@ -119,6 +128,7 @@ limits() {
suite:*) echo "300 4" ;;
docs) echo "300 2" ;;
corpus) echo "900 6" ;;
cross) echo "900 6" ;;
esac
}
@@ -133,6 +143,9 @@ set_command() {
corpus) cmd=(bash -c 'cargo build --release -p lucisv && scripts/corpus_gate.sh "$1"'
corpus-gate "$corpus") ;;
node) cmd=(node --test editors/vscode/*_test.js) ;;
cross) cmd=(env RUSTC="$cross_toolchain/bin/rustc" "$cross_toolchain/bin/cargo" check
--target x86_64-pc-windows-gnu --target x86_64-unknown-linux-musl
-p lucisv -p lucisv_server -p lucisv_mcp) ;;
esac
}
@@ -201,6 +214,13 @@ for step in $steps; do
echo "skipped: no corpus at $corpus (tools/corpus_fetch.sh \"$corpus\")" >"$log"
echo " skip $step (no corpus at $corpus)"
rows="$rows$step|SKIPPED (no corpus)|0|-|$log
"
continue
fi
if [ "$step" = cross ] && [ ! -x "$cross_toolchain/bin/cargo" ]; then
echo "skipped: no rustup toolchain at $cross_toolchain (tools/RELEASING.md)" >"$log"
echo " skip $step (no rustup toolchain)"
rows="$rows$step|SKIPPED (no toolchain)|0|-|$log
"
continue
fi