fix: preserve native calls on stop and keep status reads observational

This commit is contained in:
阿白叔 committed 2026-11-06 15:42:33 +08:00
1 parent 97a3de20c9
commit 8d3eab1164
19 files changed
+631 -290

No files matched your search

+2 -2
View File
@@ -323,7 +323,7 @@ def test_status_scan_logs_each_cbb_image_id(caplog, tmp_path):
assert 'name=B image_id=28' in caplog.text
def test_status_scan_keeps_only_missing_cert_or_project_items_pending(tmp_path):
def test_status_scan_without_native_observation_does_not_guess_status(tmp_path):
lmc = tmp_path / 'center.lmc'
lmc.touch()
root = lmc.parent / 'ReusableBlocksLP'
@@ -348,7 +348,7 @@ def test_status_scan_keeps_only_missing_cert_or_project_items_pending(tmp_path):
('READY_CBB', 'IP101GR', 'MISSING_CBB'),
tree_image_reader=lambda _library, _names: {},
)
assert result == {'READY_CBB': 'READY', 'IP101GR': 'PENDING', 'MISSING_CBB': 'PENDING'}
assert result == {'READY_CBB': 'UNKNOWN', 'IP101GR': 'UNKNOWN', 'MISSING_CBB': 'UNKNOWN'}
def test_filesystem_evidence_exposes_multiple_persistent_dimensions(tmp_path):