Airflow: map discovery captures to shared source graphs - #108
peterpark-db wants to merge 3 commits into
Conversation
Code reviewFound 11 issues:
flowx/src/flowx/sources/airflow/loader/graph.py Lines 19 to 39 in 4290cf9
flowx/src/flowx/sources/airflow/discovery_mapping.py Lines 262 to 276 in 4290cf9
flowx/src/flowx/sources/airflow/discovery_mapping.py Lines 347 to 359 in 4290cf9
flowx/src/flowx/sources/airflow/discovery_mapping.py Lines 232 to 255 in 4290cf9
flowx/src/flowx/sources/airflow/discovery_mapping.py Lines 544 to 589 in 4290cf9
flowx/src/flowx/sources/airflow/discovery_mapping.py Lines 129 to 141 in 4290cf9
flowx/src/flowx/sources/airflow/discovery_mapping.py Lines 251 to 258 in 4290cf9
flowx/src/flowx/sources/airflow/discovery_mapping.py Lines 440 to 461 in 4290cf9
flowx/src/flowx/sources/airflow/discovery_mapping.py Lines 408 to 413 in 4290cf9
flowx/src/flowx/sources/airflow/discovery_mapping.py Lines 67 to 103 in 4290cf9
flowx/src/flowx/sources/airflow/discovery_mapping.py Lines 222 to 250 in 4290cf9 🤖 Generated with Claude Code - If this code review was useful, please react with 👍. Otherwise, react with 👎. |
Summary
Closes #63.
Maps Airflow's existing static capture model onto the shared
SourceGraphcontract introduced by #84 without replacing the Airflow parser or changing the current convert/package path._DagVisitorand source audit pass for discovery graph projection and existing IR lowering;GapNodevalues;TriggerDagRunOperator, and Databricks run-now operators without treatingExternalTaskSensoras an invocation;metadata/source_graphs.jsonthrough the shared discovery serde;This PR is intentionally stacked on #84 (
discovery/shared-ast-standard). Issue #86 remains a separate Phase 2 PR that will consume the persisted source graph during conversion.Verification
make fmtmake test: 1,231 passed, 2 skippedmake integration: 141 passed, 16 deselected, 6 expected xfails