Repository navigation
ci(py-checkstyle): include openmetadata-airflow-apis in the PR paths filter - #34007
Conversation
…filter py-checkstyle only ran on the merge queue for openmetadata-airflow-apis files, because the PR-side paths-filter only matched ingestion/** and openmetadata-spec/**. A ruff-format drift in openmetadata-airflow-apis/openmetadata_managed_apis/workflows/ingestion/common.py sailed through PR CI and only surfaced when it hit the queue. Add openmetadata-airflow-apis/** so PRs catch the same drift the merge queue does. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Code Review ✅ Approved🟡 Medium risk · The path filter now runs Python style checks for airflow API changes. Adds OptionsDisplay: compact → Counting what did not apply, without listing it. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
✅ Playwright Results — workflow succeededValidated commit ✅ 557 passed · ❌ 0 failed · 🟡 0 flaky · ⏭️ 0 skipped · 🧰 0 lifecycle flaky PerformanceBlocking targets: ✅ met · Optimization targets: 🟡 in progress Shard-job maxima below are not the full workflow wall time; the linked run includes build, fixture, planning, and reporting. 🕒 Full workflow signal wall (to summary) 28m 18s ⏱️ Max setup 4m 45s · max shard execution 18m 37s · max shard-job elapsed before upload 21m 35s · reporting 3s 🌐 204.34 requests/attempt · 2.24 app boots/UI scenario · 45.66% common-shard skew Optimization targets still in progress:
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
Fixes #33087
Summary
py-checkstyle skips on PRs when the paths filter doesn't match, but the queue runs it unconditionally. Today's filter only matches `ingestion/` and `openmetadata-spec/` — so drift in `openmetadata-airflow-apis/**` (all Python, also ruff-formatted) can only be caught after the queue starts, e.g. the format drift in `openmetadata_managed_apis/workflows/ingestion/common.py` that broke #33883 in the queue.
Add `openmetadata-airflow-apis/**` to the filter so PR CI catches the same drift the queue does.
Test plan
🤖 Generated with Claude Code