ci(sdk): add proto drift detection and sync notifications - #3123
Open
Ygnas wants to merge 1 commit into
Open
Conversation
Add automated proto drift detection for Go and TypeScript SDKs with issue-based notifications when SDK builds break due to proto changes. Signed-off-by: Ignas Baranauskas <ibaranau@redhat.com>
Ygnas
requested review from
a team,
derekwaynecarr,
mrunalp and
sjenning
as code owners
September 2, 2026 08:42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add daily CI workflow that detects proto drift in Go and TypeScript SDKs, runs build checks when drift is found, and auto-manages GitHub issues (create/update on breakage, close on resolution).
Related Issue
Closes #2825
Changes
.github/workflows/sdk-sync-dashboard.yml— New workflow: runs daily at 06:00 UTC, checks both SDKs in a single job, manages drift issues per-SDK via matrix strategytasks/go.toml— Two new tasks:go:proto:drift(generates fresh protos to a tmpdir, diffs against committed files, outputs JSON report) andgo:proto:build-check(delegates to shared build check script)tasks/scripts/sdk_build_check.sh— Generic step runner: executes a sequence of mise tasks, captures logs, outputs structured pass/fail JSONtasks/scripts/sdk_sync.py— Issue management CLI: generates issue bodies with drift tables, build logs, fix commands, and an agent-consumable prompt; deduplicates by labelTesting
mise run go:proto:drift— outputs valid JSON when in sync (exit 0) and detects drift when a proto file is modified (exit 1, correct JSON)mise run go:proto:build-check— reports success when gen/build/test passmise run sdk:ts:proto:drift— outputs valid JSON when in syncmise run sdk:ts:proto:build-check— reports success when gen/typecheck/test passsdk_sync.py generate_issue_body— produces correct issue body for both Go and TypeScriptmise run pre-commitpassesworkflow_dispatchChecklist
cc @rhuss