… bump collector 0.6.2 / agent 0.5.28)
HttpSendBatch logged every failed send at Error, including the in-flight POST that StopWorker cancels during a graceful stop ('HTTP 0 Operation was aborted by an application callback') — noise on every restart, the same class as the stop-drop (already Debug). Now: if send_cancelled_ is set (stop path), log at Debug; a genuine failure while running still logs Error. Read under hang_mutex_ (not held by the caller there).
Per src/native/collector/AGENTS.md this is a behavior change with no ABI change -> collector PATCH 0.6.1 -> 0.6.2; per src/agent/AGENTS.md the collector ships in the agent -> agent 0.5.27 -> 0.5.28.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
What
HttpSendBatchlogged every failed send at Error — including the in-flight POST thatStopWorkercancels during a graceful stop (HTTP 0 Operation was aborted by an application callback), seen on every restart. That's the same "expected shutdown noise" class as the stop-drop (made Debug in #1225).Now: if the failure happened while
send_cancelled_is set (the stop path), log it at Debug; a genuine send failure while running still logs at Error (deduplicated).send_cancelled_is read underhang_mutex_— safe, because the caller's guard scope ends beforesender_(batch).Versions (the discipline)
0.6.1 → 0.6.2(HSM_COLLECTOR_VERSION+CMakeLists.txt). →src/native/collector/AGENTS.md0.5.27 → 0.5.28. →src/agent/AGENTS.mdStacked on #1229 (agent 0.5.27); base retargets to master when #1229 merges.
Verify
After deploy, a graceful stop/restart shows no
[ERROR] Failed to send … aborted(now Debug, filtered by the agent's Info min-level) — matching the already-quiet stop-drop.🤖 Generated with Claude Code