Skip to content

UI: Fix the Arabic plural test failing on main - #75330

Merged
bbovenzi merged 1 commit into
apache:mainfrom
yuseok89:fix-arabic-plural-test-after-duration-change
Oct 21, 2026
Merged

bbovenzi merged 1 commit into
apache:mainfrom
yuseok89:fix-arabic-plural-test-after-duration-change

Conversation

@yuseok89

Copy link
Copy Markdown
Contributor

This removes the two humanizeSeconds cases in dayjsArabicPlurals.test.ts that are failing on main. Their expected values no longer match since #72350 moved humanizeSeconds from dayjs to Intl


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)
    • Claude Code (Opus 5.5)

  • 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.

@bbovenzi bbovenzi added the backport-to-v3-4-test Backport to v3-4-test label Oct 21, 2026
@bbovenzi bbovenzi added this to the Airflow 3.4.0 milestone Oct 21, 2026
@bbovenzi
bbovenzi merged commit a3a4c13 into apache:main Oct 21, 2026
59 of 71 checks passed
@boring-cyborg boring-cyborg Bot added the area:UI Related to UI/UX. For Frontend Developers. label Oct 21, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Backport failed to create: v3-4-test. View the failure log Run details

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
❌ v3-4-test Commit Link

You can attempt to backport this manually by running:

cherry_picker a3a4c13 v3-4-test

This should apply the commit to the v3-4-test branch and leave the commit in conflict state marking
the files that need manual conflict resolution.

After you have resolved the conflicts, you can continue the backport process by running:

cherry_picker --continue

If you don't have cherry-picker installed, see the installation guide.

@github-actions

Copy link
Copy Markdown
Contributor

Backport failed to create: v3-4-test. View the failure log Run details

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
❌ v3-4-test Commit Link

You can attempt to backport this manually by running:

cherry_picker a3a4c13 v3-4-test

This should apply the commit to the v3-4-test branch and leave the commit in conflict state marking
the files that need manual conflict resolution.

After you have resolved the conflicts, you can continue the backport process by running:

cherry_picker --continue

If you don't have cherry-picker installed, see the installation guide.

vatsrahul1001 pushed a commit that referenced this pull request Oct 22, 2026
vatsrahul1001 pushed a commit that referenced this pull request Oct 22, 2026
…72604) (#75323)

* [v3-4-test] UI: Render Arabic durations with the correct plural form (#72604)

Arabic inflects a counted noun four ways, but dayjs's `ar` locale stores a
single template per unit, so every count above one took the 3-10 form: a
two-hour deadline read "2 ساعات" where the dual "ساعتان" is required, and an
eleven-day one read "11 أيام" instead of "11 يومًا".

Locales with comparable plural systems -- Hebrew, Russian, Polish -- already
pass a function instead of a template and render correctly at every count;
Arabic was simply never migrated. This applies the same treatment locally
until the fix can be made upstream.

Two assertions from the previous change pinned the uninflected output and are
updated here.
(cherry picked from commit 8070289)

Co-authored-by: Baha Bouali <[email protected]>

* UI: Drop Arabic plural test cases that no longer go through dayjs (#75330)

(cherry picked from commit a3a4c13)

---------

Co-authored-by: Baha Bouali <[email protected]>
Co-authored-by: Yuseok Jo <[email protected]>
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. backport-to-v3-4-test Backport to v3-4-test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants