release: prepare v0.2.4-beta.4 and guard late management signals
Ignore queued management completion after its Qt receiver is destroyed. Isolate unrelated WMI and file-proof latency in simulated lifecycle tests while retaining real occupancy and writer-barrier coverage. Validation: 2428 tests passed, compile and whitespace checks passed, scoped review clean. Field ICDB inconsistency and Windows 10/production SMB remain unaccepted.
This commit was merged in pull request #16.
This commit is contained in:
1 parent
fa1f662e1d
commit
14cacb1d1c
8 files changed
+84
-7
No files matched your search
@@ -91,6 +91,9 @@ def test_exited_verify_worker_outcome_read_is_bounded_and_releases_channel(tmp_p
|
||||
def poll(self): return 0
|
||||
def close(self): pass
|
||||
monkeypatch.setattr('cbb_refresh_verify.desktop_worker.DesktopWorker', ExitedWorker)
|
||||
# The fake worker has no native clients; cleanup probes are covered independently.
|
||||
monkeypatch.setattr('cbb_refresh_verify.verify_runner._cleanup_session_processes',
|
||||
lambda *args, **kwargs: {'safe_to_continue': True, 'remaining_pids': []})
|
||||
original = Path.read_text
|
||||
def read(path, *args, **kwargs):
|
||||
if path.name == 'outcome.json':
|
||||
@@ -221,6 +224,9 @@ def test_handed_off_worker_accepts_exact_controls_but_excludes_new_writers(tmp_p
|
||||
monkeypatch.setattr(sessions, '_request_native_cancel', answer)
|
||||
monkeypatch.setattr(sessions, 'query_process_snapshot', lambda: [row] if child[0].poll() is None else [])
|
||||
monkeypatch.setattr(sessions, '_process_windows', lambda _: {})
|
||||
# Keep this real writer-barrier/control test independent of file-probe startup latency.
|
||||
monkeypatch.setattr(sessions, '_finish_library_release',
|
||||
lambda *args, **kwargs: {'status': 'RELEASE_CONFIRMED', 'library': str(library)})
|
||||
command = lambda: sessions.release_residual_sessions(dict(library=str(library), sessions=[row]),
|
||||
tmp_path/'controls', cancel_native=True)
|
||||
def control_call():
|
||||
|
||||
Reference in new issue
Block a user