pierrejeambrun opened a new pull request, #74633:
URL: https://github.com/apache/airflow/pull/74633

   The AIP-85 YAML importer (#74586) stores a YAML Dag's source with language 
`yaml`, but `configureMonaco` only registers the Python, TypeScript, Java and 
Go grammars, so YAML Dags showed up as unhighlighted plain text in the Code tab.
   
   Registers Monaco's YAML grammar exactly like the other Dag-authoring 
languages (dynamic import of the grammar module, same `conf`/`language` runtime 
shape guard, ambient module declaration) and adds it to the grammar 
export-shape test.
   
   **Before**
   <!-- drag /tmp/yaml-code-screens/before.png here -->
   
   **After**
   <!-- drag /tmp/yaml-code-screens/after.png here -->
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Claude Opus 5.5)
   
   Generated-by: Claude Code (Claude Opus 5.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]

Reply via email to