feat: unified static syntax validator, Stata e2e validation, and cross-language parity checks - #786
Conversation
|
[CI/CD Fix] Cause of FailureThe Solution Applied
|
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
equipose | 1500b92 | Commit Preview URL Branch Preview URL |
Aug 13 2026, 03:00 PM |
0bfe65d to
1500b92
Compare
|
🎉 This PR is included in version 1.51.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Summary
This PR successfully implements unified static syntax validation, integrates on-the-fly Stata validations inside Playwright end-to-end tests, builds a path-aware conditional skipping framework for local Python/R runs, and introduces cross-language structural and sequence parity verification to preserve GCP and FDA data integrity.
Changes Made
Unified Static Syntax Validator (
scripts/validate-syntax.mjs):artifacts/code-generation-fixtures."test:syntax": "tsx scripts/validate-syntax.mjs"topackage.json.main()when run directly as a script (ignoring execution when imported).On-the-Fly Stata Static Validation in E2E (
tests_e2e/code-generation-fixture.spec.ts):.dofile is validated dynamically as soon as it is extracted, throwing an descriptive error upon syntax anomalies.Graceful Runtime Bypassing for Python/R:
python3andRscriptpresence using path-checking utilities.Cross-Language Sequence & Structural Parity Checks:
Verification
pnpm test:unitsuccessfully (100% pass rate).CODEGEN_FIXTURES=1 npx playwright test tests_e2e/code-generation-fixture.spec.ts --project=chromium) successfully, printing explicit structural and sequence parity confirmations.pnpm test:syntaxsuccessfully to validate the final exported SAS and Stata files underartifacts/code-generation-fixtures.