Commit 8f34c21
fix(sentry): Exclude peer anomalies from shutdown summary level escalation (#302)
Peer anomalies (peer-count-high, peer-age-high) are environmental
observations common in multi-client setups, not indicators of a
problem with the shutting-down process. Exclude them from the level
escalation logic so normal shutdowns emit at info instead of warning.
Peer anomaly data is still captured in the event snapshot extra data
and tracked independently via recordMcpLifecycleAnomalyMetric. Only
process-local anomalies (high-rss, long-lived-high-rss) and cleanup
failures now escalate to warning.
Fixes XCODEBUILDMCP-Z
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent f996fb2 commit 8f34c21
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
405 | | - | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
406 | 409 | | |
407 | 410 | | |
408 | 411 | | |
| |||
412 | 415 | | |
413 | 416 | | |
414 | 417 | | |
415 | | - | |
| 418 | + | |
416 | 419 | | |
417 | 420 | | |
418 | 421 | | |
| |||
0 commit comments