Files
lucisv/docs/manual-acceptance.md
T
lucioandClaude Fable 5.1 449b874798
ci / checks (push) Successful in 1m7s
ci / corpus (push) Successful in 31s
release / build-and-publish (push) Successful in 6m20s
DUT-centred hierarchy view: star a module as DUT, its children and its parents in their own sections, everything else re-rooted
TODO §56 (docs/features/dut-hierarchy), the owner's request of 2026-09-06.

Client-only, over the flat `lucisv/moduleHierarchy` snapshot the server
already sends. `hierarchySections.js`: per starred DUT, in starred
order, the DUT's forward subtree (the DUT at the top) and an upward tree
from the DUT through every module that instantiates it (labelled `via
<instance>`, cycles cut with one `recursive` row), then one section for
every module in no DUT's subtree or ancestor closure, re-rooted where
its only parents are DUT ancestors (the review ruling — a monitor beside
the DUT under the same bench stays on screen); a module both below one
DUT and above another appears in both DUT sections; a starred name the
index lacks keeps its sections with a "not in the index" row. Star and
unstar from the webview row menu (the pane is a WebviewView, so the
menu is the renderer's, driven by a `menuTable()` per render), the
`lucisv.hierarchy.{starDut,unstarDut,clearDuts}` commands and title
actions, persistence in `workspaceState` in starred order, and the
`lucisv.hierarchy.duts` setting whose entries show locked. With nothing
starred the pane is byte-identical to before (pinned).

opentitan `hw/ip` (847 modules): `aes` → 3 sections with `tb` in its
parents and 5 modules under `aes_tb` re-rooted into others; `aes` +
`hmac` → 5 sections; every module reachable in both configurations; QA's
200-trial fuzz found no overlap and no gap. `extract_test.js` added to
`.vscodeignore`.

(Committed after the 0.48.0 version commit: the release chain broke at a
test-output grep and cut the tag one commit early; the tag is moved here.)

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-09-06 00:04:05 -05:00

3.5 KiB
Raw Permalink Blame History

Manual extension-host acceptance — checklist

The one test of the VS Code extension that is not editors/vscode/smoke.js. Run it on a release build (code --install-extension lucisv-<v>-darwin-arm64.vsix --force) with /Users/guoliangchen/repo/opentitan open as the workspace. About an hour. Record the release, the date and any failure in the table at the end.

# Step Expected
1 Open hw/ip/aes/rtl/aes.sv. Status bar. "lucisv" item appears; no error toast; Output → lucisv shows the server version.
2 Wait for the scan bar to finish. Hover aes_core in an instantiation. Hover card with the module's header and file:line; F12 jumps to aes_core.sv.
3 Insert a tab at the start of a line. A no-tabs squiggle within a second; lightbulb offers "Replace tab"; fix-on-save (editor.codeActionsOnSave with source.fixAll.lucisv) removes it. Undo.
4 Cursor on .clk_i in an instantiation; open the lightbulb. Port refactorings listed instantly (no hitch); picking one applies an edit (undo).
5 Format Document (Shift+Alt+F) on aes.sv. Reformats without an error toast; Format again is a no-op. Undo all.
6 Settings → search "lucisv.lint". Every rule has a toggle; severity.style off removes all style squiggles immediately. Restore.
7 Add [lint] select = ["no-tabs"] in a scratch lucisv.toml beside the file. Only no-tabs diagnostics remain; removing the file restores the defaults.
8 Theme: switch Dark+ → Light+ → High Contrast. Semantic highlighting readable in all three; no invisible tokens.
9 Zoom: View → Appearance → Zoom In ×3, then reset. Hierarchy view and hover cards scale; nothing clipped.
10 Keyboard only: Ctrl+Shift+O (symbols), F12, Shift+F12, F2 rename, Esc. Every action reachable without the mouse; rename preview shows all files.
11 Screen reader (VoiceOver, ⌘F5): tab through the lucisv hierarchy view. Each row announced with its name; the toggle buttons announced. Turn VoiceOver off.
12 Old server: point lucisv.server.path at ~/.cache/lucisv-baselines/lucisv-0.39.0's sibling server if kept, else skip. Extension warns about the version mismatch and still works. Reset the setting.
13 The other VSIX shape: install the lucisv-<v>-universal.vsix (no bundled server) with the CLI on PATH. Same behaviour as steps 1–5.
14 Restart the server (command palette: "lucisv: Restart Server"). Diagnostics return within a few seconds; no duplicate status items.
15 Hierarchy pane: right-click aes → "Star as DUT". Three sections: "DUT: aes" (open, aes and its five children), "Parents of aes" (open, aes above aes_tb, aes_wrap, tb), "Other modules" (closed, 297 roots — the 292 plain ones plus the five aes_tb held beside aes, re-rooted). Right-click aes again → "Unstar DUT" puts the plain tree back exactly as it was.
16 Star aes, then hmac. Five sections in that order; "Other modules" has 297 roots; each section opens and closes on its own; a module under both keeps its own open state in each. Title bar "Clear DUTs" removes both.
17 Add "lucisv.hierarchy.duts": ["aes"] to the workspace .vscode/settings.json. The section appears without starring; right-clicking aes offers only a greyed "DUT from settings" whose tooltip names the setting; "Clear DUTs" leaves it. Remove the setting again.

Runs

Release Date Result Failures (step, what happened)