Skip to content

ci(sdk): add proto drift detection and sync notifications - #3123

Open
Ygnas wants to merge 1 commit into
NVIDIA:mainfrom
Ygnas:feat/sdk-proto-sync-ci
Open

ci(sdk): add proto drift detection and sync notifications#3123
Ygnas wants to merge 1 commit into
NVIDIA:mainfrom
Ygnas:feat/sdk-proto-sync-ci

Conversation

@Ygnas

@Ygnas Ygnas commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

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 strategy
  • tasks/go.toml — Two new tasks: go:proto:drift (generates fresh protos to a tmpdir, diffs against committed files, outputs JSON report) and go: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 JSON
  • tasks/scripts/sdk_sync.py — Issue management CLI: generates issue bodies with drift tables, build logs, fix commands, and an agent-consumable prompt; deduplicates by label

Testing

  • 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 pass
  • mise run sdk:ts:proto:drift — outputs valid JSON when in sync
  • mise run sdk:ts:proto:build-check — reports success when gen/typecheck/test pass
  • sdk_sync.py generate_issue_body — produces correct issue body for both Go and TypeScript
  • mise run pre-commit passes
  • Verify workflow runs successfully via workflow_dispatch

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)
  • Architecture docs updated (if applicable)

cc @rhuss

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>
@copy-pr-bot

copy-pr-bot Bot commented Sep 2, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

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.

feat(ci): automated proto drift detection and SDK sync notifications

1 participant