§57 closed: 0.49.0 verified (8 assets, vsix contents checked), memory rewritten; §58 perf take 4 and §59 cache-key fix filed
ci / checks (push) Successful in 58s
ci / corpus (push) Successful in 33s

This commit is contained in:
lucio committed 2026-09-07 02:43:13 -05:00
1 parent 4123905aa1
commit 414d501847
1 file changed
+124 -2
+124 -2
View File
@@ -5499,10 +5499,13 @@ lead's own, no dev/QA:
`~/.cache/lucisv-baselines/wip-*` snapshots deleted. — done
2026-09-07 at 4c2dae3 (main tree only, `master` only, every local
tag on the server, snapshots and scratch leftovers removed).
- [ ] **Remote:** `master` pushed and equal to local; every release tag
- [x] **Remote:** `master` pushed and equal to local; every release tag
on the server; every release with 8 assets; the published vsix of
the final release unzipped and checked for the feature files of
loop 2 (`hierarchySections.js`, `extract.js`, no `*_test.js`).
— done 2026-09-07: v0.49.0 has 8 assets (run 270); the darwin-arm64
vsix carries `hierarchySections.js` and `extract.js`, no `*_test.js`,
version 0.49.0.
- [x] **TODO.md:** every checkbox either ticked or annotated with a
dated ruling (deferred to whom, or dropped why); the "Loop 2 order"
section closed with what shipped in which release; §44/§55 and the
@@ -5519,11 +5522,130 @@ lead's own, no dev/QA:
committed. — done 2026-09-07 (CLAUDE.md re-measured at 0.49.0:
state.rs 958 with §55 filed; topo rows for §36–§56; L3/L6/L9/L10
struck; acceptance rows 15–17; site rebuilt in the §54 commit).
- [ ] **Memory:** the paused-state memory rewritten as a short current
- [x] **Memory:** the paused-state memory rewritten as a short current
state (not a running log), with the release list and the open items.
— done 2026-09-07.
- [x] **Closing release:** if anything above changed a shipped file
(docs count), a final release `0.49.x`/`0.50.0` cut from the clean
tree, its assets verified, and the install line given to the owner.
— **ruled 2026-09-07: 0.49.0 is the closing release.** The commits
after it are TODO/CLAUDE.md/memory bookkeeping only — nothing that
reaches a binary, the extension or the site — so no further tag.
## 58. Performance take 4 on opentitan (owner request 2026-09-07) — 0.49.0 vs 0.43.0 vs take 3
§40's protocol, one release later. Read-only measurement; a regression is
filed with a reproduction, not fixed in this lane. Output:
`docs/performance_take4.md`, the same table shapes as
`docs/performance_take3.md` so every row is a before/after (take 3's
0.43.0 column carried beside the new 0.49.0 column; 0.39.0 where take 3
had it), plus a `docs/perf/README.md` entry. Tree:
`/Users/guoliangchen/repo/opentitan` (never written; the three
pre-existing modified files stay as they are, `git status --porcelain`
checked after every phase). Every run under `tools/guard.sh -m 8 -t 1800`.
No `cargo` command in any tree during a timed measurement.
Binaries: the 0.49.0 CLI is `~/.cache/lucisv-baselines/lucisv-0.49.0`
(0.43.0 and 0.39.0 beside it); the 0.49.0 server is
`target/release/lucisv-server` in the main tree (the tree's code is
4c2dae3 = v0.49.0 — verify by sha or `--version` before use, rebuild
once with `cargo build --release -p lucisv_server` only if it is stale,
before any timing); the 0.43.0 server is built from the `v0.43.0` tag in a
scratch `git worktree` under the scratchpad and the worktree removed after.
- **The harness is committed this time.** Take 2's client was lost and
take 3's was reimplemented from prose; take 3's is gone too (the
scratchpad is volatile). Take 4's client and drivers live in
`tools/perf/` (`lspclient.py`, `bench.py`, `sweep.sh`,
`sweeptable.py`, `outcomes.sh`; Python 3 standard library only, a
short README saying how to run each phase). Take 5 reuses them.
- **Server, the take-3 request table** (take 3 §2, every row): startup
and scan per scope config and cache state (cold / warm), the `didOpen`
widen at the default scope, `codeAction` at the take-3 cursors (lazy
offer and eager, plus `codeAction/resolve` where an action is offered),
`prepareRename` / `rename`, `completion`, `definition`, `hover`,
`inlayHint`, `references`, `documentSymbol`, `workspaceSymbol`,
`semanticTokens/full`, diagnostics publish, the queue-blocking analysis
(take 3 §3), the transport baseline and the `--verbose` cross-check
(take 3 §0).
- **New rows for what 0.44–0.49 added**, each with the 0.43.0 column
beside it where the request exists there:
- the `didOpen` delay (§46) confirmed on the wire in the release build:
`didOpen` → the request behind it for `aes.sv`, `aes_core.sv`,
`spi_device.sv`, `pinmux_reg_top.sv` (the perf README's 2026-09-05
table was taken with temporary timings — this is the release
number);
- `codeAction` at the new offer sites: a `.*` instance (expand
wildcard), a non-ANSI module header (convert to ANSI), an `import`
line (organize imports), a selection of a few module items (extract
module), a separate-file instance with named connections (inline
module) — the lazy offer and one `resolve` each; how many actions
each cursor offers, so the reader knows what was paid for;
- `rename` of a net reached through an instance tail (§49's
hierarchical surface) and `completion` after `u_x.` on an instance
head — pick real opentitan sites and name them;
- `lucisv/moduleHierarchy` (the snapshot the DUT view consumes; the
sections themselves are client-side and not measured here);
- index store size on disk and the server's peak RSS after the
workspace scan, 0.43.0 vs 0.49.0 (`FACTS_FORMAT` 18 → 19 added the
hierarchical member table and the re-export group).
- **CLI sweeps** as take 3 §7 over the same five trees: `format --check`
(cold cache and warm), `check` (default rules; `--select
error,warning,style`), wall time and peak RSS, 0.49.0 vs 0.43.0 vs
0.39.0; failure counts per tree and every per-file outcome that changed
since 0.43.0 (expected candidates: §54's grammar — `randsequence`,
`->>`, casts, drive strengths, `let`, clocking skews — and §38's
outcomes staying fixed; anything else is a finding). The formatter cache
goes to a scratch `--cache-dir`; the index cache to a scratch
`storagePath`.
- **Method** as take 3 §9: three tries per row, first try and repeat
range reported, machine state noted (load average before and after
each phase; the machine runs a desktop session — say so).
- **Findings:** any row slower than take 3 by more than noise is a filed
item with a reproduction; anything faster is credited to the section
that did it. The eager `codeAction` path is ruled a non-hot path
(owner, 2026-09-05) — report it, do not re-file it.
- Feature README: `docs/features/performance-take4/README.md` (Goal,
Assumptions, Handshakes, Status, Work log, QA log, Review).
- [ ] harness in `tools/perf/` with its README; runs from a clean checkout
- [ ] server table re-measured, 0.49.0 vs 0.43.0 vs take 3 — take 4 §2
- [ ] new rows: didOpen release numbers, the five refactoring offer sites,
tail rename and instance-head completion, moduleHierarchy, index
size and RSS
- [ ] CLI sweeps, three binaries, RSS included; outcome diff since 0.43.0
- [ ] `docs/performance_take4.md` + perf README entry
- [ ] opentitan status unchanged after every phase; no guard kill
- [ ] QA: a sample of at least eight rows re-run with the committed
harness (both binaries) and checked against the document within its
stated tolerance; the outcome diff re-derived; opentitan status;
every number quoted in the document found in the raw logs
## 59. The format cache key omits `uvm-utils-indent` (topo §2.9-34, owner's audit 2026-09-07)
Filed by the repository analysis: `lucisv_core::cache::Entry` and
`lucisv/src/main.rs::entry_for` key a verdict on content, `line-length`
and `indent` (and the lucisv version), so toggling `[format]
uvm-utils-indent` after a clean `--check` keeps the stale clean verdict
(`--check` exits 0 while `--no-cache --check` exits 1). Runs after §58
(no build during a timed measurement). Feature README:
`docs/features/format-cache/README.md` (work log entry, Handshakes
amended: the key now names the option).
- **The key.** `Entry` gains `uvm_utils_indent: bool`; `entry_for`
fills it from `Config`; the store line carries it as a fifth field and
a line without it (an older store) is dropped individually, like
another version's entry. Equality and the codec round-trip tested in
`cache.rs`.
- **Regression** as the audit's probe, through the real CLI: a UVM class
with `uvm_field_int`, cache a clean verdict with the option false,
flip to true → `--check` exits 1; and the other direction.
- README: the `--no-cache` workaround paragraph in `README.md` and the
topo row 34 struck at merge (lead).
- [ ] `Entry`/`entry_for`/store codec, tests
- [ ] CLI regression, both toggle directions
- [ ] format-cache README work log + Handshakes
- [ ] QA: attack the key (another option, another version, a store line
with four fields); confirm the audit's probe passes on the fix and
fails on 0.49.0