Skip to content

Sync v3-2-stable with v3-2-test to release 3.2.2rc3#67566

Merged
vatsrahul1001 merged 4 commits into
v3-2-stablefrom
changes-3.2.2rc3
May 27, 2026
Merged

Sync v3-2-stable with v3-2-test to release 3.2.2rc3#67566
vatsrahul1001 merged 4 commits into
v3-2-stablefrom
changes-3.2.2rc3

Conversation

@vatsrahul1001
Copy link
Copy Markdown
Contributor

Time for 3.2.2rc3

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

vatsrahul1001 and others added 4 commits May 26, 2026 21:15
…67527) (#67529)

Fix Callback.handle_event crash on OTel metrics with dict tag values (#67527)

(cherry picked from commit 5978911)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…path (#67548) (#67556)

* UI: Fix Monaco workers crashing in production mode

`?url` does not run the Vite worker pipeline. For `editor.worker.js` it
inlines the raw source as a base64 data URL (the source is below the
default `assetsInlineLimit`), and the inlined module still has bare
specifier imports it cannot resolve in a Worker context. For
`json.worker.js` it copies a partly-bundled file whose top-level
`import '../../editor/editor.worker.js'` resolves to a path that does
not exist in the build output. Both cases manifest at runtime as
"Could not create web worker(s). Falling back to loading web worker
code in main thread" followed by a stream of fallback fetch errors.

Switch to `?worker&url`: Vite runs the file through the worker pipeline
(bundling all dependencies into a self-contained IIFE) and the URL
query suffix returns the resulting URL as a string instead of a Worker
constructor. The Blob shim from #67352 then imports a properly bundled
worker, restoring real worker-thread execution.

* UI: Rewrite modulepreload hrefs to the api-server static path

Vite emits both `<script src="./assets/...">` and
`<link rel="modulepreload" href="./assets/...">` for chunks in the
built `index.html`. The `transform-url-src` plugin only rewrote
`src="./assets/"` to `src="./static/assets/"`, leaving the
modulepreload `href`s untouched. Behind the api-server's `/static/`
mount those preload requests hit the SPA HTML fallback and the
browser fails them with `Expected a JavaScript-or-Wasm module script
but the server responded with a MIME type of "text/html"`. The chunks
themselves still load via `<script src>` so the app works, but every
page load wastes three round-trips on the failed preloads and floods
the console.

Apply the same `static/` rewrite to `href="./assets/"` and switch all
three rewrites to `replaceAll` so multiple matches (one per chunk) are
handled — `replace` with a string only touches the first occurrence.

---------
(cherry picked from commit eff567c)

Co-authored-by: Pierre Jeambrun <pierrejbrun@gmail.com>
Co-authored-by: Rahul Vats <43964496+vatsrahul1001@users.noreply.github.com>
@vatsrahul1001 vatsrahul1001 merged commit cde4885 into v3-2-stable May 27, 2026
420 of 421 checks passed
@vatsrahul1001 vatsrahul1001 deleted the changes-3.2.2rc3 branch May 27, 2026 03:51
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Airflow Registry May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants