diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-07-20 19:28:45 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-07-20 19:29:04 +0900 |
| commit | 77ff62b1e5333cd05b6c405feb2f42d0d8dcfab8 (patch) | |
| tree | 5bc6d0372c23a7e0c655699a6dfe1d0954083178 /crates/shirabe/src/util/forgejo_url.rs | |
| parent | dc0087845355222d1cbf2820289444db3eebc87e (diff) | |
| download | php-shirabe-77ff62b1e5333cd05b6c405feb2f42d0d8dcfab8.tar.gz php-shirabe-77ff62b1e5333cd05b6c405feb2f42d0d8dcfab8.tar.zst php-shirabe-77ff62b1e5333cd05b6c405feb2f42d0d8dcfab8.zip | |
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.
Diffstat (limited to 'crates/shirabe/src/util/forgejo_url.rs')
0 files changed, 0 insertions, 0 deletions
