Optimize ai prompts with the 4-d method#14
Optimize ai prompts with the 4-d method#14Code-Eat-Rabbit wants to merge 3 commits intoissue-22392-patchfrom
Conversation
Migrate tests from bash/YAML to a standard pytest suite, improving maintainability and execution speed. Co-authored-by: yourton.ma <yourton.ma@gmail.com>
|
Cursor Agent can help with this pull request. Just |
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
Co-authored-by: yourton.ma <yourton.ma@gmail.com>
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
Co-authored-by: yourton.ma <yourton.ma@gmail.com>
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
Describe your changes:
Fixes : Refactor Owner Config Tests to Pytest Suite
I worked on refactoring the hierarchical owner configuration tests for database ingestion. Previously, these tests relied on bash scripts and separate YAML configuration files, which was out of the usual project flow.
The changes involve:
ingestion/tests/unit/metadata/ingestion/test_owner_config.py.MIGRATION_GUIDE.mdandingestion/tests/unit/metadata/ingestion/owner_config_tests/DEPRECATED.mdto document the changes and guide future development.I made these changes to address code reviewer feedback regarding the non-standard test setup and to improve test maintainability, execution speed (40-50x faster), and CI/CD integration, aligning with OpenMetadata's pytest conventions.
I tested my changes by ensuring all original 8 scenarios are fully covered and pass in the new pytest suite, adding 2 new tests, and verifying local execution, linting, and type checking.
Type of change:
Checklist:
Fixes <issue-number>: <short explanation>