feat(monorepo): migrate and package governance-metadata-propagation repository#147
Merged
akanksha86 merged 6 commits intoJun 29, 2026
Conversation
…ation repository - Migrate the entire external `governance-metadata-propagation` repository into the `dataplex-labs/governance-metadata-propagation/` directory. - Restructure the legacy flat codebase layout into a packaged Python format under the new namespace `metadata_propagation/`. - Modernize packaging and dependency management by replacing `requirements.txt` with a unified `pyproject.toml` (using Hatchling build-backend) and locking dependencies with `uv.lock`. - Remove the legacy mock `adk_integration` module in favor of the official `google-adk` package. - Eliminate all `sys.path.append` hacks across both source files and test suites, standardizing on clean absolute package imports. - Resolve inline context imports in `dq_propagation.py`, `gradio_app.py`, and `steward_cli.py`. - Add file exists validation inside `doc_description_plugin.py` to raise a `FileNotFoundError` immediately when provided document paths do not exist. - Remediate all unit test failures: updated stale assertions in `test_sql_enrichment.py` and mocked `_resolve_project_number` in `test_native_glossary_links.py` to decouple test runner host environment. - Auto-format and clean imports across the entire migrated codebase using `ruff`.
… pre-embedding in RAG
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
governance-metadata-propagationrepository into thedataplex-labs/governance-metadata-propagation/directory.metadata_propagation/.requirements.txtwith a unifiedpyproject.toml(using Hatchling build-backend) and locking dependencies withuv.lock.adk_integrationmodule in favor of the officialgoogle-adkpackage.sys.path.appendhacks across both source files and test suites, standardizing on clean absolute package imports.dq_propagation.py,gradio_app.py, andsteward_cli.py.doc_description_plugin.pyto raise aFileNotFoundErrorimmediately when provided document paths do not exist.test_sql_enrichment.pyand mocked_resolve_project_numberintest_native_glossary_links.pyto decouple test runner host environment.ruff.