Skip to content

Commit 73ead9c

Browse files
committed
chore: bump flashduty-sdk for AlertsTotal regression fix
Pins to flashcatcloud/flashduty-sdk@0340ac6, which always populates AlertsTotal in ListIncidents regardless of IncludeAlerts (SDK PR #8). Restores the volume-gauge purpose of `alerts_total` in query_incidents responses — v0.9.8 dropped IncludeAlerts:true to shrink LLM context but the SDK only filled AlertsTotal inside that gated branch, so every incident silently reported alerts_total=0. With the SDK fix, the count is back without re-inflating the response (per-incident fetch uses limit=1 and discards items). Also picks up SDK PR #7 (UpdateIncident routes built-in fields through /incident/reset) which was already on the prior pin.
1 parent 945456f commit 73ead9c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.25.5
44

55
require (
66
github.com/bluele/gcache v0.0.2
7-
github.com/flashcatcloud/flashduty-sdk v0.8.1-0.20260510062220-7b45b9d90798
7+
github.com/flashcatcloud/flashduty-sdk v0.8.1-0.20260510070250-0340ac6a5a33
88
github.com/google/go-github/v72 v72.0.0
99
github.com/josephburnett/jd v1.9.2
1010
github.com/mark3labs/mcp-go v0.52.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1
88
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
99
github.com/dlclark/regexp2 v1.11.0 h1:G/nrcoOa7ZXlpoa/91N3X7mM3r8eIlMBBJZvsz/mxKI=
1010
github.com/dlclark/regexp2 v1.11.0/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8=
11-
github.com/flashcatcloud/flashduty-sdk v0.8.1-0.20260510062220-7b45b9d90798 h1:FK1Ueq3ROSxCTTKX8rq0m5x3JcbAsoTnLsty5klbMEs=
12-
github.com/flashcatcloud/flashduty-sdk v0.8.1-0.20260510062220-7b45b9d90798/go.mod h1:dG4eJfdZaj4jNBMwEexbfK/3PmcIMhNeJ88L/DcZzUY=
11+
github.com/flashcatcloud/flashduty-sdk v0.8.1-0.20260510070250-0340ac6a5a33 h1:HnB++VulEnF+oIsNwKK8QBv4CCdG+ztdFKLScI4bXlc=
12+
github.com/flashcatcloud/flashduty-sdk v0.8.1-0.20260510070250-0340ac6a5a33/go.mod h1:dG4eJfdZaj4jNBMwEexbfK/3PmcIMhNeJ88L/DcZzUY=
1313
github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8=
1414
github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0=
1515
github.com/fsnotify/fsnotify v1.8.0 h1:dAwr6QBTBZIkG8roQaJjGof0pp0EeF+tNV7YBP3F/8M=

0 commit comments

Comments
 (0)