S011: relink finding noted as fixed

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
astar76 2026-11-25 07:47:47 -06:00
commit 7c67ce18f2

View file

@ -124,7 +124,7 @@ Verified: `nice cargo test -j 2 -p medlar-core --test ftp` green (12; also three
- S030: `listing::list(&client, &source, &mut stop) -> Vec<Entry{name, kind, size, modified, url}>`; `Kind::{File, Folder, Link, Other}`. Download `entry.url`, list it when it is a folder; a link may be either (try the list first). `name` is for the eye, `http::safe_name` for a file. HTTP listings are not in it. Source: `sites.source(&Task{url, ..})`.
- The app must set `ClientOptions::known_hosts: Some(paths.known_hosts())`, or accepted keys are gone at the end. The prompt: kind `Tls` on an `sftp` link, then `sites.trust.host_keys.refused(host, port)` (fingerprint, algorithm, changed) and `accept(&key)`; on a yes start the download again. No UI for it yet, nor for `Site::key`.
Not done: ssh-agent and `~/.ssh` keys, hashed or `@` lines in known_hosts, active FTP, FTP over an HTTPS proxy, names of other encodings than UTF-8 in SFTP logins. A folder's link fails with "no file". Never tried against real servers (vsftpd, OpenSSH, IIS). `same_server` in relink never holds for `sftp` links (only more checks).
Seen: TMPDIR on btrfs makes 4 to 6 of 13 relink tests fail ("Nothing"), on /tmp all pass: they count bytes as here before they are saved. /tmp is 6.3 of 7.8 GB full (Claude's folders), so tests hit the quota; `TMPDIR=target/tmp` helps. Boxes 2 to 6 were ticked together when their tests passed.
Seen: TMPDIR on btrfs makes 4 to 6 of 13 relink tests fail ("Nothing"), on /tmp all pass: they count bytes as here before they are saved. Fixed: `half` in `tests/relink.rs` waits for the saved parts (the engine saves them when the connections have ended). /tmp is 6.3 of 7.8 GB full (Claude's folders), so tests hit the quota; `TMPDIR=target/tmp` helps. Boxes 2 to 6 were ticked together when their tests passed.
## S019 — Limiter, modes and priority shares (2026-11-25)
Done: `core::limit` (`Limiter`, `Flow`, `Shares`), shares of connections in `host` (`Member`), hooks in `http`, `manager`, `settings`. Choices: D-043 to D-045.