ephraimbuddy opened a new pull request, #73322: URL: https://github.com/apache/airflow/pull/73322
Adds the API and UI layer on top of the serialized Dag version diff engine: an endpoint that compares two stored versions of a Dag, and a **Versions** tab that renders the comparison. The endpoint reports *observed state* — what the two stored versions currently hold — rather than why a version was created. Disclosure is split in two: `DagAccessEntity.VERSION` read returns which parts of the Dag differ with identifying path components masked, while the values behind those differences, and the paths naming them, are returned only to a caller who may also read the Dag's code. A record carries a value key only when that side has one, which is how an absent side stays distinguishable from a stored null. The tab keeps both chosen versions and the change bound in the URL, so a comparison can be linked and reopened. ### Stacked on #69864 This branch is based on `dag-version-diff-core`, so the diff here also contains that PR's 20 commits. **Only the last 7 commits belong to this PR:** - `0667dec76b` Add an API endpoint comparing two stored Dag versions - `966f7a9386` Generate the API spec and clients for the Dag version diff - `192e62901f` UI: Add a Versions tab comparing two Dag versions - `7f54315417` UI: Move the version compare select to shared components - `76d03764a2` UI: Make a Dag version comparison shareable and its limit adjustable - `9c6bbb7440` Keep a Dag version diff's absent value distinct from a stored null - `abe488a90b` UI: Fix a Dag version comparison misreporting its own results --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Code (Opus 5) Generated-by: Claude Code (Opus 5) 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
