Skip to content

ci(sync): add reactive sync-models workflow - #107

Open
gsmith85 wants to merge 1 commit into
mainfrom
feat/reactive-sync-models
Open

gsmith85 wants to merge 1 commit into
mainfrom
feat/reactive-sync-models

Conversation

@gsmith85

@gsmith85 gsmith85 commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds the Stage 1 reactive model synchronization workflow (sync-models.yml) to keep generated Pydantic models aligned with upstream UCP specification changes (ucp#909).

  • Listens for ucp-schemas-updated repository dispatch events from Universal-Commerce-Protocol/ucp, daily scheduled reconciliation runs, and manual workflow dispatches across main (draft) and release/YYYY-MM-DD (release) branches.
  • Verifies commit ancestry against ucp-lock.json, installs the SHA256-verified ucp-schema CLI binary, regenerates models, skips lockfile-only updates when generated models have zero diff, runs the unit test suite, and opens or updates a rolling pull request for maintainer review.
  • Files or updates a deduplicated issue when a target release/YYYY-MM-DD branch has not been cut yet (release-cut-needed) or when model generation or testing fails (codegen-sync-failure).

@damaz91 damaz91 added the status:needs-triage Signal that the PR is ready for human triage label Nov 5, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status:needs-triage Signal that the PR is ready for human triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants