Skip to content

[v3-4-test] Lazy-load the Code tab grammar from the Dag's stored language (#74643) - #74987

Merged
vatsrahul1001 merged 1 commit into
v3-4-testfrom
backport-518f8d2-v3-4-test
Oct 18, 2026
Merged

vatsrahul1001 merged 1 commit into
v3-4-testfrom
backport-518f8d2-v3-4-test

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Dag importers are pluggable, so core cannot list every language an importer may
store in dag_code.language. Registering monaco's lazy grammar loaders lets the
Code tab highlight any language monaco ships, fetching a grammar only when a
Dag source first uses it.
(cherry picked from commit 518f8d2)

Co-authored-by: Pierre Jeambrun pierrejbrun@gmail.com

…uage (#74643)

Dag importers are pluggable, so core cannot list every language an importer may
store in dag_code.language. Registering monaco's lazy grammar loaders lets the
Code tab highlight any language monaco ships, fetching a grammar only when a
Dag source first uses it.
(cherry picked from commit 518f8d2)

Co-authored-by: Pierre Jeambrun <pierrejbrun@gmail.com>
@boring-cyborg boring-cyborg Bot added the area:UI Related to UI/UX. For Frontend Developers. label Oct 18, 2026
@vatsrahul1001
vatsrahul1001 marked this pull request as ready for review October 18, 2026 10:30
@vatsrahul1001 vatsrahul1001 added this to the Airflow 3.4.0 milestone Oct 18, 2026
@vatsrahul1001
vatsrahul1001 merged commit 3eeb0e9 into v3-4-test Oct 18, 2026
188 of 214 checks passed
@vatsrahul1001
vatsrahul1001 deleted the backport-518f8d2-v3-4-test branch October 18, 2026 12:33
vatsrahul1001 pushed a commit that referenced this pull request Oct 20, 2026
…uage (#74643) (#74987)

Dag importers are pluggable, so core cannot list every language an importer may
store in dag_code.language. Registering monaco's lazy grammar loaders lets the
Code tab highlight any language monaco ships, fetching a grammar only when a
Dag source first uses it.
(cherry picked from commit 518f8d2)

Co-authored-by: Pierre Jeambrun <pierrejbrun@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants