Files
penguin-harness/changelog/0.2.1/2026-08-04-cli-web-probe-diagnostics.md
T
Yaowei Zheng 88916880eb release: 0.2.1 (#204)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-05 00:30:55 +08:00

733 B

CLI: penguin web reports readiness-probe failures

penguin web used to discard every readiness-probe exception and print the same generic "not responding yet" line, which read as the server being slow even when the real cause was a firewall silently dropping loopback requests. The probe now retains the last nested Node/undici error, classifies it (connection timeout, refused, reset/socket, permission, DNS, unknown), and prints an actionable, localized diagnosis on stderr — the timeout case asks the user to allow PenguinHarness to communicate on the configured local port rather than telling anyone to disable a firewall. Any HTTP response still counts as ready, and the classification is covered by focused unit tests.