From 9c6ac564629fb24508f57263ce43432a87f38cc2 Mon Sep 17 00:00:00 2001 From: Joe Moran Date: Mon, 7 Sep 2026 01:15:06 -0700 Subject: [PATCH] Automatically generate 0x1c pod fault when pod time >= 80 hours --- pkg/pod/pod.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/pod/pod.go b/pkg/pod/pod.go index caac633..6bab320 100644 --- a/pkg/pod/pod.go +++ b/pkg/pod/pod.go @@ -424,6 +424,9 @@ func (p *Pod) getResponse(cmd command.Command) response.Response { var rsp response.Response getStatus, isStatusRequest := cmd.(*command.GetStatus) + if p.state.MinutesActive() >= 80 * 60 && p.state.FaultEvent == 0 { + p.state.FaultEvent = 0x1C // 0x1C = exceeded maximum pod life of 80 hours + } if !isStatusRequest || getStatus.RequestType == 0 || getStatus.RequestType == 7 { // Not a get status command or a type 0 or type 7 get status if p.state.FaultEvent == 0 {