fix(ci): compare the wire schema against the run's base revision #59
No reviewers
Labels
No labels
priority/P0
priority/P1
priority/P2
release/v0.1.0
status/blocked
status/planned
type/bug
type/design
type/test-gap
type/tracker
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
natsukium/felis!59
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/proto-compat-ci-base-19"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #19.
buf breaking --against '.git#ref=HEAD'compared the schema withitself, and the check silently passed whenever the Nix store path had
no
.gitto compare against — a breaking wire edit could land onmainwithout CI ever catching it.Summary
scripts/proto/compat.shnow selects the comparison base from thetriggering event (PR base /
github.event.before/ prior commit orrelease tag for direct pushes) instead of comparing HEAD with
itself, and fails closed when the base can't be resolved (shallow
clone, missing history) rather than passing.
missing
bufbinary fails the gate even under a livepre-release acknowledgment.
rejects a candidate that breaks a field the base only just added,
and still accepts a candidate whose base grew compatibly since the
acknowledgment was written.
PROTOCOL_MINORis pinned to the minor-version ledger with a test,and tag builds compare against the release baseline
(
proto-baseline/) instead of the acknowledgment path; the releasebaseline's own CI wiring is tracked as a follow-up in
docs/backlog.mdsince no workflow runs on tags yet.crates/felis-protocol/proto/BREAKING.md, keyed to the baserevision they cover.
docs/reference/testing.mdanddocs/explanation/architecture/ipc.mddescribe the gate's base-selection rules and the acknowledgment
mechanism; the wire gate's tag path is documented as script behavior
rather than a separate CI job.
Doc cascade
Reference (
docs/reference/testing.md,docs/reference/ipc.md) andexplanation (
docs/explanation/architecture/ipc.md) twins updatedtogether per the doc-cascade skill, plus
docs/backlog.mdfor theopen release-baseline follow-up; grepped
docs/for the changed terms(base selection, acknowledgment, PROTOCOL_MINOR) to confirm no stale
references remain.
Verified: just check green (fmt, clippy, nextest, deny), pi review PASS.