From d3a8eb9a6b567ea7c57246cce6aa610271bf0021 Mon Sep 17 00:00:00 2001 From: Benjamin Leggett Date: Fri, 20 Feb 2026 12:14:00 -0500 Subject: [PATCH 1/2] Tweak `buf breaking` rules to be clearer about what we want done when fields/enums are deleted. Also remove deprecated `ZONE_STATE_EXITED` --- buf.yaml | 8 ++++++++ protect/control/v1/common.proto | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/buf.yaml b/buf.yaml index 6dda67c..fca483b 100644 --- a/buf.yaml +++ b/buf.yaml @@ -16,5 +16,13 @@ lint: use: - STANDARD breaking: + ignore_only: + EXTENSION_NO_DELETE: + - protect/control/v1/ + ENUM_VALUE_NO_DELETE: + - protect/control/v1/ + FIELD_NO_DELETE: + - protect/control/v1/ use: + - WIRE_JSON - FILE diff --git a/protect/control/v1/common.proto b/protect/control/v1/common.proto index 68e99b0..c213140 100644 --- a/protect/control/v1/common.proto +++ b/protect/control/v1/common.proto @@ -183,7 +183,8 @@ enum ZoneState { ZONE_STATE_CREATING = 1; ZONE_STATE_CREATED = 2; ZONE_STATE_READY = 3; - ZONE_STATE_EXITED = 4; + reserved 4; + reserved "ZONE_STATE_EXITED"; ZONE_STATE_DESTROYING = 5; ZONE_STATE_DESTROYED = 6; ZONE_STATE_FAILED = 7; From 89605f34396842f43d6e2d116d60eb25b5315ea3 Mon Sep 17 00:00:00 2001 From: Benjamin Leggett Date: Fri, 20 Feb 2026 12:22:15 -0500 Subject: [PATCH 2/2] Also exclude these --- buf.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/buf.yaml b/buf.yaml index fca483b..2bb874a 100644 --- a/buf.yaml +++ b/buf.yaml @@ -17,6 +17,10 @@ lint: - STANDARD breaking: ignore_only: + FIELD_SAME_NAME: + - protect/control/v1/ + FIELD_SAME_JSON_NAME: + - protect/control/v1/ EXTENSION_NO_DELETE: - protect/control/v1/ ENUM_VALUE_NO_DELETE: