Skip to content

Commit 85f6615

Browse files
committed
fix(test): replace expired process tree event ID
1 parent f4f7e23 commit 85f6615

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

internal/infra/mcp/tools/utils.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,4 +163,3 @@ func ParseTimeWindow(request mcp.CallToolRequest, clk clock.Clock) (TimeWindow,
163163

164164
return TimeWindow{Start: start, End: end}, nil
165165
}
166-

internal/infra/sysdig/client_process_tree_integration_test.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ var _ = Describe("Sysdig Process Tree Client", func() {
2424
client, err = sysdig.NewSysdigClient(sysdig.WithFixedHostAndToken(sysdigURL, sysdigToken))
2525
Expect(err).ToNot(HaveOccurred())
2626

27-
eventID = "1890fe2753b95afb04554c419d131851"
27+
// This event ID points to a real syscall event with a process tree. It will expire
28+
// due to Sysdig's retention policy. When it does, replace it with a recent syscall event
29+
// that has a process tree (see AGENTS.md §4.5 for instructions).
30+
eventID = "18ad8dc65d2d18e391f742f8e55e7778"
2831
})
2932

3033
Context("when fetching the process tree for an event", func() {

0 commit comments

Comments
 (0)