From 30c2bd367bb4ee8e00b07e18ef6fa221a794cd13 Mon Sep 17 00:00:00 2001 From: Aaron McCarty Date: Wed, 1 Jul 2026 19:44:02 -0700 Subject: [PATCH] add MERGE_FAILED to the BranchStatus enum Mirrors the server-side status so SDK clients can read a branch left in MERGE_FAILED by failed-merge detection instead of crashing on validation. Co-Authored-By: Claude Opus 4.8 (1M context) --- infrahub_sdk/branch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/infrahub_sdk/branch.py b/infrahub_sdk/branch.py index 5f0eb854..01cbae13 100644 --- a/infrahub_sdk/branch.py +++ b/infrahub_sdk/branch.py @@ -20,6 +20,7 @@ class BranchStatus(str, Enum): NEED_UPGRADE_REBASE = "NEED_UPGRADE_REBASE" DELETING = "DELETING" MERGING = "MERGING" + MERGE_FAILED = "MERGE_FAILED" MERGED = "MERGED"