From 675669bd2c234791cd7c6f827d587aad56f323d0 Mon Sep 17 00:00:00 2001 From: Robby Cochran Date: Mon, 8 Jun 2026 06:29:20 -0700 Subject: [PATCH 1/3] X-Smart-Branch-Parent: main From 08a42fca158df0b62bdd6a669b26b9cc4e06a57c Mon Sep 17 00:00:00 2001 From: Robby Cochran Date: Mon, 8 Jun 2026 06:29:38 -0700 Subject: [PATCH 2/3] fix: redeploy when K8s namespace missing, not just gateway unreachable harness up --remote skipped deploy when the gateway CLI registration persisted from a previous session but the K8s namespace was torn down. Now checks both gateway reachability AND namespace existence. --- cmd/up.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cmd/up.go b/cmd/up.go index 7c9d83d..4e9813b 100644 --- a/cmd/up.go +++ b/cmd/up.go @@ -100,8 +100,11 @@ func upRemote(harnessDir string, gwCfg *gateway.GatewayConfig, gw gateway.Gatewa kc := k8s.New("", namespace) clusterRunner := k8s.New("", "") - // 1. Ensure gateway - if err := gw.InferenceGet(); err != nil { + // 1. Ensure gateway and namespace + gwReachable := gw.InferenceGet() == nil + _, nsErr := kc.RunKubectl(ctx, "get", "namespace", namespace) + nsExists := nsErr == nil + if !gwReachable || !nsExists { if gwCfg == nil { return fmt.Errorf("no active gateway and no gateway config — use: harness deploy ocp") } From 8f67afd3288a18bb360274712b7d25fe57ffd96b Mon Sep 17 00:00:00 2001 From: Robby Cochran Date: Mon, 8 Jun 2026 06:34:48 -0700 Subject: [PATCH 3/3] chore: add CODEOWNERS --- .github/CODEOWNERS | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..cd643d4 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @robbycochran