fix: fix MySQL and stripped_partial_indexes test issues#5793
fix: fix MySQL and stripped_partial_indexes test issues#5793jacek-prisma merged 1 commit intomainfrom
Conversation
WalkthroughTest suite updates across query engine, write tests, and schema describer tests. Query engine tests now target MariaDB WASM alongside MySQL 8. Snapshot-based assertions replaced with programmatic validations in data type tests. Schema describer tests updated to reflect new stripped_partial_indexes field in expected output. Changes
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Tip Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs). Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Merging this PR will not alter performance
Comparing Footnotes
|
There was a problem hiding this comment.
Actionable comments posted: 1
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
schema-engine/sql-schema-describer/tests/describers/postgres_describer_tests.rs (1)
2606-3015:⚠️ Potential issue | 🟠 MajorRegenerate this entire snapshot instead of patching one field.
stripped_partial_indexesis not the only mismatch here. This expectation is still on the oldSqlSchemadebug shape (columns, inlinedefault, missing current table/default/check/view fields), so adding one line will not makemultiple_schemas_are_described()pass if the test runs.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro
Run ID: 3e5a15d0-29e4-438d-97e2-a3404235f2c9
📒 Files selected for processing (4)
query-engine/connector-test-kit-rs/query-engine-tests/tests/queries/data_types/native/mysql.rsquery-engine/connector-test-kit-rs/query-engine-tests/tests/writes/data_types/native_types/mysql.rsschema-engine/sql-schema-describer/tests/describers/mysql_describer_tests.rsschema-engine/sql-schema-describer/tests/describers/postgres_describer_tests.rs
schema-engine/sql-schema-describer/tests/describers/mysql_describer_tests.rs
Show resolved
Hide resolved
Wasm Query Compiler File Size
|
Fixes:
stripped_partial_indexesmariadb-mysql.js.wasmfor some MySQL tests that caused them not to be run/test-all
Summary by CodeRabbit