Review engine and dropped files: fixes after the independent check
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run

- The probe turns down an engine not called «Stockfish 19» right after `uci`, without
  a search; a search has a 10 s guard, the probe 30 s; probes stop and their engines
  quit (or are killed) when the program quits. Play engines (Rodent, Maia) are never
  candidates.
- «Did not start» is its own outcome, said once and tried again next time; verdicts
  are kept for the real file with the reference's key; the engine's name is checked
  again when a job starts (a wrapper may run another program).
- The wait for a probe belongs to its game or preparation; the game analysis and the
  opening errors wait apart; «analyse anew» keeps its `full`.
- The offer says why: another engine (settings / system), a Stockfish 19 that
  calculates otherwise, one that did not start; the size line is back.
- Dropped files: missing ones told, known ChessBase parts only, duplicates by the real
  file, each folder listed once; drops never replace a database being chosen again,
  a cancelled «Choose again» ends it; «Added to the shelf» over a game; a framed
  highlight with a card; long names shortened.
- decisions.md: where dropping works (not in a Wayland session: winit 0.30).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
vrubelroman 2026-10-31 13:42:19 +03:00
parent 4fc1d5b67d
commit 829bde9fdb
14 changed files with 1164 additions and 334 deletions

View file

@ -1087,6 +1087,8 @@ fn cache_dir() -> Option<PathBuf> {
}
pub struct PrepScreen {
/// This screen's own number (`engine_offer::next_serial`).
pub serial: u64,
pub path: PathBuf,
db: Arc<Database>,
db_name: String,
@ -1422,6 +1424,7 @@ impl PrepScreen {
};
let names = start.player.names(&db);
let mut screen = PrepScreen {
serial: crate::engine_offer::next_serial(),
db_name: base_name(&start.path),
path: start.path,
db,