Skip to content

ci: proto/ktms/v1 must match KTMS, and internal/gen the copy - #25

Merged
coyl merged 2 commits into
release/v1.0.0from
ci/proto-parity
Oct 23, 2026
Merged

coyl merged 2 commits into
release/v1.0.0from
ci/proto-parity

Conversation

@coyl

@coyl coyl commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

The part of ai-process/docs#68 that needs no BSR: a proto job diffs proto/ktms/v1/*.proto against KTMS at E2E_KTMS_REF (scripts/e2e.refs) and checks that internal/gen is generated from the copy. KTMS already checks its usage-proto/ copy against light-tokenmeter. Both pass locally.

coyl added 2 commits October 23, 2026 18:37
A proto job compares the copy with KTMS at the ref the e2e test uses and
regenerates internal/gen, so the console's contract cannot drift from the
gateway's unnoticed.
…in run

scripts/proto-check.sh clones KTMS at KTMS_REF or the e2e pair, diffs the
whole proto/ktms/v1 directory and regenerates internal/gen from scratch, so
added or removed files count. The generator plugins are pinned, and the
daily main run checks the protocol too.
@coyl
coyl merged commit ded2220 into release/v1.0.0 Oct 23, 2026
4 checks passed
@coyl
coyl deleted the ci/proto-parity branch October 23, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant