refactor: share copy plan and failure causes

Standalone copies: copy_sources is the one reading of a copy entry. The
platform pass copies only list entries the run verified in place, never
a disk scan, and --check and --dry-run report the emulator folders.

Failures: failure_causes classifies each failed file once. A failures
event before the summary carries the cause, and the full screen gives
the remedies line mode gives, with no substring test.
This commit is contained in:
Abdessamad Derraz committed 2026-11-23 21:44:20 +01:00
1 parent 77115be738
commit d7f7d9a63f
22 files changed
+853 -412

No files matched your search

+1
View File
@@ -4087,6 +4087,7 @@ class TestE2E(unittest.TestCase):
missing_dir = Path(self.root) / "nonexistent"
manifest = {
"base_destination": "bios",
"files": [{"dest": "prod.keys"}],
"standalone_copies": [
{
"file": "prod.keys",