You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "potiuk (via GitHub)" <gi...@apache.org> on 2026/06/26 20:08:37 UTC
[PR] Move known_airflow_exceptions.txt out of scripts/ into generated/ [airflow]
potiuk opened a new pull request, #69057:
URL: https://github.com/apache/airflow/pull/69057
### Problem
The `check-no-new-airflow-exceptions` hook keeps its allowlist baseline at `scripts/ci/prek/known_airflow_exceptions.txt`. That file is updated by **any** PR that legitimately adds, removes, or moves a `raise AirflowException` — typically provider or core changes with nothing to do with dev tooling.
Because it lived under `scripts/`, boring-cyborg matched it against the `scripts/**/*` glob and auto-applied `area:dev-tools` and — the real problem — `backport-to-v3-3-test`, triggering **wrong automated backports** of unrelated provider PRs (e.g. the false backport flagged on #69019).
### Fix
Move the generated allowlist to `generated/known_airflow_exceptions.txt`. No boring-cyborg rule matches `generated/`, so editing the baseline no longer looks like a dev-tools change and won't auto-label/backport. The hook script now reads/writes it from the repo-root `generated/` directory (via the existing `REPO_ROOT`). `.txt` files carry no license header (no `insert-license` hook covers `.txt`), so nothing else changes.
Pure rename + 4 path-reference updates in the hook script; verified the hook still passes and `--generate` writes to the new location.
> Worth backporting to `v3-3-test` so the same false trigger is fixed there.
---
##### Was generative AI tooling used to co-author this PR?
- [X] Yes — Claude Code (Opus 4.8)
Generated-by: Claude Code (Opus 4.8) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Move known_airflow_exceptions.txt out of scripts/ into generated/ [airflow]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk merged PR #69057:
URL: https://github.com/apache/airflow/pull/69057
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Move known_airflow_exceptions.txt out of scripts/ into generated/ [airflow]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #69057:
URL: https://github.com/apache/airflow/pull/69057#issuecomment-4813241354
### Backport successfully created: v3-3-test
Note: As of [Merging PRs targeted for Airflow 3.X](https://github.com/apache/airflow/blob/main/dev/README_AIRFLOW3_DEV.md#merging-prs-targeted-for-airflow-3x)
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.
In matter of doubt please ask in [#release-management](https://apache-airflow.slack.com/archives/C03G9H97MM2) Slack channel.
<table>
<tr>
<th>Status</th>
<th>Branch</th>
<th>Result</th>
</tr>
<tr>
<td>✅</td>
<td>v3-3-test</td>
<td><a href="https://github.com/apache/airflow/pull/69060"><img src="https://img.shields.io/badge/PR-69060-blue" alt="PR Link"></a></td>
</tr>
</table>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org