Add integration tests based on VM
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
# TUI navigation repair
|
||||
|
||||
Validated on 2026-10-26 at 22:32 +02:00. Bounded maintenance; M9 remains
|
||||
paused and unaccepted. No production, Alpine or VM execution was performed.
|
||||
|
||||
## Behavior and review
|
||||
|
||||
List Up/Down previously called the details-opening selection method. The repair
|
||||
separates highlighting from opening: arrows update selection, Enter opens the
|
||||
selected peer, and Esc returns to the list. Existing detail/help/message scrolling
|
||||
is preserved. Unsupported peers remain inspectable without mutation identity.
|
||||
Independent reviewer NAV-001 identified an initial-highlight mismatch; the repair
|
||||
treats the renderer's implicit first row as current. Re-review closed NAV-001
|
||||
with no remaining actionable scoped findings.
|
||||
|
||||
Regression coverage exercises initial Down, initial Up wrap, explicit selection,
|
||||
Enter, Esc, scroll reset and unsupported peer inspection. Focused command
|
||||
`cargo test --locked tui::terminal::tests::` passed 7/7.
|
||||
|
||||
## Integrated checks and identity
|
||||
|
||||
Rust/Cargo 1.97.1, native x86_64 GNU host. All commands exited 0:
|
||||
|
||||
- `cargo fmt --all -- --check`
|
||||
- `cargo clippy --locked --all-targets -- -D warnings`
|
||||
- `cargo test --locked`: 323 passed, 3 explicitly ignored, none failed,
|
||||
including 2 documentation tests. Ignored real-environment tests were not run.
|
||||
- `cargo build --locked --release`
|
||||
- `git diff --check`
|
||||
|
||||
Base commit: `f4a6540df9621c9c5e5d1430243f92e749356a59`. Dirty inputs include
|
||||
the navigation repair plus pre-existing documentation/VM preparation changes;
|
||||
the latter were preserved. SHA256 of changed Rust files:
|
||||
|
||||
- `src/tui/state.rs`: `3b9ea1540c26a372c781a8194cedff74bb56320a698ae28e56ce22f38d159c5d`
|
||||
- `src/tui/terminal.rs`: `368bf0be11c35202127b7ac5c95f62a312f9de9b464de6e6816cb4b7523cdb1e`
|
||||
|
||||
Native artifact `target/release/wireguard-admin` SHA256:
|
||||
`de5b7efe9f8615fcb13d8779a86451d62e64c3f1da976ba706d6773f8a573d9e`.
|
||||
This is host build and fixture evidence only; target-server deployment and
|
||||
interactive SSH confirmation remain unverified. Previous release artifact
|
||||
identities do not identify this build.
|
||||
Reference in New Issue
Block a user