You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shorter watchdog tier for ephemeral commands: terminal_data / tunnel_data / desktop input (isEphemeralCommand, agent/internal/heartbeat/heartbeat.go:3547) should complete in milliseconds; the 2h tier is far too coarse to catch a wedged interactive path early. Add a short tier (e.g. 60s log-only) for ephemeral command types.
Description
Two follow-ups deliberately not taken in PR #2395 (#2387 hardening), both blocked on open PRs merging:
Fleet-level wedged-worker visibility: PR fix(agent): bound worker-wedging blockers that retain command payloads (#2387) #2395 adds a log-only 2h in-flight watchdog in
executeCommandViaPool. The count of in-flight/overdue commands should ride the heartbeat payload so wedged workers are visible fleet-wide from the dashboard — this is exactly the signal that would have shortcut the [Agent] macOS agent retains ~2.5 GB of live, compressed heap (root cause unconfirmed — evidence + leading suspect) #2387 investigation. Natural home: theagentRuntimegauges object added by PR feat(agent): runtime memory gauges on heartbeat + on-demand pprof capture (#2389) #2394 (which lands indevice_metrics.custom_metrics).Shorter watchdog tier for ephemeral commands: terminal_data / tunnel_data / desktop input (
isEphemeralCommand,agent/internal/heartbeat/heartbeat.go:3547) should complete in milliseconds; the 2h tier is far too coarse to catch a wedged interactive path early. Add a short tier (e.g. 60s log-only) for ephemeral command types.Blocked On
Affected Files
agent/internal/heartbeat/heartbeat.goagent/internal/collectors/runtime_stats.go(added in feat(agent): runtime memory gauges on heartbeat + on-demand pprof capture (#2389) #2394)Refs #2387.