Skip to content

Airflow implementation of import automation workflow - #2220

Open
vish-cs wants to merge 1 commit into
datacommonsorg:masterfrom
vish-cs:dag
Open

Airflow implementation of import automation workflow#2220
vish-cs wants to merge 1 commit into
datacommonsorg:masterfrom
vish-cs:dag

Conversation

@vish-cs

@vish-cs vish-cs commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request introduces an automated workflow for Data Commons imports using Apache Airflow and Cloud Composer. It includes a catalog builder script, a dynamic DAG factory, and a core automation DAG that orchestrates Cloud Batch jobs and Spanner ingestion. The review identifies several critical anti-patterns, including unsafe path manipulation, global environment variable modification, synchronous operator execution within tasks, and blocking sleep loops. Actionable feedback was provided to improve path handling, enforce strict duplicate ID management, and implement robust retry mechanisms for network requests.

Comment thread import-automation/workflow/build_manifest_catalog.py Outdated
Comment thread import-automation/workflow/build_manifest_catalog.py Outdated
Comment thread import-automation/workflow/build_manifest_catalog.py Outdated
Comment thread import-automation/workflow/import_dags_factory.py Outdated
Comment thread import-automation/workflow/import_automation_workflow.py Outdated
Comment thread import-automation/workflow/import_automation_workflow.py Outdated
Comment thread import-automation/workflow/import_automation_workflow.py
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