feat(ci): add SDK proto sync CI with drift detection and dashboard#2344
Open
rhuss wants to merge 1 commit into
Open
feat(ci): add SDK proto sync CI with drift detection and dashboard#2344rhuss wants to merge 1 commit into
rhuss wants to merge 1 commit into
Conversation
rhuss
requested review from
a team,
derekwaynecarr,
maxamillion and
mrunalp
as code owners
July 17, 2026 10:35
5 tasks
rhuss
force-pushed
the
6114-sdk-proto-sync-ci-clean
branch
2 times, most recently
from
July 17, 2026 12:24
d026b76 to
f9480c8
Compare
Add automated proto drift detection for multi-language SDKs: - sdk_sync.py: Python script with six subcommands (drift-report, dashboard, issue-body, wiki-push, manage-issue, dispatch) for testable, lintable sync logic - sdk_sync_test.py: 19 pytest tests covering drift detection, dashboard generation, issue body formatting, log truncation, wiki push, issue management, and repository dispatch - go:proto:drift mise task: calls sdk_sync.py drift-report - go:proto:build-check mise task: runs full sync+gen+build+test pipeline - sdk-proto-check.yml: PR gate workflow with non-blocking warning annotations - sdk-sync-dashboard.yml: scheduled daily workflow for wiki dashboard, agent-actionable issue creation, and repository_dispatch Workflows are thin orchestration (call Python for data and GitHub operations). All logic is in the Python script, following the existing tasks/scripts/ pattern (release.py, sync_docs_website.py). Signed-off-by: Roland Huß <rhuss@redhat.com>
rhuss
force-pushed
the
6114-sdk-proto-sync-ci-clean
branch
from
July 17, 2026 12:39
f9480c8 to
c55f073
Compare
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
Adds automated proto drift detection and remediation infrastructure for multi-language SDKs, building on the proto management approach discussed in #2271.
In PR #2271, we discussed how SDK proto files are copied from
proto/into each SDK directory to decouple SDK maintenance from core API evolution. This PR implements the automation we proposed to make that model work reliably: CI-based drift detection, a status dashboard, and agent-actionable issue creation when SDKs fall behind.Merge order
What this adds
Mise tasks (locally testable, no GitHub dependency):
go:proto:drift: Comparesproto/*.protoagainstsdk/go/proto/*.proto, outputs a JSON report with per-file sync status (synced/modified/added/removed) and diff line counts. Exit code 0 if synced, 1 if drifted.go:proto:build-check: Runs the full remediation pipeline (sync, generate, build, test) and reports which step failed with its log output.PR gate workflow (
sdk-proto-check.yml):pull-request/*branchesScheduled dashboard workflow (
sdk-sync-dashboard.yml):workflow_dispatchsdk-sync:<lang>labelrepository_dispatchevent (sdk-sync-drift) for agent pickupDesign principles:
mise run go:proto:drift)Related
Testing
mise run go:proto:drifttested locally with both synced and drifted statesbranch-checks.ymlpatterns (pr-gate action, CI container, concurrency groups)