From 3292ef5117b3dd7d74566d671f471c8cf034dcd1 Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Wed, 23 Sep 2026 02:59:03 +1000 Subject: [PATCH] fix(proto): record the deliberate int64->string break from the PocketBase migration The event-capture contract moved its record ids from the SQLite rowid (int64) to PocketBase's string record ids in place, on the same field numbers: 16 fields across CapturedEvent, Mapping, Binding, RecordDispatchRequest, EnqueueBindingTaskRequest, Task.binding_id and the Id-bearing request/response messages. buf breaking has flagged them since that commit landed, so task check has never passed on this branch. Both halves of the State Store contract ship from this repository together, so they cannot be versioned apart. Record the break narrowly: only FIELD_SAME_TYPE is relaxed, and only for state/v1/state.proto. Every other FILE rule still applies to that file and no other contract is affected. --- proto/buf.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/proto/buf.yaml b/proto/buf.yaml index f74da98a3..6d9f7222d 100644 --- a/proto/buf.yaml +++ b/proto/buf.yaml @@ -7,3 +7,15 @@ lint: breaking: use: - FILE + # The PocketBase migration moved the event-capture contract's record ids from + # the SQLite rowid (int64) to PocketBase's string record ids, in place, on the + # same field numbers: 16 fields across CapturedEvent, Mapping, Binding, + # RecordDispatchRequest, EnqueueBindingTaskRequest, Task.binding_id and the + # Id-bearing request/response messages. That is an intentional wire break, and + # both ends of the State Store contract ship from this repository together, so + # the two halves cannot be versioned apart. Only the type rule is relaxed, and + # only in this file: every other FILE breaking rule still applies here, and no + # other contract is affected. + ignore_only: + FIELD_SAME_TYPE: + - state/v1/state.proto