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:
阿白叔 committed 2026-11-18 10:13:55 +08:00
1 parent fa1f662e1d
commit 14cacb1d1c
8 files changed
+84 -7

No files matched your search

@@ -9,6 +9,7 @@ from uuid import uuid4
workspace = Path(sys.argv[1]).resolve()
bundle_root = Path(sys.argv[2]).resolve()
sys.path.insert(0, str(workspace/'src'))
from cbb_refresh_verify import __version__
exe = bundle_root/'dist/CbbRefreshVerify-Background/CbbRefreshVerify.exe'
root = bundle_root/('smoke-' + uuid4().hex[:8])
root.mkdir()
@@ -64,7 +65,7 @@ finally:
from PyInstaller.archive.readers import ZlibArchiveReader
pyz = bundle_root/'build/CbbRefreshVerify/PYZ-00.pyz'
code = ZlibArchiveReader(str(pyz)).extract('cbb_refresh_verify')
assert '0.2.4b3' in code.co_consts
assert __version__ in code.co_consts
toc = ast.literal_eval((bundle_root/'build/CbbRefreshVerify/Analysis-00.toc').read_text('utf-8'))
stack, rows = [toc], []
while stack:
@@ -77,6 +78,6 @@ while stack:
stack.extend(value)
assert rows and all(Path(row[1]).is_relative_to(workspace/'src') for row in rows)
results['module_origins'] = {'status': 'passed', 'module_count': len(rows), 'source_root': str(workspace/'src')}
results['version'] = '0.2.4b3'
results['version'] = __version__
(root/'result.json').write_text(json.dumps(results, ensure_ascii=False, indent=2), 'utf-8')
print(json.dumps({'evidence': str(root/'result.json'), **results}, ensure_ascii=False), flush=True)