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
fix: add CI rule to RULES.md and fix node wrapping in v16-to-v17 transformer
- Added 'DO NOT LOOK AT CI' rule to RULES.md as requested
- Fixed DeclareCursorStmt, CreateAmStmt, CreateForeignTableStmt to return properly wrapped objects
- Improved 16-17 test count from 234/258 to 247/258 passing tests
Co-Authored-By: Dan Lynch <[email protected]>
Always consult the enum files when debugging transformation issues involving numeric or string values that appear to be op codes or enum constants.
208
208
209
+
## DO NOT LOOK AT CI — only work locally with tests.
210
+
211
+
**⚠️ CRITICAL RULE: Never look at CI logs or use CI-related commands during development.**
212
+
213
+
When debugging transformation issues:
214
+
- Run tests locally using `yarn test __tests__/kitchen-sink/13-14` or similar
215
+
- Examine local test output and failure messages
216
+
- Reproduce issues locally and verify fixes locally
217
+
- Only push changes after verifying they work locally
218
+
- Do not use `gh run view`, `git_pr_checks`, or other CI inspection commands
219
+
220
+
This ensures faster feedback loops and prevents dependency on external CI systems during development.
221
+
209
222
## Summary
210
223
211
224
Always use `@pgsql/parser` for multi-version PostgreSQL AST parsing in the transform package. This is the only way to get accurate version-specific results and build working transformers. Remember that all parser methods are async and must be awaited.
0 commit comments