You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "pierrejeambrun (via GitHub)" <gi...@apache.org> on 2026/05/22 13:33:35 UTC

[PR] [v3-2-test] Bump react-i18next from 15.5.1 to 16.6.5 in /airflow-core/src/airflow/ui [airflow]

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

   Backport of #65811 to ``v3-2-test``.
   
   Cherry-picked from f1a3050e22f6caa6df29af31971abbaf9ec1fa92.
   
   Clean cherry-pick, no conflicts — git auto-merged ``package.json`` and ``pnpm-lock.yaml``.
   
   Fixes #67309 (UI layout persistent RTL rendering after multiple browser refreshes on the Dag detail page in 3.2.2rc1). The persistent RTL state is caused by a ``useTranslation`` re-render race in ``react-i18next`` 15.5.1: ``useSyncExternalStore``'s subscribe callback attaches after first commit, and on a fast-loading production bundle the post-init ``languageChanged`` event can fire before the listener is set, so the component renders with the i18next default direction (``"rtl"``) and never re-renders with the resolved language. ``react-i18next`` 16.x reworked the hook subscription path so the event isn't dropped.
   
   The bump has been on ``main`` since 2026-04-27 but was never backported to the 3.2 release branch, so 3.2.2rc1 shipped with the buggy version.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 4.7)
   
   Generated-by: Claude Code (Opus 4.7) 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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [v3-2-test] Bump react-i18next from 15.5.1 to 16.6.5 in /airflow-core/src/airflow/ui [airflow]

Posted by "choo121600 (via GitHub)" <gi...@apache.org>.
choo121600 commented on PR #67334:
URL: https://github.com/apache/airflow/pull/67334#issuecomment-4531660119

   @vatsrahul1001 @pierrejeambrun 
   This has been resolved here. Could you take another look when you have a chance?
   https://github.com/apache/airflow/pull/67398


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [v3-2-test] Bump react-i18next from 15.5.1 to 16.6.5 in /airflow-core/src/airflow/ui [airflow]

Posted by "pierrejeambrun (via GitHub)" <gi...@apache.org>.
pierrejeambrun merged PR #67334:
URL: https://github.com/apache/airflow/pull/67334


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [v3-2-test] Bump react-i18next from 15.5.1 to 16.6.5 in /airflow-core/src/airflow/ui [airflow]

Posted by "pierrejeambrun (via GitHub)" <gi...@apache.org>.
pierrejeambrun commented on PR #67334:
URL: https://github.com/apache/airflow/pull/67334#issuecomment-4523125072

   Unrelated CI failures, merging. playright install keeps failing.


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org