mirror of
https://github.com/kvcache-ai/AgentENV.git
synced 2026-11-05 01:17:36 +00:00
[PR #340] [MERGED] observability: log why a heartbeat failed #362
Labels
No labels
bug
documentation
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/AgentENV#362
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/kvcache-ai/AgentENV/pull/340
Author: @nblintao
Created: 10/2/2026
Status: ✅ Merged
Merged: 10/3/2026
Merged by: @yingdi-shan
Base:
main← Head:fix/heartbeat-error-chain📝 Commits (1)
03b2618observability: log why a heartbeat failed📊 Changes
1 file changed (+10 additions, -3 deletions)
View changed files
📝
src/observability/reporter.rs(+10 -3)📄 Description
The reporter builds its failures as
anyhowerrors withcontext(), and every log site prints them withDisplay, which shows only the outermost context. That context names the step that failed but never why: a failed heartbeat reads asheartbeat rpc failedwhether the call was refused, timed out, or never reached a connection at all. Chasing one of these meant reproducing it rather than reading the log.JoinError, which has none.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.