TODO §70, closed. - lucisv_mcp/src/project/files.rs: Stamp's racy rule (re-check by content a stamp taken too close to a timestamp it trusts) covered the mtime alone. On Linux, where ctime moves in 1 ms ticks, a same-size rewrite that restored the old mtime inside the tick of the server's read matched in every field and index-based answers came from the old text indefinitely. The rule now covers every trusted timestamp (mtime, and ctime where there is one), the window is 3 s, and a wall clock stepped back since the read distrusts the stamp. The decision is a pure compare(Seen, Clocks) with deterministic unit tests. - Test-only: two stdin helpers tolerate BrokenPipe on the write to a child that exits before reading (lucisv cli.rs, lucisv_mcp qa_m8.rs); the didOpen latency test's budget is six parses of the same buffer, not 200 ms (lucisv_server e2e.rs); qa_m3's server is spawned before its checker thread, which removes a hang on a pipe inherited across threads on macOS. - .gitea/workflows/ci.yml: a linux job on the luhpe-linux-x64 runner — clippy and cargo test --workspace on Linux x86-64. - docs/features/mcp-transport describes the new rule and what it cannot see (Windows has no ctime; writable mmaps). Linux: whole suite green 10/10 as root and 10/10 as a user (dev), 6/6 and 6/6 (QA). QA reproduced the stale read on 0.65.8 (65/65, 87/87 when the stat was identical) and got 0 here. Dev, QA and lead review: docs/features/linux-test-portability/README.md, Round 2. Version bump (Cargo.toml, Cargo.lock, editors/vscode/package.json and both package-lock.json spots); notes in CHANGELOG.md (## 0.65.9) and editors/vscode/CHANGELOG.md. Gates: tools/gates.sh PASS on this tree including cross; lucisv_mcp 388/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.9"
|
|
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
|