From 8f852537e82dabd71b4492bdf903b95d9028560c Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 4 Jul 2026 20:17:22 +0900 Subject: fix(php-rpc): panic on RPC failure instead of silently swallowing it Worker spawn failure, socket I/O errors, and unparseable responses used to fall back to plausible-looking defaults (empty string, false, None), making real failures indistinguishable from legitimate PHP-side results. Panicking is not the final design, but replaces silent data corruption with a loud failure until proper error propagation is implemented. --- Cargo.lock | 1 + 1 file changed, 1 insertion(+) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index 047ce92..538340c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2054,6 +2054,7 @@ dependencies = [ name = "shirabe-php-rpc" version = "0.0.1" dependencies = [ + "anyhow", "shirabe-external-packages", "shirabe-php-shim", "tempfile", -- cgit v1.3.1