Skip to content

fix(airflow): select latest pipeline runs - #33156

Open
IceS2 wants to merge 2 commits into
1.13from
backport/1.13/pr-32304
Open

fix(airflow): select latest pipeline runs#33156
IceS2 wants to merge 2 commits into
1.13from
backport/1.13/pr-32304

Conversation

@IceS2

@IceS2 IceS2 commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Backports #32304 to 1.13.

Pipeline-status ordering now uses COALESCE(date_column, start_date) so asset-triggered runs with no logical date are selected chronologically. Includes SQLite regression coverage for logical-date and execution-date schemas across asset-triggered, mixed, and scheduled DAG runs.

Verified with pytest ingestion/tests/unit/topology/pipeline/test_airflow.py -q (31 passed).

@IceS2
IceS2 requested a review from a team as a code owner September 10, 2026 15:05
@IceS2
IceS2 requested review from stout-yeoman and removed request for a team September 10, 2026 15:05
@github-actions

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This PR cannot be merged until the following are addressed on its linked issue:

  • No GitHub issue is linked. Link an issue in the Development section of the PR (or add Fixes #12345 to the description). For a same-org cross-repo issue, add Fixes open-metadata/<repo>#123 to the description.

The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically.

Maintainers can bypass this check by adding the skip-pr-checks label.

@gitar-bot

gitar-bot Bot commented Sep 10, 2026

Copy link
Copy Markdown
Code Review ✅ Approved

Backport of pipeline-status ordering fix to 1.13 using COALESCE(date_column, start_date) to correctly select latest runs for asset-triggered DAGs without logical dates. Includes SQLite regression tests covering logical-date and execution-date schemas across asset-triggered, mixed, and scheduled runs. No issues found.

Options

Display: compact → Counting what did not apply, without listing it.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ingestion safe to test Add this label to run secure Github workflows on PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant