Skip to content

chore(proto): sync ktms.v1 with KTMS 1.3.6 and test against it - #34

Merged
coyl merged 2 commits into
mainfrom
fix/proto-sync
Oct 27, 2026
Merged

coyl merged 2 commits into
mainfrom
fix/proto-sync

Conversation

@coyl

@coyl coyl commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

The daily E2E against main run has been red since 2026-10-24: its proto step found that proto/ktms/v1 no longer matches KTMS main.

Changes

  • proto/ktms/v1 copied whole from KTMS v1.3.6 (identical to main today). The only difference was node.proto: NodeRegistryService.PullNodeUsage with NodeUsageRecord (including outcome = 11 and error_code = 12), PullNodeUsageRequest/Response.
  • internal/gen regenerated from scratch (buf generate, as scripts/proto-check.sh does).
  • scripts/e2e.refs: E2E_KTMS_REF v1.2.0 → v1.3.6. E2E_TOKENMETER_REF stays v1.1.0, the latest light-tokenmeter release.
  • CHANGELOG [Unreleased] entry. The console does not call the new RPC; node usage in the UI is a separate task.

Checks

  • scripts/proto-check.sh: green against v1.3.6 and against KTMS_REF=main.
  • go vet ./..., go test ./... -race: green.
  • scripts/e2e.sh against the new refs: see CI.

Once this is merged, the daily e2e on main turns green again: the copy matches KTMS main.

coyl added 2 commits October 27, 2026 14:01
Copies proto/ktms/v1 from KTMS v1.3.6 (same as main): node.proto gains
NodeService.PullNodeUsage with NodeUsageRecord. internal/gen is
regenerated; the console does not use the new RPC yet.
@coyl
coyl merged commit 158a980 into main Oct 27, 2026
4 checks passed
@coyl
coyl deleted the fix/proto-sync branch October 27, 2026 13:16
@coyl coyl mentioned this pull request Oct 27, 2026
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