You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move sync checking logic from workflow into a reusable Python script
that verifies generated Terraform types match upstream schemas.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,6 +65,22 @@ uv run python scripts/generate_terraform_types.py --output full
65
65
66
66
The script fetches the CRD field descriptions and Helm values from the Materialize repository and generates corresponding Terraform variable type definitions.
67
67
68
+
### Checking Schema Sync
69
+
70
+
To verify that the generated Terraform types are in sync with upstream Materialize schemas:
71
+
72
+
```bash
73
+
uv run python scripts/check_schema_sync.py
74
+
75
+
# Show CRD fields for debugging
76
+
uv run python scripts/check_schema_sync.py --show-fields
77
+
78
+
# Check against a specific version
79
+
uv run python scripts/check_schema_sync.py --version v26.1.0
80
+
```
81
+
82
+
This check runs automatically in CI via the `check-schema-sync` workflow.
0 commit comments