Files
archie/proto/buf.yaml
T
sam 8599fd627e fix(proto): keep EventsSinceRequest.since_id's wire name
The cursor change renamed the field to 'cursor' as well as widening its
type, which buf breaking flags as FIELD_SAME_NAME and FIELD_SAME_JSON_NAME
on top of the type change. The name buys nothing: the field is already
documented as an opaque cursor, and the number and name are the wire
identity. Adopt the gate's verdict and change only the type, keeping the
break confined to the one rule already recorded in proto/buf.yaml.
2026-09-23 03:12:48 +10:00

25 lines
999 B
YAML

version: v2
modules:
- path: .
lint:
use:
- STANDARD
breaking:
use:
- FILE
# Two intentional wire breaks, both widening an id-shaped field from int64 to
# string in place, on the same field numbers and names. The PocketBase
# migration moved the event-capture contract's record ids to PocketBase's
# string record ids: CapturedEvent, Mapping, Binding, RecordDispatchRequest,
# EnqueueBindingTaskRequest, Task.binding_id and the Id-bearing
# request/response messages. Separately, EventsSinceRequest.since_id now
# carries the opaque "<at>|<row id>" resume cursor instead of a rowid.
#
# The State Store contract's two halves ship from this repository together, so
# they cannot be versioned apart. Only the type rule is relaxed, and only in
# this file: every other FILE breaking rule still applies here, so a rename,
# a renumber or a removal is still caught, and no other contract is affected.
ignore_only:
FIELD_SAME_TYPE:
- state/v1/state.proto