23241a6749 opened a new pull request, #77369: URL: https://github.com/apache/airflow/pull/77369
The Dag header shows the internal Dag version, but finding its source version requires opening another tab. Show the full bundle version alongside it, linked to its source when the API supplies a URL. Omit the entry when no stored bundle version exists. Read both values from `latest_dag_version`. A bundle can fetch a newer revision that fails to parse, and the serialisation update interval can defer saving a successfully parsed revision. Combining the top-level `bundle_version` with the nested URL could therefore link to a different version. Document that this represents the latest stored Dag version, not a historical run or a deployment-success signal. Closes #58892. This follows the source-version presentation already available in the Code tab. #76391 also touches the header, for loading/error handling; this change adds only a metadata entry. ### Validation - Eight header tests pass, including six new cases covering active/stale Dags, a deliberately different top-level version, the matching link, a non-Git version without a URL, loading, and absent/versionless metadata. The three display cases fail with the original header. - UI lint/TypeScript, formatting, the production build and applicable regular/manual static checks pass. Lint reports 33 existing warnings; the build reports the existing large-chunk warning. - Final full UI suite (`pnpm test --maxWorkers=2`): 299 files and 2,526 tests passed, exit 0. The unmodified UI baseline passed all 2,520 tests with the same command, exit 0. Earlier full runs had nine failures and then one log-loading timeout; those attempts remain part of the validation history. The exact timing cause was not established. No timeouts, retries or test selection were changed to obtain the final result. - Browser verification uses the real Breeze API and production UI with synthetic local example Dags: desktop (1440 px), narrow (768 px), versionless and non-Git cases, full-value wrapping, matching URL and keyboard focus. - Both checks selected alongside the main UI by `breeze verify` pass: the simple-auth-manager UI test, and the core Airflow/Task SDK documentation builds. Both Sphinx warning logs are empty; the added paragraph is present in the generated UI documentation. ### Before / after Real browser screenshots using the production UI and Breeze API with synthetic local example data. The source URL is illustrative; this is not a production Git deployment. | Before | After | |---|---| |  |  | |  |  | --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — OpenAI Codex (GPT-6) Generated-by: Codex (GPT-6) 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]
