1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-01 00:16:04 +00:00
webvirtcloud/operations/tests
catborise c49ee24aae fix(operations): a cancel during recovery cannot hold up its job for good
After a worker restart, recovery watches a migration or disk move that
libvirt still runs and sends a cancel asked meanwhile to the job's hook.
It ran inline in the inspection. The hook waits until libvirt's job runs
or the panel's job ends; when libvirt finished just after the inspection
saw it run, only the next inspection could record the end, so the job
stayed cancelling for good and held its host's control slot. The hook
now runs in a thread of its own, and the next inspection ends the job.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Kk4h2TcUiaWmU5MUszYSea
2026-11-09 16:34:20 +03:00
..
js fix(operations): the job panel shows the outcome when its resource is gone 2026-11-09 14:41:39 +03:00
__init__.py feat(operations): job, claim and worker lease models 2026-10-14 23:27:57 +03:00
fakes.py fix(operations): a host that does not answer keeps the job worker going for the others 2026-11-03 07:23:42 +03:00
proc_kinds.py test(operations): workers and admissions across processes 2026-10-14 23:27:57 +03:00
test_api.py feat(operations): a job's error and warning show in the reader's language 2026-11-02 23:49:45 +03:00
test_claims.py fix(claims): a request's claim no longer blocks once its process has ended 2026-11-06 09:05:06 +03:00
test_conf.py feat(operations): worker concurrency and job retention settings 2026-10-14 23:27:57 +03:00
test_hold.py refactor(computes): the lock helpers take claims instead of file locks 2026-10-14 23:27:57 +03:00
test_kinds.py test: classes that use no database are SimpleTestCase 2026-11-06 13:48:03 +03:00
test_models.py feat(operations): job, claim and worker lease models 2026-10-14 23:27:57 +03:00
test_panel_js.py feat(operations): job panel on the VM page 2026-10-14 23:27:57 +03:00
test_processes.py test(operations): a worker a process test cannot stop shows where it is stuck 2026-10-21 12:10:59 +03:00
test_public_error.py fix(operations): a job refused by its checks in the worker says why 2026-11-05 16:28:29 +03:00
test_recovery.py fix(operations): a cancel during recovery cannot hold up its job for good 2026-11-09 16:34:20 +03:00
test_redact.py feat(operations): admit claims atomically; redact secrets 2026-10-14 23:27:57 +03:00
test_service.py fix(logs): a job's rows carry the address it was asked from, and a cancel its own user 2026-11-07 14:36:44 +03:00
test_views.py feat(operations): a job's error and warning show in the reader's language 2026-11-02 23:49:45 +03:00
test_worker.py fix(logs): failures name their job, VM and user; the new VM form shows a list it could not load 2026-11-06 23:48:44 +03:00