szzhoujiarui opened a new pull request, #70937: URL: https://github.com/apache/airflow/pull/70937
Upgrade Monaco Editor to 0.56 and replace private `esm/vs` imports with the package's public exports. Register folding, find, codicon, and JSON features through public entry points. Retain Airflow's explicit registration of its patched Python grammar so f-string tokenization remains intact. This keeps Monaco workers and language features compatible with 0.56 and avoids private module paths that no longer resolve in Vite. closes: #70929 ## Testing - `CI=true corepack [email protected] install --frozen-lockfile` - `corepack [email protected] test` — 102 files and 777 tests passed - `corepack [email protected] exec vitest run src/components/MonacoEditor/pythonFStrings.test.ts` — 12 tests passed - `corepack [email protected] lint` - `corepack [email protected] build` - Pre-commit hooks for all changed files - `breeze ci selective-check --commit-ref 421c0c9` - `breeze testing ui-e2e-tests --test-pattern "dag-code-tab.spec.ts" --workers 1` — blocked during environment checks because Docker is unavailable in the current environment --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — MonkeyCode (GPT-5.6 Sol) Generated-by: MonkeyCode (GPT-5.6 Sol) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) --- Drafted-by: MonkeyCode (GPT-5.6 Sol); reviewed by @szzhoujiarui before posting -- 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]
