* fix(batch): check the speech model when restoring, not in every pipeline run
#4623 added the missing-model check to the batch transcribe stage. Every
batch pipeline test that does not stub it then failed in CI's model-free
environment, leaving main red. Restored jobs are the only ones that skip
enqueue's check, so restore now checks once and shows such a job as failed
with Retry, leaving the pipeline as it was.
Also confines queue record paths to the batch folder after resolving them
(the CodeQL path alerts on the record writer) and reads test files as UTF-8.
* fix(batch): check the speech model inside the transcribe step itself
Review found that a job queued before its speech model was removed could
still download it, and that checking at restore can run before startup
swaps a missing saved model for an installed one. The check now runs in the
transcribe function, right before the backend loads, for every job: queued,
retried or restored. Pipeline tests that stub the guarded transcribe call
never reach it; the one test that runs it with a stubbed model opts out.
Queue record paths are checked after resolving but replaced and removed by
their own directory entry, so a link can't make a cleanup delete another
job's record.
* feat(desktop): restart a crashed engine, ask before quitting running work, keep the batch queue across restarts
- A local engine that crashed after it had started restarts on its own
(1, 3, 6, 12, 30 s); a sixth crash in ten minutes, or a crash before it
ever started, stays on the recovery screen.
- A quit the user starts asks first while the engine reports running work;
confirmed update installs, OS shutdown and relaunches do not ask.
- Unfinished batch jobs keep a record beside their upload and are queued
again, in order, on the next backend start.
- Interrupted audiobook/story renders are announced once after launch with
a Resume action.
* changelog: add fragment for #4623
* test(dub): wait for the voice search to take focus
* fix(desktop): close the gaps review found in job resume and the quit prompt
- Quitting during a generation, clone, design or transcription now asks
first: the engine reports open requests that do work, not just jobs.
- Restart on CPU withdraws a pending automatic restart before it saves the
device choice, so the engine cannot start on the old device.
- Batch queue records hold only the upload's name, so they carry no home
path and still restore after the data folder moves.
- A save racing a cancel, a job skipped as cancelled, or a record that
cannot be deleted no longer brings finished or cancelled work back.
- One malformed record is dropped on its own instead of stopping every
saved job from restoring.
- A queued or restored job whose speech model was removed fails with the
enqueue message instead of downloading it.
- The interrupted-render notice retries a failed check a few times.