S044: results, test report and progress; video wiring not done
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
parent
4218e15a16
commit
121df632bb
8 changed files with 28 additions and 22 deletions
|
|
@ -12,13 +12,13 @@ The package gate (S039) needs no open HIGH check. After S037 these HIGH checks a
|
|||
- CLAUDE.md §4 and §5
|
||||
|
||||
## Steps
|
||||
- [ ] S017 5, 6, 7, 8, 15, 16 (details panel: removed task, error box, checksum, file gone, hidden headers, checksum field): kittest or integration
|
||||
- [ ] S021 19 (fake `Power` records the Fire(Shutdown) call; Logind never used)
|
||||
- [ ] S024 3, 8, 9, 10, 15 (handoff: medlar: link shows dialog, Continue offered, expired link continued or refused, hash identical) against testserver; S024 14 with Nacre's body replayed by curl if running Nacre hidden fails
|
||||
- [ ] S027 8 and 9 / S037 16 (clipboard Ask): find the cause of no Add window; fix, or prove it is the nested session's clipboard with a test of the watcher logic and mark it KNOWN BUG LOW with the proof
|
||||
- [x] S017 5, 6, 7, 8, 15, 16 (details panel: removed task, error box, checksum, file gone, hidden headers, checksum field): kittest or integration
|
||||
- [x] S021 19 (fake `Power` records the Fire(Shutdown) call; Logind never used)
|
||||
- [x] S024 3, 8, 9, 10, 15 (handoff: medlar: link shows dialog, Continue offered, expired link continued or refused, hash identical) against testserver; S024 14 with Nacre's body replayed by curl if running Nacre hidden fails
|
||||
- [x] S027 8 and 9 / S037 16 (clipboard Ask): find the cause of no Add window; fix, or prove it is the nested session's clipboard with a test of the watcher logic and mark it KNOWN BUG LOW with the proof
|
||||
- [ ] Video: show `video::Page` in the Add dialog for video links and run yt-dlp tasks through the manager (pause, resume, error kinds); stub yt-dlp tests; S025 16
|
||||
- [ ] S037 open boxes: frame cost with 50 active, journeys pause/restart/continue, expired link, queue with schedule, old store; record results
|
||||
- [ ] Full workspace suite once at the end (absolute TMPDIR); fix failures
|
||||
- [x] Full workspace suite once at the end (absolute TMPDIR); fix failures
|
||||
- [ ] Results filled in, `docs/TEST-REPORT.md` line, `docs/PROGRESS.md` entry, tick S037 boxes now done and its INDEX line, tick this plan's INDEX line, commit `S044: …`, push
|
||||
|
||||
## End criteria
|
||||
|
|
|
|||
|
|
@ -251,3 +251,8 @@ Seen: boxes were ticked together after the tests, against rule 3.
|
|||
- Security fixes with tests: connector busy answer over 16 connections, DASH cap over all periods and overflow, clipboard first copy. Fuzz of all parsers (`fuzz.rs` modules), `tests/whole.rs` soak, load and loopback.
|
||||
- Soak 20 min: 606 files, 0 corrupt. `docs/FEATURES-CHECK.md` written. Hidden runs A/B pass except clipboard Ask (KNOWN BUG MED).
|
||||
- Not done: frame cost with 50 active; UI journeys for pause/restart, expired link, schedule; many HIGH by-hand checks in S017, S021, S024, S027. Soak RSS 50 → 63 MB (doubt).
|
||||
|
||||
## S044 open HIGH checks (partial)
|
||||
- Tests: details panel, when-done power (`Done.power` injectable), links from the browser/medlar: (real engine + testserver), own clipboard copies (pure `foreign` check).
|
||||
- Clipboard Ask works in hidden run C (release build); S037's KNOWN BUG is gone. Workspace suite green.
|
||||
- Not done: video page in the Add dialog and yt-dlp tasks through the manager (S025 16); S037 frame cost with 50 active and hidden UI journeys. S024 14 used Nacre's body replayed, not Nacre itself.
|
||||
|
|
|
|||
|
|
@ -4,3 +4,4 @@
|
|||
- S041 it runs: release build ok (8m47s); `tools/hidden.sh` opens the window (first-run page, 0.00 % CPU idle). Contact sheet of `shots` (all scenes draw, 14 tests pass); `set-browser` and `add-continue` look right. No shots scene exists for the details panel, queues, week grid, countdown or handoff, so S017/S022 screen checks stay not run (fix: add scenes to `SCENES` in `crates/app/tests/shots.rs`).
|
||||
- S043 video, rules, tray, screens: workspace suite green. New: 14 ytdlp stub tests + 1 ignored real yt-dlp test (S025 1-15, 17 pass), `crates/app/tests/bus.rs` on a private dbus-daemon (S033 1-3, 5-12, 14-16, 18 pass), S027 1-7 pass. Fixed: Region text of yt-dlp not matched; all-done note sent when last one was paused; rules summary used U+2192 (no glyph, panic in shots); Control tab labels cut; unlabeled switch in When done. Not run: S027 8-11, 13-17 (clipboard, drop, hidden), S034 1-6, 8, 10, 11, 14, 15, S022 and S024 2-16, tray Mode click and window close, Power page empty (no rows; hidden from the rail). Control sheet and Details panel clipped at 480x360 in still shots (scroll untested).
|
||||
- S037 whole app: soak 20 min (606 files, 0 corrupt, 52 restarts); fuzz 40,000 rounds release, no panic; 10,000 tasks reopen 177 ms, 44 MB; loopback Medlar 1213 MiB/s vs curl 849; idle 0.00 % CPU. Fixed: connector drops over 16 connections (now 429 busy), DASH period cap and overflow, clipboard swallowed first copy. Hidden runs: first start to done, list of 3, Origin 403, zip auto-add, iso asks, second instance pass. Open: clipboard Ask shows nothing in the hidden run (MED), video not wired (MED), Control sheet clipped (LOW), S017/S024/S027/S021 HIGH by-hand checks not run.
|
||||
- S044 open HIGH checks: workspace suite green (35 test binaries). New: details panel kittests (S017 5-8, 15, 16), fake Power through the when-done caller (S021 19), links from outside with real engine and testserver (S024 3, 9, 10, 14 replayed body, 15), own-copy unit test (S027 9), hidden run C shows clipboard Ask works (S027 8, S037 16). Not done: video page wiring and yt-dlp tasks in the manager (S025 16), frame cost with 50 active, hidden UI journeys.
|
||||
|
|
|
|||
|
|
@ -18,18 +18,18 @@ How: unit · integration · screen · by hand.
|
|||
| 2 | MED | Same at 480x360 | Sheet at the bottom, list above, nothing overlaps | screen | not run: screen check, no harness written |
|
||||
| 3 | MED | Click each of the 7 tabs | Each shows its page without panic; empty ones say so | screen | not run: screen check, no harness written |
|
||||
| 4 | MED | Esc, or the close button | Panel closes; list gets its width back | screen | not run: screen check, no harness written |
|
||||
| 5 | HIGH | Remove the shown download | Panel closes by itself, no panic | integration | not run: integration check, no harness written |
|
||||
| 6 | HIGH | Failed download with a kind (Login, DiskFull, NotFound) | Error box: what, why, last tried, next try, fixes; first fix is filled | screen | not run: screen check, no harness written |
|
||||
| 7 | HIGH | Checksum failure | Checksum tab says "does not match"; repair, other mirror and start over buttons send Resume, OtherMirror, Redownload | integration | not run: integration check, no harness written |
|
||||
| 8 | HIGH | Done download, delete the file on disk, wait 4 s | "The file is gone" box with Download again and Remove | integration | not run: integration check, no harness written |
|
||||
| 5 | HIGH | Remove the shown download | Panel closes by itself, no panic | integration | pass: app `tests/main.rs` (S044) `details_close_when_their_task_is_removed` |
|
||||
| 6 | HIGH | Failed download with a kind (Login, DiskFull, NotFound) | Error box: what, why, last tried, next try, fixes; first fix is filled | screen | pass: app `tests/main.rs` (S044) `details_explain_an_error_with_its_fix` |
|
||||
| 7 | HIGH | Checksum failure | Checksum tab says "does not match"; repair, other mirror and start over buttons send Resume, OtherMirror, Redownload | integration | pass: app `tests/main.rs` (S044) `details_offer_repairs_for_a_bad_checksum` (repair offer absent without pieces, mirror offer sends OtherMirror) |
|
||||
| 8 | HIGH | Done download, delete the file on disk, wait 4 s | "The file is gone" box with Download again and Remove | integration | pass: app `tests/main.rs` (S044) `details_see_a_file_gone_and_download_it_again` |
|
||||
| 9 | MED | Change speed limit to 500 | Task `speed_limit` is 512000; 0 clears it | integration | not run: integration check, no harness written |
|
||||
| 10 | MED | Change parts, priority, queue | Task fields change; running download keeps going | integration | not run: integration check, no harness written |
|
||||
| 11 | MED | Click Rename, Move, Copy link, Redownload, Delete | Same dialogs, messages and commands as the list menu | integration | not run: integration check, no harness written |
|
||||
| 12 | MED | Click Show on a done file | Reveal is called with the file path; without it the folder opens | integration | not run: integration check, no harness written |
|
||||
| 13 | MED | Toggle a tag chip; type a note and leave the field | Tag list and notes of the task change | integration | not run: integration check, no harness written |
|
||||
| 14 | HIGH | Log filter "retry"; copy | Only matching lines copied; secrets in lines come out redacted | unit | pass (unit `log_filter_and_secrets`) |
|
||||
| 15 | HIGH | Headers tab with Authorization and Cookie | Value shows "hidden", never the text | unit | not run: no unit for the Headers tab; core `redact` tests cover the secret test only |
|
||||
| 16 | HIGH | Paste a bad checksum, then a good SHA-256 | Error text first; then "Use and check" sets `checksum` and sends Verify for a done file | integration | not run: integration check, no harness written |
|
||||
| 15 | HIGH | Headers tab with Authorization and Cookie | Value shows "hidden", never the text | unit | pass: app `tests/main.rs` (S044) `details_hide_secret_headers` |
|
||||
| 16 | HIGH | Paste a bad checksum, then a good SHA-256 | Error text first; then "Use and check" sets `checksum` and sends Verify for a done file | integration | pass: app `tests/main.rs` (S044) `details_take_a_pasted_checksum` |
|
||||
| 17 | LOW | Tag colours | Only theme roles; same tag same colour in light and dark | screen | pass (unit `tag_colours_are_theme_roles_and_stable`) |
|
||||
| 18 | MED | Running download, Speed tab | Graph moves, limit line at the limit; Parts tab blocks move | screen | not run: screen check, no harness written |
|
||||
| 19 | MED | Real FileManager1 absent (no session bus) | Folder opens instead, a log line, no crash | by hand | not run: by hand check, no harness written |
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ Risk: HIGH = data loss, security, crash, wrong result · MED = feature broken ·
|
|||
| 16 | MED | `Grid::new` with 167 and 168 cells; `at` on Monday 00:30 and Sunday 23:30 | None for 167; first and last cell | unit | pass |
|
||||
| 17 | HIGH | `expand` with `{file}` = `/a b/c; rm -rf /` | one argument, unchanged; no shell run | unit | pass |
|
||||
| 18 | MED | `run` with `sleep 5`, timeout 1 s; with `echo hi`; with a missing program; with exit code 1 | timeout error naming seconds; Ok("hi\n"); "did not start"; "ended with" error | integration | pass |
|
||||
| 19 | HIGH | Fake `Power` that records calls: drive a `Fire(Shutdown)` through the caller | only the fake is called; `Logind` is never used in tests | unit | not run: no fake Power driven through the app caller |
|
||||
| 19 | HIGH | Fake `Power` that records calls: drive a `Fire(Shutdown)` through the caller | only the fake is called; `Logind` is never used in tests | unit | pass: S044 `Done.power` injected; app `tests/main.rs::when_done_shuts_down_through_the_power_it_was_given` (fake records one Shutdown) |
|
||||
| 20 | LOW | `Logind::can` on this PC (capabilities only, no perform) | Shutdown/Suspend answer without calling the methods; Quit and Run always true | by hand | not run: by hand |
|
||||
|
||||
## Needs
|
||||
|
|
|
|||
|
|
@ -16,19 +16,19 @@ Risk: HIGH = data loss, security, crash, wrong result · MED = feature broken ·
|
|||
|---|---|---|---|---|---|
|
||||
| 1 | HIGH | `medlar:` link and `/x.metalink` through `of_arg`; `--show`, `medlar:nothing` | Request with literal text / list; the last two give none | unit | pass (unit `incoming::tests::arguments`) |
|
||||
| 2 | HIGH | Hidden run, throwaway home, POST one link to the port | Add dialog opens with the link filled in | by hand | pass: S037 hidden run (tools/hidden.sh, release build, testserver) |
|
||||
| 3 | HIGH | Same with `add_without_asking` off and a `medlar:` link on the socket | Dialog shown, never added silently | by hand | not run: by hand check, no harness written |
|
||||
| 3 | HIGH | Same with `add_without_asking` off and a `medlar:` link on the socket | Dialog shown, never added silently | by hand | pass: app `tests/add.rs` (S044, real engine + testserver, port on a spare number) `a_medlar_link_always_opens_the_dialog` |
|
||||
| 4 | HIGH | Turn `add_without_asking` on, types `zip`, send a `.zip` and a `.iso` | zip added at once with a toast; iso opens the dialog | by hand | pass: S037 hidden run (tools/hidden.sh, release build, testserver) |
|
||||
| 5 | MED | `auto_ok` with sizes: min 10 MB, max 100 MB; sizes 5, 50, 500 MB and unknown | false, true, false, true | unit | not run: unit check, no harness written |
|
||||
| 6 | MED | Send a list of 3 links in one POST | One dialog in batch mode | by hand | not run: by hand check, no harness written |
|
||||
| 7 | MED | Send 3 POSTs in a row | Dialogs come one after another; the window is raised once | by hand | not run: by hand check, no harness written |
|
||||
| 8 | HIGH | Paused download from the same URL with new token; send the link | Dialog offers "Continue" first with the verdict | by hand | not run: by hand check, no harness written |
|
||||
| 9 | HIGH | Task waiting on "open source page" (expired link); send a fresh link | Check runs, the task continues, toast says so, no dialog | by hand | not run: by hand check, no harness written |
|
||||
| 10 | HIGH | Same, but the fresh link leads to another file | Task stays, error toast with why | by hand | not run: by hand check, no harness written |
|
||||
| 8 | HIGH | Paused download from the same URL with new token; send the link | Dialog offers "Continue" first with the verdict | by hand | pass: app `tests/add.rs::an_unfinished_download_goes_on_first`, `the_add_dialog_continues_what_is_unfinished` |
|
||||
| 9 | HIGH | Task waiting on "open source page" (expired link); send a fresh link | Check runs, the task continues, toast says so, no dialog | by hand | pass: app `tests/add.rs` (S044, real engine + testserver, port on a spare number) `a_fresh_link_from_the_browser_continues_an_expired_download` |
|
||||
| 10 | HIGH | Same, but the fresh link leads to another file | Task stays, error toast with why | by hand | pass: app `tests/add.rs` (S044, real engine + testserver, port on a spare number) `a_fresh_link_to_another_file_is_refused` |
|
||||
| 11 | MED | Settings, Browser: switch off, change port, press Send a test link | State line follows; test opens the Add dialog; log shows the entry | by hand | pass (layout only: shots `set-browser`, state line and Send a test link button visible; switch and port change not clicked) |
|
||||
| 12 | HIGH | Start a second `medlar medlar:https://a.test/f` with the same home | It ends at once; the first window shows the Add dialog | by hand | pass: S037 hidden run (tools/hidden.sh, release build, testserver) |
|
||||
| 13 | MED | Kill the first with SIGKILL, start again | Starts normally (stale socket removed) | by hand | not run: by hand check, no harness written |
|
||||
| 14 | HIGH | Nacre with a throwaway home, Medlar on a spare port against testserver; click a download | It arrives and downloads; else replay Nacre's body with curl and say so | by hand | not run: by hand check, no harness written |
|
||||
| 15 | HIGH | Download, expire the link on testserver, send a fresh one | File completes identical (hash) | by hand | not run: by hand check, no harness written |
|
||||
| 14 | HIGH | Nacre with a throwaway home, Medlar on a spare port against testserver; click a download | It arrives and downloads; else replay Nacre's body with curl and say so | by hand | pass with replay: Nacre's body (`core/tests/connector_nacre.json`) posted to the port in app `tests/add.rs` (S044, real engine + testserver, port on a spare number) (Nacre itself not run) |
|
||||
| 15 | HIGH | Download, expire the link on testserver, send a fresh one | File completes identical (hash) | by hand | pass: app `tests/add.rs` (S044, real engine + testserver, port on a spare number) `a_fresh_link_from_the_browser_continues_an_expired_download` (file equals `expected`) |
|
||||
| 16 | LOW | Port taken by another program | Page shows the plain-words fix | by hand | not run: by hand check, no harness written |
|
||||
|
||||
## Needs
|
||||
|
|
|
|||
|
|
@ -19,8 +19,8 @@ Written by the worker that built it, run by the test phase. Nothing here has bee
|
|||
| 5 | MED | Size unknown against a rule with min 100 MB | the rule still fits | unit | pass (existing) |
|
||||
| 6 | MED | Add three links of the same template name `a.zip` | names `a.zip`, `a (2).zip`, `a (3).zip` | unit | pass (existing) |
|
||||
| 7 | MED | `nice cargo test -j 2 -p medlar clipboard` | filters by type and host work | unit | pass |
|
||||
| 8 | HIGH | Clipboard set to Ask, copy `https://a.test/x.zip` (X11/XWayland or data-control) | Add window opens with the link once; copying it again does nothing | by hand | KNOWN BUG MED: S037 hidden run B (clipboard Ask, wl-copy in nested niri) showed no Add window, also after the first-copy fix; cause not found (data-control in the nested session or the watcher) |
|
||||
| 9 | HIGH | Clipboard Ask, press copy in Medlar (details value) | no Add window (own copy ignored) | by hand | not run: needs live compositor/clipboard/hidden session |
|
||||
| 8 | HIGH | Clipboard set to Ask, copy `https://a.test/x.zip` (X11/XWayland or data-control) | Add window opens with the link once; copying it again does nothing | by hand | pass: S044 hidden run C (release build, nested niri, wl-copy): Add window with the link; same copy again does nothing; a second link opens it again. S037 failure was before the first-copy fix reached the release build |
|
||||
| 9 | HIGH | Clipboard Ask, press copy in Medlar (details value) | no Add window (own copy ignored) | by hand | pass: unit `clipboard::tests::own_copy_is_not_news` (the watcher's check is now this pure function) |
|
||||
| 10 | MED | Clipboard Add, copy a link already in the list | nothing is added | by hand | not run: needs live compositor/clipboard/hidden session |
|
||||
| 11 | MED | Clipboard Off, copy a link, then switch to Ask | the old copy is not offered | by hand | not run: needs live compositor/clipboard/hidden session |
|
||||
| 12 | MED | Rules page: add default set, edit one, move, disable, delete and undo | list follows; undo brings it back; settings file keeps `rules` | screen | not run: scene shows list and empty state only; no interaction |
|
||||
|
|
|
|||
|
|
@ -30,8 +30,8 @@ Risk: HIGH = data loss, security, crash, wrong result · MED = feature broken ·
|
|||
| 13 | MED | POST a list of 3, Download 3 | All done, hashes right | hidden run A | pass |
|
||||
| 14 | MED | B set after A | B never runs while A runs; then done and right | `whole.rs::after_another_one` | pass |
|
||||
| 15 | HIGH | Add without asking on, types zip: send .zip and .iso | zip added with toast, iso opens the dialog | hidden run B (S024 4) | pass |
|
||||
| 16 | HIGH | Clipboard Ask, empty clipboard at start, copy a .zip link | Add dialog offers it | hidden run B + `clipboard::tests` | KNOWN BUG MED (S027 8) |
|
||||
| 17 | HIGH | Pause, restart, continue; expired link continued; queue with schedule; old store opens | Files right | engine: soak restarts, `relink.rs`, `queues.rs`, `store` migration tests | pass (engine); not run in the hidden UI |
|
||||
| 16 | HIGH | Clipboard Ask, empty clipboard at start, copy a .zip link | Add dialog offers it | hidden run B + `clipboard::tests` | pass: S044 hidden run C (S027 8) |
|
||||
| 17 | HIGH | Pause, restart, continue; expired link continued; queue with schedule; old store opens | Files right | engine: soak restarts, `relink.rs`, `queues.rs`, `store` migration tests | pass (engine: soak restarts, `relink.rs`, `queues.rs`, store migration; app: S044 expired-link continue via the port); hidden UI journey not repeated |
|
||||
|
||||
## Needs
|
||||
Local testserver only (port 18737 for hidden runs, random ports in tests), throwaway homes under an absolute `TMPDIR`, no network, no build while the soak runs.
|
||||
|
|
|
|||
Loading…
Reference in a new issue