Hi all, Thanks Jarek for the review. Here is a short summary.
AIP-116 (On-Demand Dag Parsing): https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=430407790 What it adds: - Part 1 (works on current main): POST /api/v2/dagBundles/{bundle}/parse - validate a file or a bundle against the live environment and get back Dags, warnings and import errors, with no writes to the metadata DB. Exposed in airflowctl for CI and agents. - Part 2 (with prerequisites): parseUpdate - publish a bundle revision on demand - plus parsing_mode = "on_demand" so immutable bundles are not re-parsed continuously. Both parts run on the Dag processor; moving parsing to workers is left to AIP-130. Changes after the review: I think Jarek already mentioned them :) Additional follow-ups : - Old requests are purged by the scheduler's existing maintenance, in batches with commits in between, not in the Dag processor loop. - The "reads external state at parse time" warning has its own warning type, checked per Dag on each parseUpdate, so it shouldn't collide with the file-scoped warnings discussed in #75673 (but I will watch out for it). Please feel free to look it over and leave any comments. Thanks, Dilnaz On Sat, Nov 28, 2026 at 6:17 PM Jarek Potiuk <[email protected]> wrote: > Hi Dilnaz, > > +1 on the direction. Most of the discussion so far has happened in the > Confluence comments, so a short summary here for those who follow the list > only. > > I reviewed the page on 17 November, and the updated version addresses all > my "must address" and "should address" points: > > - "parse" is now documented as Dag-author-level access (it runs bundle > code), and parsing an explicit bundle_version is off by default per > bundle (allow_bundle_version_override). > - The dry-run promise is now "no writes to the Airflow metadata DB", not > "side-effect-free". > - Part 1 works on current main through the Dag processor's DB path, and > through the Execution API in isolated mode - no hidden prerequisites. > - One queue: dag_parse_request replaces dag_priority_parsing_request, and > the existing "Reparse Dag" action goes through it (which also answers > Ash's question on the page). > - No long-poll, defaults for all the guardrails, and whole-bundle parses > need an explicit flag. > > I left two small follow-ups on the page (batched purging of old requests, > and which Dag warning type the on-demand warnings use). Neither changes > the design. > > Could you post a short summary of what changed after the review to this > thread? Then people who haven't looked at the page yet can catch up, and > if there are no further concerns, I think it's ready to move towards a > vote. > > J. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
