feat(registry): checkpoint PLN-0176 foundations and validated partial integrations

This commit is contained in:
2026-10-07 17:49:46 +01:00
parent 01fab56cc6
commit 126a9e50e7
63 changed files with 8499 additions and 1462 deletions
@@ -77,7 +77,13 @@ impl VirtualMachineRuntime {
platform: &mut dyn RuntimePlatform,
) -> Option<CrashReport> {
if vm.call_stack_is_empty() {
vm.prepare_boot_call();
if let Err(error) = vm.prepare_boot_call() {
let report = CrashReport::VmInit {
error: prometeu_vm::VmInitError::RuntimeResourceLimit(error),
};
self.last_crash_report = Some(report.clone());
return Some(report);
}
}
let step_result = {
let mut ctx = HostContext::new_platform(Some(platform));
@@ -168,7 +174,13 @@ impl VirtualMachineRuntime {
self.begin_logical_frame(signals, platform);
if self.needs_prepare_entry_call || vm.call_stack_is_empty() {
vm.prepare_boot_call();
if let Err(error) = vm.prepare_boot_call() {
let report = CrashReport::VmInit {
error: prometeu_vm::VmInitError::RuntimeResourceLimit(error),
};
self.last_crash_report = Some(report.clone());
return Some(report);
}
self.needs_prepare_entry_call = false;
}