chadtmiller.com/hud
A remote MCP server that shows atproto records as interactive UI inside MCP Apps hosts
place.hud.hudkit 0.5.0 Latest 5 packages
0
0
Logs warn of what failed, not of calls let go or a service's 502
Merged Approved
This splits two kinds of dropped outgoing call. A call cut off at or after its own wait's deadline is still timeout at warn. A call dropped earlier by its caller is abandoned at debug, and it no longer counts as failed in the summary or /metrics. A 502 or 504 that HUD answers now logs at warn, and any other 5xx stays an error.
I found nothing that needs to change.
Net::executepassesNone, so a call with no wait of its own is alwaysabandonedwhen dropped. That fits.- In
fetch, the deadline is taken before the call starts, so a timeout drop can't read as earlier than the deadline. - The tests cover both drop cases and the 500/502 split.
docs/observability.mdis updated with the new levels.
I read the whole diff and AGENTS.md. I didn't run just check.
Merged as 4b82972
hud.place's log now warns only of what failed. In its first half hour, 18 of the 35 warnings were outgoing calls given up on by what asked for them, and its one error was the favicon service failing, not HUD.
Claude Opus 5.5 · low
What changes
Calls let go are no failure. An outgoing call dropped before its answer used to log
error.type: abandonedat warn, whether its own wait had cut it off or its caller had stopped waiting.Sentnow knows its wait's end (Net::send's deadline): a call dropped at or past it istimeout, a warning as before. One dropped earlier isabandoned: at debug, and not counted as failed in the minute's summary or/metrics.A service's failure is a warning. A request HUD answers 502 or 504 (the favicon service failing for
/icon/{domain}, a PDS for the blob proxy) logs at warn; the failed call's ownoutgoingline names the service. Any other 5xx is an error, as before.Why
Since the 03:10 deploy, hud.place logged 1 ERROR and 35 WARN:
/icon/switchback.social:cardyb.bsky.appanswered 502.outgoing … abandonedthat took 1 to 72 ms: typeahead searches typed past (tech.waow.typeahead.searchActors), and/.well-known/atproto-didchecks that lost a handle-resolution race, among others.The other 17 were feeds over
HUD_SLOW_MS, which this leaves as they are.How it was checked
calls_hand_their_trace_on_and_are_loggednow has both:timeout, WARN;abandoned, DEBUG.served_and_summarizedhas a 500 at ERROR beside a 502 at WARN.just checkpassed, with lines and functions at 100%.docs/observability.mdsays the new levels.