Skip to content

feat(monorepo): migrate and package governance-metadata-propagation repository#147

Merged
akanksha86 merged 6 commits into
GoogleCloudPlatform:mainfrom
vanshaj-bhatia:migration-governance-metadata-propagation
Jun 29, 2026
Merged

feat(monorepo): migrate and package governance-metadata-propagation repository#147
akanksha86 merged 6 commits into
GoogleCloudPlatform:mainfrom
vanshaj-bhatia:migration-governance-metadata-propagation

Conversation

@vanshaj-bhatia

Copy link
Copy Markdown
Collaborator
  • 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.

…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`.
@vanshaj-bhatia vanshaj-bhatia changed the title feat(monorepo): migrate and package legacy governance-metadata-propagation repository feat(monorepo): migrate and package governance-metadata-propagation repository Jun 23, 2026
@akanksha86
akanksha86 merged commit 3deaeea into GoogleCloudPlatform:main Jun 29, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants