This is an automated email from the ASF dual-hosted git repository.
pierrejeambrun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 49e011f6d1 Add openapi generation hook (#42098)
49e011f6d1 is described below
commit 49e011f6d1d37f9a84f2166bdc9957aeaf371ce5
Author: Pierre Jeambrun <[email protected]>
AuthorDate: Mon Sep 9 19:46:29 2024 +0800
Add openapi generation hook (#42098)
---
.pre-commit-config.yaml | 9 +-
.rat-excludes | 1 +
airflow/api_ui/openapi/v1-generated.yaml | 67 +++++++++++++++
contributing-docs/08_static_code_checks.rst | 2 +
dev/breeze/doc/images/output_static-checks.svg | 104 ++++++++++++------------
dev/breeze/doc/images/output_static-checks.txt | 2 +-
dev/breeze/src/airflow_breeze/pre_commit_ids.py | 1 +
scripts/ci/pre_commit/update_ui_api_spec.py | 39 +++++++++
scripts/in_container/run_update_ui_api_spec.py | 40 +++++++++
9 files changed, 213 insertions(+), 52 deletions(-)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 1353d332f9..39fd712e33 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -135,7 +135,7 @@ repos:
- --fuzzy-match-generates-todo
- id: insert-license
name: Add license for all YAML files except Helm templates
- exclude:
^\.github/.*$|^.*/.*_vendor/|^chart/templates/.*|.*/reproducible_build.yaml$
+ exclude:
^\.github/.*$|^.*/.*_vendor/|^chart/templates/.*|.*/reproducible_build.yaml$|^airflow/api_ui/openapi/v1-generated.yaml$
types: [yaml]
files: \.ya?ml$
args:
@@ -1329,6 +1329,13 @@ repos:
pass_filenames: false
files:
^airflow/migrations/versions/.*\.py$|^docs/apache-airflow/migrations-ref\.rst$
additional_dependencies: ['rich>=12.4.4']
+ - id: generate-openapi-spec
+ name: Generate the UI API OPENAPI spec
+ language: python
+ entry: ./scripts/ci/pre_commit/update_ui_api_spec.py
+ pass_filenames: false
+ files: ^airflow/api_ui/.*\.py$
+ additional_dependencies: ['rich>=12.4.4']
- id: update-er-diagram
name: Update ER diagram
language: python
diff --git a/.rat-excludes b/.rat-excludes
index 1f13a23733..7dde54f37c 100644
--- a/.rat-excludes
+++ b/.rat-excludes
@@ -163,6 +163,7 @@ PKG-INFO
# Openapi files
.openapi-generator-ignore
version.txt
+v1-generated.yaml
# Front end generated files
api-generated.ts
diff --git a/airflow/api_ui/openapi/v1-generated.yaml
b/airflow/api_ui/openapi/v1-generated.yaml
new file mode 100644
index 0000000000..fef897a071
--- /dev/null
+++ b/airflow/api_ui/openapi/v1-generated.yaml
@@ -0,0 +1,67 @@
+openapi: 3.1.0
+info:
+ title: FastAPI
+ description: Internal Rest API for the UI frontend. It is subject to
breaking change
+ depending on the need of the frontend. Users should not rely on this API
but use
+ the public API instead.
+ version: 0.1.0
+paths:
+ /ui/next_run_datasets/{dag_id}:
+ get:
+ tags:
+ - Dataset
+ summary: Next Run Datasets
+ operationId: next_run_datasets_ui_next_run_datasets__dag_id__get
+ parameters:
+ - name: dag_id
+ in: path
+ required: true
+ schema:
+ type: string
+ title: Dag Id
+ responses:
+ '200':
+ description: Successful Response
+ content:
+ application/json:
+ schema:
+ type: object
+ title: Response Next Run Datasets Ui Next Run Datasets Dag Id
Get
+ '422':
+ description: Validation Error
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/HTTPValidationError'
+components:
+ schemas:
+ HTTPValidationError:
+ properties:
+ detail:
+ items:
+ $ref: '#/components/schemas/ValidationError'
+ type: array
+ title: Detail
+ type: object
+ title: HTTPValidationError
+ ValidationError:
+ properties:
+ loc:
+ items:
+ anyOf:
+ - type: string
+ - type: integer
+ type: array
+ title: Location
+ msg:
+ type: string
+ title: Message
+ type:
+ type: string
+ title: Error Type
+ type: object
+ required:
+ - loc
+ - msg
+ - type
+ title: ValidationError
diff --git a/contributing-docs/08_static_code_checks.rst
b/contributing-docs/08_static_code_checks.rst
index 17506303ff..0470b0a57d 100644
--- a/contributing-docs/08_static_code_checks.rst
+++ b/contributing-docs/08_static_code_checks.rst
@@ -272,6 +272,8 @@ require Breeze Docker image to be built locally.
+-----------------------------------------------------------+--------------------------------------------------------------+---------+
| generate-airflow-diagrams | Generate airflow
diagrams | |
+-----------------------------------------------------------+--------------------------------------------------------------+---------+
+| generate-openapi-spec | Generate the UI
API OPENAPI spec | * |
++-----------------------------------------------------------+--------------------------------------------------------------+---------+
| generate-pypi-readme | Generate PyPI
README | |
+-----------------------------------------------------------+--------------------------------------------------------------+---------+
| identity | Print input to
the static check hooks for troubleshooting | |
diff --git a/dev/breeze/doc/images/output_static-checks.svg
b/dev/breeze/doc/images/output_static-checks.svg
index 047ce8361b..ed52a596de 100644
--- a/dev/breeze/doc/images/output_static-checks.svg
+++ b/dev/breeze/doc/images/output_static-checks.svg
@@ -1,4 +1,4 @@
-<svg class="rich-terminal" viewBox="0 0 1482 2197.2"
xmlns="http://www.w3.org/2000/svg">
+<svg class="rich-terminal" viewBox="0 0 1482 2221.6"
xmlns="http://www.w3.org/2000/svg">
<!-- Generated with Rich https://www.textualize.io -->
<style>
@@ -43,7 +43,7 @@
<defs>
<clipPath id="breeze-static-checks-clip-terminal">
- <rect x="0" y="0" width="1463.0" height="2146.2" />
+ <rect x="0" y="0" width="1463.0" height="2170.6" />
</clipPath>
<clipPath id="breeze-static-checks-line-0">
<rect x="0" y="1.5" width="1464" height="24.65"/>
@@ -306,9 +306,12 @@
<clipPath id="breeze-static-checks-line-86">
<rect x="0" y="2099.9" width="1464" height="24.65"/>
</clipPath>
+<clipPath id="breeze-static-checks-line-87">
+ <rect x="0" y="2124.3" width="1464" height="24.65"/>
+ </clipPath>
</defs>
- <rect fill="#292929" stroke="rgba(255,255,255,0.35)" stroke-width="1"
x="1" y="1" width="1480" height="2195.2" rx="8"/><text
class="breeze-static-checks-title" fill="#c5c8c6" text-anchor="middle" x="740"
y="27">Command: static-checks</text>
+ <rect fill="#292929" stroke="rgba(255,255,255,0.35)" stroke-width="1"
x="1" y="1" width="1480" height="2219.6" rx="8"/><text
class="breeze-static-checks-title" fill="#c5c8c6" text-anchor="middle" x="740"
y="27">Command: static-checks</text>
<g transform="translate(26,22)">
<circle cx="0" cy="0" r="7" fill="#ff5f57"/>
<circle cx="22" cy="0" r="7" fill="#febc2e"/>
@@ -359,53 +362,54 @@
</text><text class="breeze-static-checks-r5" x="0" y="947.2" textLength="12.2"
clip-path="url(#breeze-static-checks-line-38)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="947.2" textLength="988.2"
clip-path="url(#breeze-static-checks-line-38)">compile-ui-assets-dev | compile-www-assets | compile-www-assets-dev |            </text><text
class="breeze-static-checks-r5" x="1451.8" y="947.2" te [...]
</text><text class="breeze-static-checks-r5" x="0" y="971.6" textLength="12.2"
clip-path="url(#breeze-static-checks-line-39)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="971.6" textLength="988.2"
clip-path="url(#breeze-static-checks-line-39)">create-missing-init-py-files-tests | debug-statements | detect-private-key |     </text><text
class="breeze-static-checks-r5" x="1451.8" y="971.6" textLength="12.2"
clip-path="url(#bre [...]
</text><text class="breeze-static-checks-r5" x="0" y="996" textLength="12.2"
clip-path="url(#breeze-static-checks-line-40)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="996" textLength="988.2"
clip-path="url(#breeze-static-checks-line-40)">doctoc | end-of-file-fixer | fix-encoding-pragma | flynt |                       </text>
[...]
-</text><text class="breeze-static-checks-r5" x="0" y="1020.4"
textLength="12.2" clip-path="url(#breeze-static-checks-line-41)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1020.4" textLength="988.2"
clip-path="url(#breeze-static-checks-line-41)">generate-airflow-diagrams | generate-pypi-readme | identity | insert-license |   </text><text
class="breeze-static-checks-r5" x="1451.8" y="1020.4" textLength="12.2"
clip-path="url(# [...]
-</text><text class="breeze-static-checks-r5" x="0" y="1044.8"
textLength="12.2" clip-path="url(#breeze-static-checks-line-42)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1044.8" textLength="988.2"
clip-path="url(#breeze-static-checks-line-42)">kubeconform | lint-chart-schema | lint-css | lint-dockerfile | lint-helm-chart | </text><text
class="breeze-static-checks-r5" x="1451.8" y="1044.8" textLength="12.2"
clip-path="url(# [...]
-</text><text class="breeze-static-checks-r5" x="0" y="1069.2"
textLength="12.2" clip-path="url(#breeze-static-checks-line-43)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1069.2" textLength="988.2"
clip-path="url(#breeze-static-checks-line-43)">lint-json-schema | lint-markdown | lint-openapi | mixed-line-ending |            </text><text
class="breeze-static-checks-r5" x="1451.8" [...]
-</text><text class="breeze-static-checks-r5" x="0" y="1093.6"
textLength="12.2" clip-path="url(#breeze-static-checks-line-44)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1093.6" textLength="988.2"
clip-path="url(#breeze-static-checks-line-44)">mypy-airflow | mypy-dev | mypy-docs | mypy-providers | pretty-format-json |      </text><text
class="breeze-static-checks-r5" x="1451.8" y="1093.6" textLengt [...]
-</text><text class="breeze-static-checks-r5" x="0" y="1118" textLength="12.2"
clip-path="url(#breeze-static-checks-line-45)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1118" textLength="988.2"
clip-path="url(#breeze-static-checks-line-45)">pylint | python-no-log-warn | replace-bad-characters | rst-backticks | ruff |    </text><text
class="breeze-static-checks-r5" x="1451.8" y="1118" textLength="12.2" clip-pa
[...]
-</text><text class="breeze-static-checks-r5" x="0" y="1142.4"
textLength="12.2" clip-path="url(#breeze-static-checks-line-46)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1142.4" textLength="988.2"
clip-path="url(#breeze-static-checks-line-46)">ruff-format | shellcheck | trailing-whitespace | ts-compile-format-lint-ui |     </text><text
class="breeze-static-checks-r5" x="1451.8" y="1142.4" textLength="12.2" clip-p
[...]
-</text><text class="breeze-static-checks-r5" x="0" y="1166.8"
textLength="12.2" clip-path="url(#breeze-static-checks-line-47)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1166.8" textLength="988.2"
clip-path="url(#breeze-static-checks-line-47)">ts-compile-format-lint-www | update-black-version | update-breeze-cmd-output |   </text><text
class="breeze-static-checks-r5" x="1451.8" y="1166.8" textLength="12.2"
clip-path="url(#breeze-sta [...]
-</text><text class="breeze-static-checks-r5" x="0" y="1191.2"
textLength="12.2" clip-path="url(#breeze-static-checks-line-48)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1191.2" textLength="988.2"
clip-path="url(#breeze-static-checks-line-48)">update-breeze-readme-config-hash | update-build-dependencies |                   </text><text
class="breeze-static-checks- [...]
-</text><text class="breeze-static-checks-r5" x="0" y="1215.6"
textLength="12.2" clip-path="url(#breeze-static-checks-line-49)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1215.6" textLength="988.2"
clip-path="url(#breeze-static-checks-line-49)">update-chart-dependencies | update-common-sql-api-stubs | update-er-diagram |    </text><text
class="breeze-static-checks-r5" x="1451.8" y="1215.6" textLength="12.2"
clip-path="url(#breez [...]
-</text><text class="breeze-static-checks-r5" x="0" y="1240" textLength="12.2"
clip-path="url(#breeze-static-checks-line-50)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1240" textLength="988.2"
clip-path="url(#breeze-static-checks-line-50)">update-extras | update-in-the-wild-to-be-sorted |                            
[...]
-</text><text class="breeze-static-checks-r5" x="0" y="1264.4"
textLength="12.2" clip-path="url(#breeze-static-checks-line-51)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1264.4" textLength="988.2"
clip-path="url(#breeze-static-checks-line-51)">update-inlined-dockerfile-scripts | update-installed-providers-to-be-sorted |    </text><text
class="breeze-static-checks-r5" x="1451.8" y="1264.4" textLength="12.2"
clip-path="url(#breeze-static-c [...]
-</text><text class="breeze-static-checks-r5" x="0" y="1288.8"
textLength="12.2" clip-path="url(#breeze-static-checks-line-52)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1288.8" textLength="988.2"
clip-path="url(#breeze-static-checks-line-52)">update-installers | update-local-yml-file | update-migration-references |        </text><text
class="breeze-static-checks-r5" x="1451.8" y="1288.8" textLength="12.2" c [...]
-</text><text class="breeze-static-checks-r5" x="0" y="1313.2"
textLength="12.2" clip-path="url(#breeze-static-checks-line-53)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1313.2" textLength="988.2"
clip-path="url(#breeze-static-checks-line-53)">update-openapi-spec-tags-to-be-sorted | update-providers-dependencies |          </text><text
class="breeze-static-checks-r5" x="1451.8" y="1313.2" textLength="12.2" c [...]
-</text><text class="breeze-static-checks-r5" x="0" y="1337.6"
textLength="12.2" clip-path="url(#breeze-static-checks-line-54)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1337.6" textLength="988.2"
clip-path="url(#breeze-static-checks-line-54)">update-reproducible-source-date-epoch | update-spelling-wordlist-to-be-sorted |  </text><text
class="breeze-static-checks-r5" x="1451.8" y="1337.6" textLength="12.2"
clip-path="url(#breeze-static-checks-line [...]
-</text><text class="breeze-static-checks-r5" x="0" y="1362" textLength="12.2"
clip-path="url(#breeze-static-checks-line-55)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1362" textLength="988.2"
clip-path="url(#breeze-static-checks-line-55)">update-supported-versions | update-vendored-in-k8s-json-schema | update-version |</text><text
class="breeze-static-checks-r5" x="1451.8" y="1362" textLength="12.2"
clip-path="url(#breeze-static-checks-line-55)"> [...]
-</text><text class="breeze-static-checks-r5" x="0" y="1386.4"
textLength="12.2" clip-path="url(#breeze-static-checks-line-56)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1386.4" textLength="988.2"
clip-path="url(#breeze-static-checks-line-56)">validate-operators-init | yamllint)                               &
[...]
-</text><text class="breeze-static-checks-r5" x="0" y="1410.8"
textLength="12.2" clip-path="url(#breeze-static-checks-line-57)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1410.8" textLength="268.4"
clip-path="url(#breeze-static-checks-line-57)">--show-diff-on-failure</text><text
class="breeze-static-checks-r6" x="402.6" y="1410.8" textLength="24.4"
clip-path="url(#breeze-static-checks-line-57)">-s</text><text
class="breeze-static-checks-r1" x="451.4" y="1410.8" textLength=" [...]
-</text><text class="breeze-static-checks-r5" x="0" y="1435.2"
textLength="12.2" clip-path="url(#breeze-static-checks-line-58)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1435.2" textLength="292.8"
clip-path="url(#breeze-static-checks-line-58)">--initialize-environment</text><text
class="breeze-static-checks-r1" x="451.4" y="1435.2" textLength="549"
clip-path="url(#breeze-static-checks-line-58)">Initialize environment before running checks.</text><text
c [...]
-</text><text class="breeze-static-checks-r5" x="0" y="1459.6"
textLength="12.2" clip-path="url(#breeze-static-checks-line-59)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1459.6" textLength="353.8"
clip-path="url(#breeze-static-checks-line-59)">--max-initialization-attempts</text><text
class="breeze-static-checks-r1" x="451.4" y="1459.6" textLength="854"
clip-path="url(#breeze-static-checks-line-59)">Maximum number of attempts to initialize env
[...]
-</text><text class="breeze-static-checks-r5" x="0" y="1484" textLength="12.2"
clip-path="url(#breeze-static-checks-line-60)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1484" textLength="854"
clip-path="url(#breeze-static-checks-line-60)">(INTEGER RANGE)                                    &#
[...]
-</text><text class="breeze-static-checks-r5" x="0" y="1508.4"
textLength="12.2" clip-path="url(#breeze-static-checks-line-61)">│</text><text
class="breeze-static-checks-r5" x="451.4" y="1508.4" textLength="854"
clip-path="url(#breeze-static-checks-line-61)">[default: 3; 1<=x<=10]                                
[...]
-</text><text class="breeze-static-checks-r5" x="0" y="1532.8"
textLength="1464"
clip-path="url(#breeze-static-checks-line-62)">╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</text><text
class="breeze-static-checks-r1" x="1464" y="1532.8" textLength="12.2"
clip-path="url(#breeze-static-checks-line-62)">
-</text><text class="breeze-static-checks-r5" x="0" y="1557.2"
textLength="24.4" clip-path="url(#breeze-static-checks-line-63)">╭─</text><text
class="breeze-static-checks-r5" x="24.4" y="1557.2" textLength="463.6"
clip-path="url(#breeze-static-checks-line-63)"> Selecting files to run the checks on </text><text
class="breeze-static-checks-r5" x="488" y="1557.2" textLength="951.6"
clip-path="url(#breeze-static-checks-line-63)">──────────────────────── [...]
-</text><text class="breeze-static-checks-r5" x="0" y="1581.6"
textLength="12.2" clip-path="url(#breeze-static-checks-line-64)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1581.6" textLength="73.2"
clip-path="url(#breeze-static-checks-line-64)">--file</text><text
class="breeze-static-checks-r6" x="256.2" y="1581.6" textLength="24.4"
clip-path="url(#breeze-static-checks-line-64)">-f</text><text
class="breeze-static-checks-r1" x="305" y="1581.6" textLength="427"
clip-path="url [...]
-</text><text class="breeze-static-checks-r5" x="0" y="1606" textLength="12.2"
clip-path="url(#breeze-static-checks-line-65)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1606" textLength="134.2"
clip-path="url(#breeze-static-checks-line-65)">--all-files</text><text
class="breeze-static-checks-r6" x="256.2" y="1606" textLength="24.4"
clip-path="url(#breeze-static-checks-line-65)">-a</text><text
class="breeze-static-checks-r1" x="305" y="1606" textLength="292.8"
clip-path="url [...]
-</text><text class="breeze-static-checks-r5" x="0" y="1630.4"
textLength="12.2" clip-path="url(#breeze-static-checks-line-66)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1630.4" textLength="146.4"
clip-path="url(#breeze-static-checks-line-66)">--commit-ref</text><text
class="breeze-static-checks-r6" x="256.2" y="1630.4" textLength="24.4"
clip-path="url(#breeze-static-checks-line-66)">-r</text><text
class="breeze-static-checks-r1" x="305" y="1630.4" textLength="1134.6" clip
[...]
-</text><text class="breeze-static-checks-r5" x="0" y="1654.8"
textLength="12.2" clip-path="url(#breeze-static-checks-line-67)">│</text><text
class="breeze-static-checks-r1" x="305" y="1654.8" textLength="183"
clip-path="url(#breeze-static-checks-line-67)">exclusive with </text><text
class="breeze-static-checks-r4" x="488" y="1654.8" textLength="158.6"
clip-path="url(#breeze-static-checks-line-67)">--last-commit</text><text
class="breeze-static-checks-r1" x="646.6" y="1654.8" te [...]
-</text><text class="breeze-static-checks-r5" x="0" y="1679.2"
textLength="12.2" clip-path="url(#breeze-static-checks-line-68)">│</text><text
class="breeze-static-checks-r7" x="305" y="1679.2" textLength="1134.6"
clip-path="url(#breeze-static-checks-line-68)">(TEXT)                                      
[...]
-</text><text class="breeze-static-checks-r5" x="0" y="1703.6"
textLength="12.2" clip-path="url(#breeze-static-checks-line-69)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1703.6" textLength="158.6"
clip-path="url(#breeze-static-checks-line-69)">--last-commit</text><text
class="breeze-static-checks-r6" x="256.2" y="1703.6" textLength="24.4"
clip-path="url(#breeze-static-checks-line-69)">-c</text><text
class="breeze-static-checks-r1" x="305" y="1703.6" textLength="793" clip-p [...]
-</text><text class="breeze-static-checks-r5" x="0" y="1728" textLength="12.2"
clip-path="url(#breeze-static-checks-line-70)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1728" textLength="207.4"
clip-path="url(#breeze-static-checks-line-70)">--only-my-changes</text><text
class="breeze-static-checks-r6" x="256.2" y="1728" textLength="24.4"
clip-path="url(#breeze-static-checks-line-70)">-m</text><text
class="breeze-static-checks-r1" x="305" y="1728" textLength="1134.6" clip-pa
[...]
-</text><text class="breeze-static-checks-r5" x="0" y="1752.4"
textLength="12.2" clip-path="url(#breeze-static-checks-line-71)">│</text><text
class="breeze-static-checks-r1" x="305" y="1752.4" textLength="1134.6"
clip-path="url(#breeze-static-checks-line-71)">branch and HEAD of your branch.                             
[...]
-</text><text class="breeze-static-checks-r5" x="0" y="1776.8"
textLength="1464"
clip-path="url(#breeze-static-checks-line-72)">╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</text><text
class="breeze-static-checks-r1" x="1464" y="1776.8" textLength="12.2"
clip-path="url(#breeze-static-checks-line-72)">
-</text><text class="breeze-static-checks-r5" x="0" y="1801.2"
textLength="24.4" clip-path="url(#breeze-static-checks-line-73)">╭─</text><text
class="breeze-static-checks-r5" x="24.4" y="1801.2" textLength="463.6"
clip-path="url(#breeze-static-checks-line-73)"> Building image before running checks </text><text
class="breeze-static-checks-r5" x="488" y="1801.2" textLength="951.6"
clip-path="url(#breeze-static-checks-line-73)">──────────────────────────────────
[...]
-</text><text class="breeze-static-checks-r5" x="0" y="1825.6"
textLength="12.2" clip-path="url(#breeze-static-checks-line-74)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1825.6" textLength="317.2"
clip-path="url(#breeze-static-checks-line-74)">--skip-image-upgrade-check</text><text
class="breeze-static-checks-r1" x="414.8" y="1825.6" textLength="536.8"
clip-path="url(#breeze-static-checks-line-74)">Skip checking if the CI image is up 
[...]
-</text><text class="breeze-static-checks-r5" x="0" y="1850" textLength="12.2"
clip-path="url(#breeze-static-checks-line-75)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1850" textLength="158.6"
clip-path="url(#breeze-static-checks-line-75)">--force-build</text><text
class="breeze-static-checks-r1" x="414.8" y="1850" textLength="707.6"
clip-path="url(#breeze-static-checks-line-75)">Force image build no matter if it is determined a
[...]
-</text><text class="breeze-static-checks-r5" x="0" y="1874.4"
textLength="12.2" clip-path="url(#breeze-static-checks-line-76)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1874.4" textLength="134.2"
clip-path="url(#breeze-static-checks-line-76)">--image-tag</text><text
class="breeze-static-checks-r1" x="414.8" y="1874.4" textLength="695.4"
clip-path="url(#breeze-static-checks-line-76)">Tag of the image which is used to run the
[...]
-</text><text class="breeze-static-checks-r5" x="0" y="1898.8"
textLength="12.2" clip-path="url(#breeze-static-checks-line-77)">│</text><text
class="breeze-static-checks-r7" x="414.8" y="1898.8" textLength="963.8"
clip-path="url(#breeze-static-checks-line-77)">(TEXT)                                     
[...]
-</text><text class="breeze-static-checks-r5" x="0" y="1923.2"
textLength="12.2" clip-path="url(#breeze-static-checks-line-78)">│</text><text
class="breeze-static-checks-r5" x="414.8" y="1923.2" textLength="963.8"
clip-path="url(#breeze-static-checks-line-78)">[default: latest]                                   
[...]
-</text><text class="breeze-static-checks-r5" x="0" y="1947.6"
textLength="12.2" clip-path="url(#breeze-static-checks-line-79)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1947.6" textLength="231.8"
clip-path="url(#breeze-static-checks-line-79)">--github-repository</text><text
class="breeze-static-checks-r6" x="366" y="1947.6" textLength="24.4"
clip-path="url(#breeze-static-checks-line-79)">-g</text><text
class="breeze-static-checks-r1" x="414.8" y="1947.6" textLength="585.6 [...]
-</text><text class="breeze-static-checks-r5" x="0" y="1972" textLength="12.2"
clip-path="url(#breeze-static-checks-line-80)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1972" textLength="109.8"
clip-path="url(#breeze-static-checks-line-80)">--builder</text><text
class="breeze-static-checks-r1" x="414.8" y="1972" textLength="756.4"
clip-path="url(#breeze-static-checks-line-80)">Buildx builder used to perform `docker buildx build` comma
[...]
-</text><text class="breeze-static-checks-r5" x="0" y="1996.4"
textLength="12.2" clip-path="url(#breeze-static-checks-line-81)">│</text><text
class="breeze-static-checks-r5" x="414.8" y="1996.4" textLength="756.4"
clip-path="url(#breeze-static-checks-line-81)">[default: autodetect]                                  &#
[...]
-</text><text class="breeze-static-checks-r5" x="0" y="2020.8"
textLength="1464"
clip-path="url(#breeze-static-checks-line-82)">╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</text><text
class="breeze-static-checks-r1" x="1464" y="2020.8" textLength="12.2"
clip-path="url(#breeze-static-checks-line-82)">
-</text><text class="breeze-static-checks-r5" x="0" y="2045.2"
textLength="24.4" clip-path="url(#breeze-static-checks-line-83)">╭─</text><text
class="breeze-static-checks-r5" x="24.4" y="2045.2" textLength="195.2"
clip-path="url(#breeze-static-checks-line-83)"> Common options </text><text
class="breeze-static-checks-r5" x="219.6" y="2045.2" textLength="1220"
clip-path="url(#breeze-static-checks-line-83)">──────────────────────────────────────────────────────────────────────
[...]
-</text><text class="breeze-static-checks-r5" x="0" y="2069.6"
textLength="12.2" clip-path="url(#breeze-static-checks-line-84)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="2069.6" textLength="109.8"
clip-path="url(#breeze-static-checks-line-84)">--dry-run</text><text
class="breeze-static-checks-r6" x="158.6" y="2069.6" textLength="24.4"
clip-path="url(#breeze-static-checks-line-84)">-D</text><text
class="breeze-static-checks-r1" x="207.4" y="2069.6" textLength="719.8" clip-p
[...]
-</text><text class="breeze-static-checks-r5" x="0" y="2094" textLength="12.2"
clip-path="url(#breeze-static-checks-line-85)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="2094" textLength="109.8"
clip-path="url(#breeze-static-checks-line-85)">--verbose</text><text
class="breeze-static-checks-r6" x="158.6" y="2094" textLength="24.4"
clip-path="url(#breeze-static-checks-line-85)">-v</text><text
class="breeze-static-checks-r1" x="207.4" y="2094" textLength="585.6"
clip-path="url [...]
-</text><text class="breeze-static-checks-r5" x="0" y="2118.4"
textLength="12.2" clip-path="url(#breeze-static-checks-line-86)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="2118.4" textLength="73.2"
clip-path="url(#breeze-static-checks-line-86)">--help</text><text
class="breeze-static-checks-r6" x="158.6" y="2118.4" textLength="24.4"
clip-path="url(#breeze-static-checks-line-86)">-h</text><text
class="breeze-static-checks-r1" x="207.4" y="2118.4" textLength="329.4"
clip-path= [...]
-</text><text class="breeze-static-checks-r5" x="0" y="2142.8"
textLength="1464"
clip-path="url(#breeze-static-checks-line-87)">╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</text><text
class="breeze-static-checks-r1" x="1464" y="2142.8" textLength="12.2"
clip-path="url(#breeze-static-checks-line-87)">
+</text><text class="breeze-static-checks-r5" x="0" y="1020.4"
textLength="12.2" clip-path="url(#breeze-static-checks-line-41)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1020.4" textLength="988.2"
clip-path="url(#breeze-static-checks-line-41)">generate-airflow-diagrams | generate-openapi-spec | generate-pypi-readme |       </text><text
class="breeze-static-checks-r5" x="1451.8" y="1020.4" textLength="12.2" clip-p
[...]
+</text><text class="breeze-static-checks-r5" x="0" y="1044.8"
textLength="12.2" clip-path="url(#breeze-static-checks-line-42)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1044.8" textLength="988.2"
clip-path="url(#breeze-static-checks-line-42)">identity | insert-license | kubeconform | lint-chart-schema | lint-css |         </text><text
class="breeze-static-checks-r5" x="1451.8" y="10 [...]
+</text><text class="breeze-static-checks-r5" x="0" y="1069.2"
textLength="12.2" clip-path="url(#breeze-static-checks-line-43)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1069.2" textLength="988.2"
clip-path="url(#breeze-static-checks-line-43)">lint-dockerfile | lint-helm-chart | lint-json-schema | lint-markdown |           </text><text
class="breeze-static-checks-r5" x="1451.8" y="10 [...]
+</text><text class="breeze-static-checks-r5" x="0" y="1093.6"
textLength="12.2" clip-path="url(#breeze-static-checks-line-44)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1093.6" textLength="988.2"
clip-path="url(#breeze-static-checks-line-44)">lint-openapi | mixed-line-ending | mypy-airflow | mypy-dev | mypy-docs |         </text><text
class="breeze-static-checks-r5" x="1451.8" y="10 [...]
+</text><text class="breeze-static-checks-r5" x="0" y="1118" textLength="12.2"
clip-path="url(#breeze-static-checks-line-45)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1118" textLength="988.2"
clip-path="url(#breeze-static-checks-line-45)">mypy-providers | pretty-format-json | pylint | python-no-log-warn |              </text><text
class="breeze-static-checks-r5" x="14 [...]
+</text><text class="breeze-static-checks-r5" x="0" y="1142.4"
textLength="12.2" clip-path="url(#breeze-static-checks-line-46)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1142.4" textLength="988.2"
clip-path="url(#breeze-static-checks-line-46)">replace-bad-characters | rst-backticks | ruff | ruff-format | shellcheck |       </text><text
class="breeze-static-checks-r5" x="1451.8" y="1142.4" text [...]
+</text><text class="breeze-static-checks-r5" x="0" y="1166.8"
textLength="12.2" clip-path="url(#breeze-static-checks-line-47)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1166.8" textLength="988.2"
clip-path="url(#breeze-static-checks-line-47)">trailing-whitespace | ts-compile-format-lint-ui | ts-compile-format-lint-www |   </text><text
class="breeze-static-checks-r5" x="1451.8" y="1166.8" textLength="12.2"
clip-path="url(#breeze-sta [...]
+</text><text class="breeze-static-checks-r5" x="0" y="1191.2"
textLength="12.2" clip-path="url(#breeze-static-checks-line-48)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1191.2" textLength="988.2"
clip-path="url(#breeze-static-checks-line-48)">update-black-version | update-breeze-cmd-output |                            
[...]
+</text><text class="breeze-static-checks-r5" x="0" y="1215.6"
textLength="12.2" clip-path="url(#breeze-static-checks-line-49)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1215.6" textLength="988.2"
clip-path="url(#breeze-static-checks-line-49)">update-breeze-readme-config-hash | update-build-dependencies |                   </text><text
class="breeze-static-checks- [...]
+</text><text class="breeze-static-checks-r5" x="0" y="1240" textLength="12.2"
clip-path="url(#breeze-static-checks-line-50)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1240" textLength="988.2"
clip-path="url(#breeze-static-checks-line-50)">update-chart-dependencies | update-common-sql-api-stubs | update-er-diagram |    </text><text
class="breeze-static-checks-r5" x="1451.8" y="1240" textLength="12.2"
clip-path="url(#breeze-stat [...]
+</text><text class="breeze-static-checks-r5" x="0" y="1264.4"
textLength="12.2" clip-path="url(#breeze-static-checks-line-51)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1264.4" textLength="988.2"
clip-path="url(#breeze-static-checks-line-51)">update-extras | update-in-the-wild-to-be-sorted |                            
[...]
+</text><text class="breeze-static-checks-r5" x="0" y="1288.8"
textLength="12.2" clip-path="url(#breeze-static-checks-line-52)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1288.8" textLength="988.2"
clip-path="url(#breeze-static-checks-line-52)">update-inlined-dockerfile-scripts | update-installed-providers-to-be-sorted |    </text><text
class="breeze-static-checks-r5" x="1451.8" y="1288.8" textLength="12.2"
clip-path="url(#breeze-static-c [...]
+</text><text class="breeze-static-checks-r5" x="0" y="1313.2"
textLength="12.2" clip-path="url(#breeze-static-checks-line-53)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1313.2" textLength="988.2"
clip-path="url(#breeze-static-checks-line-53)">update-installers | update-local-yml-file | update-migration-references |        </text><text
class="breeze-static-checks-r5" x="1451.8" y="1313.2" textLength="12.2" c [...]
+</text><text class="breeze-static-checks-r5" x="0" y="1337.6"
textLength="12.2" clip-path="url(#breeze-static-checks-line-54)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1337.6" textLength="988.2"
clip-path="url(#breeze-static-checks-line-54)">update-openapi-spec-tags-to-be-sorted | update-providers-dependencies |          </text><text
class="breeze-static-checks-r5" x="1451.8" y="1337.6" textLength="12.2" c [...]
+</text><text class="breeze-static-checks-r5" x="0" y="1362" textLength="12.2"
clip-path="url(#breeze-static-checks-line-55)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1362" textLength="988.2"
clip-path="url(#breeze-static-checks-line-55)">update-reproducible-source-date-epoch | update-spelling-wordlist-to-be-sorted |  </text><text
class="breeze-static-checks-r5" x="1451.8" y="1362" textLength="12.2"
clip-path="url(#breeze-static-checks-line-55)"> [...]
+</text><text class="breeze-static-checks-r5" x="0" y="1386.4"
textLength="12.2" clip-path="url(#breeze-static-checks-line-56)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1386.4" textLength="988.2"
clip-path="url(#breeze-static-checks-line-56)">update-supported-versions | update-vendored-in-k8s-json-schema | update-version |</text><text
class="breeze-static-checks-r5" x="1451.8" y="1386.4" textLength="12.2"
clip-path="url(#breeze-static-checks-line [...]
+</text><text class="breeze-static-checks-r5" x="0" y="1410.8"
textLength="12.2" clip-path="url(#breeze-static-checks-line-57)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1410.8" textLength="988.2"
clip-path="url(#breeze-static-checks-line-57)">validate-operators-init | yamllint)                               &
[...]
+</text><text class="breeze-static-checks-r5" x="0" y="1435.2"
textLength="12.2" clip-path="url(#breeze-static-checks-line-58)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1435.2" textLength="268.4"
clip-path="url(#breeze-static-checks-line-58)">--show-diff-on-failure</text><text
class="breeze-static-checks-r6" x="402.6" y="1435.2" textLength="24.4"
clip-path="url(#breeze-static-checks-line-58)">-s</text><text
class="breeze-static-checks-r1" x="451.4" y="1435.2" textLength=" [...]
+</text><text class="breeze-static-checks-r5" x="0" y="1459.6"
textLength="12.2" clip-path="url(#breeze-static-checks-line-59)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1459.6" textLength="292.8"
clip-path="url(#breeze-static-checks-line-59)">--initialize-environment</text><text
class="breeze-static-checks-r1" x="451.4" y="1459.6" textLength="549"
clip-path="url(#breeze-static-checks-line-59)">Initialize environment before running checks.</text><text
c [...]
+</text><text class="breeze-static-checks-r5" x="0" y="1484" textLength="12.2"
clip-path="url(#breeze-static-checks-line-60)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1484" textLength="353.8"
clip-path="url(#breeze-static-checks-line-60)">--max-initialization-attempts</text><text
class="breeze-static-checks-r1" x="451.4" y="1484" textLength="854"
clip-path="url(#breeze-static-checks-line-60)">Maximum number of attempts to initialize environme
[...]
+</text><text class="breeze-static-checks-r5" x="0" y="1508.4"
textLength="12.2" clip-path="url(#breeze-static-checks-line-61)">│</text><text
class="breeze-static-checks-r7" x="451.4" y="1508.4" textLength="854"
clip-path="url(#breeze-static-checks-line-61)">(INTEGER RANGE)                                   
[...]
+</text><text class="breeze-static-checks-r5" x="0" y="1532.8"
textLength="12.2" clip-path="url(#breeze-static-checks-line-62)">│</text><text
class="breeze-static-checks-r5" x="451.4" y="1532.8" textLength="854"
clip-path="url(#breeze-static-checks-line-62)">[default: 3; 1<=x<=10]                                
[...]
+</text><text class="breeze-static-checks-r5" x="0" y="1557.2"
textLength="1464"
clip-path="url(#breeze-static-checks-line-63)">╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</text><text
class="breeze-static-checks-r1" x="1464" y="1557.2" textLength="12.2"
clip-path="url(#breeze-static-checks-line-63)">
+</text><text class="breeze-static-checks-r5" x="0" y="1581.6"
textLength="24.4" clip-path="url(#breeze-static-checks-line-64)">╭─</text><text
class="breeze-static-checks-r5" x="24.4" y="1581.6" textLength="463.6"
clip-path="url(#breeze-static-checks-line-64)"> Selecting files to run the checks on </text><text
class="breeze-static-checks-r5" x="488" y="1581.6" textLength="951.6"
clip-path="url(#breeze-static-checks-line-64)">──────────────────────── [...]
+</text><text class="breeze-static-checks-r5" x="0" y="1606" textLength="12.2"
clip-path="url(#breeze-static-checks-line-65)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1606" textLength="73.2"
clip-path="url(#breeze-static-checks-line-65)">--file</text><text
class="breeze-static-checks-r6" x="256.2" y="1606" textLength="24.4"
clip-path="url(#breeze-static-checks-line-65)">-f</text><text
class="breeze-static-checks-r1" x="305" y="1606" textLength="427"
clip-path="url(#breeze [...]
+</text><text class="breeze-static-checks-r5" x="0" y="1630.4"
textLength="12.2" clip-path="url(#breeze-static-checks-line-66)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1630.4" textLength="134.2"
clip-path="url(#breeze-static-checks-line-66)">--all-files</text><text
class="breeze-static-checks-r6" x="256.2" y="1630.4" textLength="24.4"
clip-path="url(#breeze-static-checks-line-66)">-a</text><text
class="breeze-static-checks-r1" x="305" y="1630.4" textLength="292.8" clip-p
[...]
+</text><text class="breeze-static-checks-r5" x="0" y="1654.8"
textLength="12.2" clip-path="url(#breeze-static-checks-line-67)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1654.8" textLength="146.4"
clip-path="url(#breeze-static-checks-line-67)">--commit-ref</text><text
class="breeze-static-checks-r6" x="256.2" y="1654.8" textLength="24.4"
clip-path="url(#breeze-static-checks-line-67)">-r</text><text
class="breeze-static-checks-r1" x="305" y="1654.8" textLength="1134.6" clip
[...]
+</text><text class="breeze-static-checks-r5" x="0" y="1679.2"
textLength="12.2" clip-path="url(#breeze-static-checks-line-68)">│</text><text
class="breeze-static-checks-r1" x="305" y="1679.2" textLength="183"
clip-path="url(#breeze-static-checks-line-68)">exclusive with </text><text
class="breeze-static-checks-r4" x="488" y="1679.2" textLength="158.6"
clip-path="url(#breeze-static-checks-line-68)">--last-commit</text><text
class="breeze-static-checks-r1" x="646.6" y="1679.2" te [...]
+</text><text class="breeze-static-checks-r5" x="0" y="1703.6"
textLength="12.2" clip-path="url(#breeze-static-checks-line-69)">│</text><text
class="breeze-static-checks-r7" x="305" y="1703.6" textLength="1134.6"
clip-path="url(#breeze-static-checks-line-69)">(TEXT)                                      
[...]
+</text><text class="breeze-static-checks-r5" x="0" y="1728" textLength="12.2"
clip-path="url(#breeze-static-checks-line-70)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1728" textLength="158.6"
clip-path="url(#breeze-static-checks-line-70)">--last-commit</text><text
class="breeze-static-checks-r6" x="256.2" y="1728" textLength="24.4"
clip-path="url(#breeze-static-checks-line-70)">-c</text><text
class="breeze-static-checks-r1" x="305" y="1728" textLength="793"
clip-path="url [...]
+</text><text class="breeze-static-checks-r5" x="0" y="1752.4"
textLength="12.2" clip-path="url(#breeze-static-checks-line-71)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1752.4" textLength="207.4"
clip-path="url(#breeze-static-checks-line-71)">--only-my-changes</text><text
class="breeze-static-checks-r6" x="256.2" y="1752.4" textLength="24.4"
clip-path="url(#breeze-static-checks-line-71)">-m</text><text
class="breeze-static-checks-r1" x="305" y="1752.4" textLength="1134.6" [...]
+</text><text class="breeze-static-checks-r5" x="0" y="1776.8"
textLength="12.2" clip-path="url(#breeze-static-checks-line-72)">│</text><text
class="breeze-static-checks-r1" x="305" y="1776.8" textLength="1134.6"
clip-path="url(#breeze-static-checks-line-72)">branch and HEAD of your branch.                             
[...]
+</text><text class="breeze-static-checks-r5" x="0" y="1801.2"
textLength="1464"
clip-path="url(#breeze-static-checks-line-73)">╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</text><text
class="breeze-static-checks-r1" x="1464" y="1801.2" textLength="12.2"
clip-path="url(#breeze-static-checks-line-73)">
+</text><text class="breeze-static-checks-r5" x="0" y="1825.6"
textLength="24.4" clip-path="url(#breeze-static-checks-line-74)">╭─</text><text
class="breeze-static-checks-r5" x="24.4" y="1825.6" textLength="463.6"
clip-path="url(#breeze-static-checks-line-74)"> Building image before running checks </text><text
class="breeze-static-checks-r5" x="488" y="1825.6" textLength="951.6"
clip-path="url(#breeze-static-checks-line-74)">──────────────────────────────────
[...]
+</text><text class="breeze-static-checks-r5" x="0" y="1850" textLength="12.2"
clip-path="url(#breeze-static-checks-line-75)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1850" textLength="317.2"
clip-path="url(#breeze-static-checks-line-75)">--skip-image-upgrade-check</text><text
class="breeze-static-checks-r1" x="414.8" y="1850" textLength="536.8"
clip-path="url(#breeze-static-checks-line-75)">Skip checking if the CI image is up to
[...]
+</text><text class="breeze-static-checks-r5" x="0" y="1874.4"
textLength="12.2" clip-path="url(#breeze-static-checks-line-76)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1874.4" textLength="158.6"
clip-path="url(#breeze-static-checks-line-76)">--force-build</text><text
class="breeze-static-checks-r1" x="414.8" y="1874.4" textLength="707.6"
clip-path="url(#breeze-static-checks-line-76)">Force image build no matter if it is determined&
[...]
+</text><text class="breeze-static-checks-r5" x="0" y="1898.8"
textLength="12.2" clip-path="url(#breeze-static-checks-line-77)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1898.8" textLength="134.2"
clip-path="url(#breeze-static-checks-line-77)">--image-tag</text><text
class="breeze-static-checks-r1" x="414.8" y="1898.8" textLength="695.4"
clip-path="url(#breeze-static-checks-line-77)">Tag of the image which is used to run the
[...]
+</text><text class="breeze-static-checks-r5" x="0" y="1923.2"
textLength="12.2" clip-path="url(#breeze-static-checks-line-78)">│</text><text
class="breeze-static-checks-r7" x="414.8" y="1923.2" textLength="963.8"
clip-path="url(#breeze-static-checks-line-78)">(TEXT)                                     
[...]
+</text><text class="breeze-static-checks-r5" x="0" y="1947.6"
textLength="12.2" clip-path="url(#breeze-static-checks-line-79)">│</text><text
class="breeze-static-checks-r5" x="414.8" y="1947.6" textLength="963.8"
clip-path="url(#breeze-static-checks-line-79)">[default: latest]                                   
[...]
+</text><text class="breeze-static-checks-r5" x="0" y="1972" textLength="12.2"
clip-path="url(#breeze-static-checks-line-80)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1972" textLength="231.8"
clip-path="url(#breeze-static-checks-line-80)">--github-repository</text><text
class="breeze-static-checks-r6" x="366" y="1972" textLength="24.4"
clip-path="url(#breeze-static-checks-line-80)">-g</text><text
class="breeze-static-checks-r1" x="414.8" y="1972" textLength="585.6" clip-p
[...]
+</text><text class="breeze-static-checks-r5" x="0" y="1996.4"
textLength="12.2" clip-path="url(#breeze-static-checks-line-81)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1996.4" textLength="109.8"
clip-path="url(#breeze-static-checks-line-81)">--builder</text><text
class="breeze-static-checks-r1" x="414.8" y="1996.4" textLength="756.4"
clip-path="url(#breeze-static-checks-line-81)">Buildx builder used to perform `docker buildx build` 
[...]
+</text><text class="breeze-static-checks-r5" x="0" y="2020.8"
textLength="12.2" clip-path="url(#breeze-static-checks-line-82)">│</text><text
class="breeze-static-checks-r5" x="414.8" y="2020.8" textLength="756.4"
clip-path="url(#breeze-static-checks-line-82)">[default: autodetect]                                  &#
[...]
+</text><text class="breeze-static-checks-r5" x="0" y="2045.2"
textLength="1464"
clip-path="url(#breeze-static-checks-line-83)">╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</text><text
class="breeze-static-checks-r1" x="1464" y="2045.2" textLength="12.2"
clip-path="url(#breeze-static-checks-line-83)">
+</text><text class="breeze-static-checks-r5" x="0" y="2069.6"
textLength="24.4" clip-path="url(#breeze-static-checks-line-84)">╭─</text><text
class="breeze-static-checks-r5" x="24.4" y="2069.6" textLength="195.2"
clip-path="url(#breeze-static-checks-line-84)"> Common options </text><text
class="breeze-static-checks-r5" x="219.6" y="2069.6" textLength="1220"
clip-path="url(#breeze-static-checks-line-84)">──────────────────────────────────────────────────────────────────────
[...]
+</text><text class="breeze-static-checks-r5" x="0" y="2094" textLength="12.2"
clip-path="url(#breeze-static-checks-line-85)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="2094" textLength="109.8"
clip-path="url(#breeze-static-checks-line-85)">--dry-run</text><text
class="breeze-static-checks-r6" x="158.6" y="2094" textLength="24.4"
clip-path="url(#breeze-static-checks-line-85)">-D</text><text
class="breeze-static-checks-r1" x="207.4" y="2094" textLength="719.8"
clip-path="url [...]
+</text><text class="breeze-static-checks-r5" x="0" y="2118.4"
textLength="12.2" clip-path="url(#breeze-static-checks-line-86)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="2118.4" textLength="109.8"
clip-path="url(#breeze-static-checks-line-86)">--verbose</text><text
class="breeze-static-checks-r6" x="158.6" y="2118.4" textLength="24.4"
clip-path="url(#breeze-static-checks-line-86)">-v</text><text
class="breeze-static-checks-r1" x="207.4" y="2118.4" textLength="585.6" clip-p
[...]
+</text><text class="breeze-static-checks-r5" x="0" y="2142.8"
textLength="12.2" clip-path="url(#breeze-static-checks-line-87)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="2142.8" textLength="73.2"
clip-path="url(#breeze-static-checks-line-87)">--help</text><text
class="breeze-static-checks-r6" x="158.6" y="2142.8" textLength="24.4"
clip-path="url(#breeze-static-checks-line-87)">-h</text><text
class="breeze-static-checks-r1" x="207.4" y="2142.8" textLength="329.4"
clip-path= [...]
+</text><text class="breeze-static-checks-r5" x="0" y="2167.2"
textLength="1464"
clip-path="url(#breeze-static-checks-line-88)">╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</text><text
class="breeze-static-checks-r1" x="1464" y="2167.2" textLength="12.2"
clip-path="url(#breeze-static-checks-line-88)">
</text>
</g>
</g>
diff --git a/dev/breeze/doc/images/output_static-checks.txt
b/dev/breeze/doc/images/output_static-checks.txt
index 0042dc0d42..3a3837fbb1 100644
--- a/dev/breeze/doc/images/output_static-checks.txt
+++ b/dev/breeze/doc/images/output_static-checks.txt
@@ -1 +1 @@
-0fe349c8dcd5f6f59df5dab7c166b228
+5c6ba60b1865538bce04fc940cd240c6
diff --git a/dev/breeze/src/airflow_breeze/pre_commit_ids.py
b/dev/breeze/src/airflow_breeze/pre_commit_ids.py
index df6066364a..9a48df5e3f 100644
--- a/dev/breeze/src/airflow_breeze/pre_commit_ids.py
+++ b/dev/breeze/src/airflow_breeze/pre_commit_ids.py
@@ -101,6 +101,7 @@ PRE_COMMIT_LIST = [
"fix-encoding-pragma",
"flynt",
"generate-airflow-diagrams",
+ "generate-openapi-spec",
"generate-pypi-readme",
"identity",
"insert-license",
diff --git a/scripts/ci/pre_commit/update_ui_api_spec.py
b/scripts/ci/pre_commit/update_ui_api_spec.py
new file mode 100755
index 0000000000..9bba385301
--- /dev/null
+++ b/scripts/ci/pre_commit/update_ui_api_spec.py
@@ -0,0 +1,39 @@
+#!/usr/bin/env python
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+from __future__ import annotations
+
+import sys
+from pathlib import Path
+
+sys.path.insert(0, str(Path(__file__).parent.resolve()))
+from common_precommit_utils import console, initialize_breeze_precommit,
run_command_via_breeze_shell
+
+initialize_breeze_precommit(__name__, __file__)
+
+cmd_result = run_command_via_breeze_shell(
+ ["python3", "/opt/airflow/scripts/in_container/run_update_ui_api_spec.py"],
+ backend="postgres",
+ skip_environment_initialization=False,
+)
+
+if cmd_result.returncode != 0:
+ console.print(
+ "[warning]\nIf you see strange stacktraces above, "
+ "run `breeze ci-image build --python 3.8` and try again."
+ )
+sys.exit(cmd_result.returncode)
diff --git a/scripts/in_container/run_update_ui_api_spec.py
b/scripts/in_container/run_update_ui_api_spec.py
new file mode 100644
index 0000000000..c21b7905bf
--- /dev/null
+++ b/scripts/in_container/run_update_ui_api_spec.py
@@ -0,0 +1,40 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+from __future__ import annotations
+
+import yaml
+from fastapi.openapi.utils import get_openapi
+
+from airflow.api_ui.app import cached_app
+
+app = cached_app()
+
+OPENAPI_SPEC_FILE = "airflow/api_ui/openapi/v1-generated.yaml"
+
+with open(OPENAPI_SPEC_FILE, "w+") as f:
+ yaml.dump(
+ get_openapi(
+ title=app.title,
+ version=app.version,
+ openapi_version=app.openapi_version,
+ description=app.description,
+ routes=app.routes,
+ ),
+ f,
+ default_flow_style=False,
+ sort_keys=False,
+ )