From 3de938b7a1bca19b6b52ea3315f11d78639695ea Mon Sep 17 00:00:00 2001 From: Hare Date: Sun, 14 Jun 2026 14:24:52 +0900 Subject: [PATCH] ticket: report e2e critical implementation --- .yoi/tickets/00001KV10SN02/item.md | 2 +- .yoi/tickets/00001KV10SN02/thread.md | 34 ++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/.yoi/tickets/00001KV10SN02/item.md b/.yoi/tickets/00001KV10SN02/item.md index 3907f569..5aa86041 100644 --- a/.yoi/tickets/00001KV10SN02/item.md +++ b/.yoi/tickets/00001KV10SN02/item.md @@ -2,7 +2,7 @@ title: 'E2E: close remaining critical-path gaps after panel harness' state: 'queued' created_at: '2026-06-13T17:34:41Z' -updated_at: '2026-06-13T17:51:04Z' +updated_at: '2026-06-14T05:24:37Z' assignee: null readiness: 'implementation_ready' risk_flags: ['e2e', 'tui', 'pty', 'quit-latency', 'mouse-input', 'rewind'] diff --git a/.yoi/tickets/00001KV10SN02/thread.md b/.yoi/tickets/00001KV10SN02/thread.md index a5bc36c3..efd59025 100644 --- a/.yoi/tickets/00001KV10SN02/thread.md +++ b/.yoi/tickets/00001KV10SN02/thread.md @@ -25,4 +25,38 @@ LocalTicketBackend によって作成されました。 Ticket を `workspace-panel` が queued にしました。 +--- + + + +## Implementation report + +Implemented critical-path TUI E2E coverage in commit b9f49eee. + +Files changed: +- crates/tui/src/multi_pod.rs: panel mouse wheel events now move selection and emit e2e observer diagnostics without enabling full drag-motion capture. +- crates/tui/src/single_pod.rs: e2e-test-only canned single-Pod rewind fixture path for real TUI/PTTY driving; preserves production/non-production boundary. +- tests/e2e/Cargo.toml: disables auto-discovered integration tests and registers panel/rewind only behind the e2e feature. +- tests/e2e/src/lib.rs: harness support for rewind fixture env isolation, wheel input, event waiting, and forbidden ?1002h/?1003h capture detection. +- tests/e2e/tests/panel.rs: adds PTY wheel regression coverage and drag-capture failure assertion while keeping existing panel cases. +- tests/e2e/tests/rewind.rs: adds single-Pod rewind picker/apply/duplicate-Enter regression. + +Validation: +- cargo fmt --check +- git diff --check +- cargo test -p yoi-e2e --no-run +- cargo build -p yoi +- cargo test -p yoi-e2e --features e2e +- cargo test -p tui --lib single_pod::tests::rewind +- cargo test -p tui --lib mouse +- nix build .#yoi + +Additional note: +- Full cargo test -p tui was also attempted and failed in pre-existing/unrelated tests: multi_pod::tests::orchestrator_launch_context_uses_orchestration_root_for_runtime_workspace and spawn::tests::{profile_choices_include_builtin_and_project_default_marker, profile_choices_use_project_registry_default}. Focused changed-area tui tests passed. + +Residual risks: +- Rewind E2E uses an e2e-test-only canned in-process fixture instead of a provider/socket-backed Pod, intentionally avoiding credentials/network while still exercising the real single-Pod TUI/PTTY path. +- nix build emitted the expected dirty-tree warning before succeeding. + + ---