From 77ff62b1e5333cd05b6c405feb2f42d0d8dcfab8 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 20 Jul 2026 19:28:45 +0900 Subject: feat(php-rpc): attach worker process state to request I/O errors A dead worker and a live one hitting a framing bug both surface as a raw socket I/O error (e.g. "Broken pipe"), which doesn't say whether the child crashed, was signaled, or is still running. Query the child's exit status via try_wait() and attach it as anyhow::Context so the panic message shows the root cause directly. --- scripts/bench/create-project.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/bench/create-project.sh b/scripts/bench/create-project.sh index 5277cd1f..74d183bf 100755 --- a/scripts/bench/create-project.sh +++ b/scripts/bench/create-project.sh @@ -32,8 +32,8 @@ hyperfine \ --prepare "rm -rf '$TARGET_DIR-shirabe' '$TARGET_DIR-composer'" \ --export-json "$OUTDIR/results-$PACKAGE_SLUG.json" \ --export-markdown "$OUTDIR/results-$PACKAGE_SLUG.md" \ - --ignore-failure \ - --command-name Shirabe "'$BIN' create-project --profile --no-plugins --no-scripts --no-audit '$PACKAGE' '$TARGET_DIR-shirabe'" \ + --show-output \ + --command-name Shirabe "RUST_BACKTRACE=1 '$BIN' create-project --profile --no-plugins --no-scripts --no-audit '$PACKAGE' '$TARGET_DIR-shirabe'" \ --command-name Composer "composer create-project --profile --no-plugins --no-scripts --no-audit '$PACKAGE' '$TARGET_DIR-composer'" echo ">> results: $OUTDIR/results-$PACKAGE_SLUG.json" >&2 -- cgit v1.3.1