IEBH-353: Sync with the latest changes#17
Merged
vmoshynskyi merged 2 commits intomainfrom Nov 26, 2025
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR synchronizes the latest changes from the pilot repository, upgrading dependencies and adding support for tracking network origin in activity logs.
- Version bumped from 1.0.2/1.0.3 to 1.0.7 across all services
- Python version constraint updated to
>=3.10,<3.11(lineage handler dropped Python 3.9 support) fastavroupgraded from 1.5.2 to 1.10.0- Added
network_originfield to track activity origin across item and dataset activity logs - Migrated from Jenkinsfile to GitHub Actions workflows for CI/CD
- Code modernization (Union to
|syntax,%to f-strings, removed unused imports)
Reviewed changes
Copilot reviewed 17 out of 20 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tests/test_consumer.py | Changed fixture from yield to return; added network_origin field to activity test payloads and assertions |
| pyproject.toml | Bumped version to 1.0.7; updated Python constraint to >=3.10,<3.11; upgraded fastavro to 1.10.0 |
| poetry.lock | Updated lock file to reflect Poetry 1.8.5 and new dependency versions including fastavro 1.10.0 |
| metadata_event_handler/pyproject.toml | Same version and dependency updates as root pyproject.toml |
| metadata_event_handler/poetry.lock | Updated lock file matching root changes |
| metadata_event_handler/models/ESItemModel.py | Modernized string formatting from % to f-string |
| metadata_event_handler/models/ESItemActivityModel.py | Added network_origin field to model and to_dict() method |
| metadata_event_handler/models/ESDatasetActivityModel.py | Added network_origin field to model and to_dict() method |
| metadata_event_handler/consumer.py | Removed Union import; modernized type hints to use ` |
| lineage_event_handler/pyproject.toml | Bumped version to 1.0.7; updated Python from ^3.9 to >=3.10,<3.11; upgraded fastavro |
| lineage_event_handler/poetry.lock | Updated lock file with new dependencies and removed conditional typing_extensions dependencies |
| lineage_event_handler/consumer.py | Removed redundant 'r' mode from open() call |
| lineage_event_handler/config.py | Removed vault/config center code and related imports; simplified to basic settings |
| kafka_schemas/metadata.items.avsc | Reformatted JSON and reordered union types to put "null" first (Avro best practice) |
| kafka_schemas/metadata.items.activity.avsc | Added network_origin field; reordered union types to put "null" first |
| kafka_schemas/dataset.activity.avsc | Added network_origin field; reordered union types to put "null" first |
| Jenkinsfile | Removed entire Jenkinsfile (replaced by GitHub Actions) |
| .pre-commit-config.yaml | Uncommented docformatter hook and updated version to v1.7.7 |
| .github/workflows/hdc-pipeline-metadata.yml | Added new GitHub Actions workflow for metadata event handler CI/CD |
| .github/workflows/hdc-pipeline-lineage.yml | Added new GitHub Actions workflow for lineage event handler CI/CD |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.
Coverage Report
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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.
Add the latest changes from the pilot repo.