Summary
After a source stopped at its time or memory limit, Settings showed it as "Ready" next to "Source stopped at a time or memory limit. Retry or install a source update." with a primary Retry button. The source was usable: the next request already starts it fresh.
Changes
- The supervisor drops a stopped instance without setting the source's
last_error. The request that hit the limit still returnssource_unavailable, and four failed starts still block the source until Retry or an update. - Contract note in
source-host.md.
Test plan
-
cargo test --release --lib -- source_host: 52 passed.memory_and_stack_blow_ups_stop_the_source_even_when_caughtnow also runs maintenance and checkslast_errorstays empty; it fails without this change -
cargo clippy --release --lib --tests: clean - Frontend: no changes