mirror of
https://github.com/lllin000/PaperForge.git
synced 2026-07-22 17:00:23 +00:00
embed stop now sets status=stopping, waits for the build PID to exit (8s timeout), force-kills as last resort, then settles to idle. Build loop checks the cancellation flag (read_vector_build_state) between papers in the main loop and drains in-flight work before cleanly exiting without marking 'completed'. Fixes pre-existing UnboundLocalError from a local import shadowing the global mark_vector_build_state symbol in the run() function. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_health_probe.py | ||
| test_memory_workflow.py | ||
| test_stop_idle_resume.py | ||