From 3872598090e788e0c2d10aa76d2f14ac09d56ba0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 20 Mar 2026 21:36:30 +0000 Subject: [PATCH 1/2] Initial plan From 03937e03be3c5a14ed3e0e505466c294dd3be007 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 20 Mar 2026 21:41:26 +0000 Subject: [PATCH 2/2] Make NoArtifactError.Error() nil-safe Co-authored-by: bdehamer <398027+bdehamer@users.noreply.github.com> Agent-Logs-Url: https://github.com/github/deployment-tracker/sessions/3eb7150d-f2e1-4ef9-8452-686a5ddb22f0 --- pkg/deploymentrecord/client.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/deploymentrecord/client.go b/pkg/deploymentrecord/client.go index 9726523..8ea996c 100644 --- a/pkg/deploymentrecord/client.go +++ b/pkg/deploymentrecord/client.go @@ -170,6 +170,9 @@ type NoArtifactError struct { } func (n *NoArtifactError) Error() string { + if n == nil || n.err == nil { + return "no artifact found" + } return fmt.Sprintf("no artifact found: %s", n.err.Error()) }