Skip to content

ci: add cross-repo schema parity gate for wasmagent-js and trace-pipeline - #162

Merged
telleroutlook merged 1 commit into
mainfrom
ci/cross-repo-schema-parity-gate
Jul 31, 2026
Merged

ci: add cross-repo schema parity gate for wasmagent-js and trace-pipeline#162
telleroutlook merged 1 commit into
mainfrom
ci/cross-repo-schema-parity-gate

Conversation

@telleroutlook

Copy link
Copy Markdown
Contributor

Adds .github/workflows/schema-parity.yml that runs on every PR touching schemas/.

The workflow checks out wasmagent-js and trace-pipeline at their latest main and runs scripts/check-schema-parity.py, which verifies:

  1. No downstream consumer re-declares a canonical $id locally
  2. All schema_version string literals in TS/Python code are in the canonical enum

This prevents a recurrence of the v1.11.0 breakage where 8 schema fields drifted between wasmagent-js and trace-pipeline without a gate to catch it.

Closes #161

@telleroutlook
telleroutlook merged commit ac80935 into main Jul 31, 2026
3 checks passed
@telleroutlook
telleroutlook deleted the ci/cross-repo-schema-parity-gate branch July 31, 2026 09:49
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.

Add cross-repo schema parity CI gate: wasmagent-js and trace-pipeline must match canonical schemas

1 participant