Skip to content

IEBH-353: Sync with the latest changes#17

Merged
vmoshynskyi merged 2 commits intomainfrom
IEBH-353
Nov 26, 2025
Merged

IEBH-353: Sync with the latest changes#17
vmoshynskyi merged 2 commits intomainfrom
IEBH-353

Conversation

@vmoshynskyi
Copy link
Member

Add the latest changes from the pilot repo.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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)
  • fastavro upgraded from 1.5.2 to 1.10.0
  • Added network_origin field 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.

@github-actions
Copy link

Coverage

Coverage Report
FileStmtsMissCoverMissing
__init__.py00100% 
__main__.py060%7, 9–11, 13–14
config.py00100% 
consumer.py02083%36, 126–140, 145–148
logger.py00100% 
main.py0388%36–38
app
   __init__.py00100% 
app/components
   __init__.py00100% 
app/components/health
   __init__.py00100% 
   views.py00100% 
app/dependencies
   __init__.py00100% 
   elasticsearch.py00100% 
app/models
   __init__.py00100% 
   base_models.py0573%25–27, 30, 33
   models_bulk_index.py00100% 
app/routers
   __init__.py00100% 
   router_exceptions.py00100% 
app/routers/v1
   __init__.py00100% 
app/routers/v1/bulk_index
   __init__.py00100% 
   crud.py00100% 
   dependencies.py0287%25, 39
   utils.py00100% 
   views.py01646%32–34, 38–50
clients
   __init__.py00100% 
   elasticsearch.py02548%26–27, 32, 42–45, 52–57, 59–60, 62–71
models
   ESDatasetActivityModel.py00100% 
   ESItemActivityModel.py00100% 
   ESItemModel.py0197%23
   __init__.py00100% 
services
   __init__.py00100% 
   metadata.py00100% 
   project.py00100% 
TOTAL5577886% 

@vmoshynskyi vmoshynskyi merged commit 5977c95 into main Nov 26, 2025
11 checks passed
@vmoshynskyi vmoshynskyi deleted the IEBH-353 branch November 26, 2025 18:51
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.

1 participant