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. --- crates/shirabe-php-rpc/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/shirabe-php-rpc/Cargo.toml') diff --git a/crates/shirabe-php-rpc/Cargo.toml b/crates/shirabe-php-rpc/Cargo.toml index 115381c..093b10e 100644 --- a/crates/shirabe-php-rpc/Cargo.toml +++ b/crates/shirabe-php-rpc/Cargo.toml @@ -6,6 +6,7 @@ edition.workspace = true [dependencies] shirabe-external-packages.workspace = true shirabe-php-shim.workspace = true +anyhow.workspace = true tempfile.workspace = true [lints] -- cgit v1.3.1