Repository navigation
Conversation
3bd2d31 to
5125104
Compare
|
The lowest-deps CI failure ( I have cherry-picked #73302 onto this branch so the lowest-deps job resolves the bounded parser. No changes to the PR's own code; CI should go green on the rerun. Drafted-by: Muse Spark (Meta) (no human review before posting) |
5fba820 to
ddc6b2b
Compare
|
Updated this branch to current main and retained the source-file parsing change and its bundle fallback. The focused Dag.test tests pass in Breeze, and Ruff checks pass. The PR body now includes the explicit Gen-AI disclosure; hosted CI is running again. |
ddc6b2b to
5fc4379
Compare
|
Updated the source-file parsing fix to main at b6538c3. The 10 focused Dag.test tests pass in Breeze; Ruff lint and formatting checks also pass. Fresh hosted CI is starting on the updated head. |
|
@ashb @kaxil @amoghrajesh Checks are green on the latest commit. Could you review this when you have a chance? |
|
Thanks for maintaining this project. I've kept this PR rebased and up to date, but it hasn't found a reviewer yet, so I'm closing it to keep your queue tidy. Happy to reopen and rebase anytime if it's still useful. Effort: open since Sep 7, 2026, 4 updates posted, 4 commits, +20 −7 across 2 files, checks green on the latest commit, fixes #72513. |
Running
DAG.test()for one Dag can parse and reserialize unrelated Dags in the same bundle, adding work each time a developer tests or debugs a Dag. This change limits parsing to the owning source file when the stored file location points to a regular file inside that bundle.For a bundle containing
orders.pyandreports.py, testing a Dag inorders.pypreviously parsed the whole bundle. It now parsesorders.py, including sibling Dags defined in that file so same-fileTriggerDagRunOperatortargets remain available. Packaged or unavailable source files still use the complete bundle.Validation:
DAG.test()passes the parent source file toBundleDagBagrather than the whole bundle.git diff --checkpassing.5fc4379d3076b6bcf0b971a9a8491c6656631474: 68 successful, 38 skipped, and CodeQL neutral; no failed or pending checks.Fixes #72513
Was generative AI tooling used to co-author this PR?
Generated-by: OpenAI Codex (GPT-6) following the guidelines
{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.