fix: clear verified queue blockers and exit idle orphan workers
This commit is contained in:
1 parent
96e179ba65
commit
ca39fb3517
16 files changed
+537
-70
No files matched your search
@@ -512,6 +512,10 @@ def _release_residual_sessions(plan, evidence_dir, *, stop=None, force=False, ca
|
||||
or Path(proof.get('library', '')).resolve() != library):
|
||||
raise ValueError('释放证明与当前库不一致')
|
||||
result['status'] = 'RELEASE_CONFIRMED'
|
||||
from .session_record import record_session_release
|
||||
errors = record_session_release(proof, plan.get('runtime_sessions', []))
|
||||
if errors:
|
||||
result['evidence_error'] = ';'.join(errors)
|
||||
except BaseException as error:
|
||||
result.update(status='PARTIAL', detail=f'{type(error).__name__}: {error}')
|
||||
if not isinstance(error, Exception):
|
||||
|
||||
Reference in new issue
Block a user