This is an automated email from the ASF dual-hosted git repository. pierrejeambrun pushed a commit to branch dependabot/npm_and_yarn/airflow-core/src/airflow/ui/core-ui-package-updates-62b35949b2 in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 463660ae55607c835414249054ab606821d0d13e Author: pierrejeambrun <[email protected]> AuthorDate: Mon Mar 9 18:35:44 2026 +0100 Fix CI --- airflow-core/src/airflow/ui/src/components/AnsiRenderer.tsx | 1 + airflow-core/src/airflow/ui/src/components/DataTable/types.ts | 2 +- airflow-core/src/airflow/ui/src/components/renderStructuredLog.tsx | 1 + airflow-core/src/airflow/ui/src/pages/TaskInstance/Logs/Logs.test.tsx | 2 +- .../src/airflow/ui/src/pages/TaskInstance/Logs/TaskLogContent.tsx | 2 +- airflow-core/src/airflow/ui/src/queries/useLogs.tsx | 1 + airflow-core/src/airflow/ui/src/utils/slots.tsx | 2 ++ 7 files changed, 8 insertions(+), 3 deletions(-) diff --git a/airflow-core/src/airflow/ui/src/components/AnsiRenderer.tsx b/airflow-core/src/airflow/ui/src/components/AnsiRenderer.tsx index aea00ca4afa..716160d2600 100644 --- a/airflow-core/src/airflow/ui/src/components/AnsiRenderer.tsx +++ b/airflow-core/src/airflow/ui/src/components/AnsiRenderer.tsx @@ -18,6 +18,7 @@ */ import { chakra } from "@chakra-ui/react"; import Anser, { type AnserJsonEntry } from "anser"; +import type { JSX } from "react"; import * as React from "react"; const fixBackspace = (inputText: string): string => { diff --git a/airflow-core/src/airflow/ui/src/components/DataTable/types.ts b/airflow-core/src/airflow/ui/src/components/DataTable/types.ts index 38a8b0e36b8..5e2c047db6f 100644 --- a/airflow-core/src/airflow/ui/src/components/DataTable/types.ts +++ b/airflow-core/src/airflow/ui/src/components/DataTable/types.ts @@ -18,7 +18,7 @@ */ import type { SimpleGridProps } from "@chakra-ui/react"; import type { ColumnDef, PaginationState, SortingState, VisibilityState } from "@tanstack/react-table"; -import type { ReactNode } from "react"; +import type { JSX, ReactNode } from "react"; export type TableState = { columnVisibility?: VisibilityState; diff --git a/airflow-core/src/airflow/ui/src/components/renderStructuredLog.tsx b/airflow-core/src/airflow/ui/src/components/renderStructuredLog.tsx index 33d7b4e4c54..f3febe79687 100644 --- a/airflow-core/src/airflow/ui/src/components/renderStructuredLog.tsx +++ b/airflow-core/src/airflow/ui/src/components/renderStructuredLog.tsx @@ -18,6 +18,7 @@ */ import { chakra, Code, Link } from "@chakra-ui/react"; import type { TFunction } from "i18next"; +import type { JSX } from "react"; import * as React from "react"; import { Link as RouterLink } from "react-router-dom"; diff --git a/airflow-core/src/airflow/ui/src/pages/TaskInstance/Logs/Logs.test.tsx b/airflow-core/src/airflow/ui/src/pages/TaskInstance/Logs/Logs.test.tsx index 6393bc94d71..253bdd0bc3d 100644 --- a/airflow-core/src/airflow/ui/src/pages/TaskInstance/Logs/Logs.test.tsx +++ b/airflow-core/src/airflow/ui/src/pages/TaskInstance/Logs/Logs.test.tsx @@ -131,6 +131,6 @@ describe("Task log grouping", () => { fireEvent.click(collapseItem); - await waitFor(() => expect(screen.queryByText(/Marking task as SUCCESS/iu)).toBeVisible()); + await waitFor(() => expect(screen.queryByText(/Marking task as SUCCESS/iu)).not.toBeVisible()); }, 10_000); }); diff --git a/airflow-core/src/airflow/ui/src/pages/TaskInstance/Logs/TaskLogContent.tsx b/airflow-core/src/airflow/ui/src/pages/TaskInstance/Logs/TaskLogContent.tsx index 694ba0ee871..f6df9e1c420 100644 --- a/airflow-core/src/airflow/ui/src/pages/TaskInstance/Logs/TaskLogContent.tsx +++ b/airflow-core/src/airflow/ui/src/pages/TaskInstance/Logs/TaskLogContent.tsx @@ -18,7 +18,7 @@ */ import { Box, Code, VStack, IconButton } from "@chakra-ui/react"; import { useVirtualizer } from "@tanstack/react-virtual"; -import { useLayoutEffect, useRef } from "react"; +import { type JSX, useLayoutEffect, useRef } from "react"; import { useHotkeys } from "react-hotkeys-hook"; import { useTranslation } from "react-i18next"; import { FiChevronDown, FiChevronUp } from "react-icons/fi"; diff --git a/airflow-core/src/airflow/ui/src/queries/useLogs.tsx b/airflow-core/src/airflow/ui/src/queries/useLogs.tsx index b6278dcdb0b..1a828967414 100644 --- a/airflow-core/src/airflow/ui/src/queries/useLogs.tsx +++ b/airflow-core/src/airflow/ui/src/queries/useLogs.tsx @@ -20,6 +20,7 @@ import { chakra, Box } from "@chakra-ui/react"; import type { UseQueryOptions } from "@tanstack/react-query"; import dayjs from "dayjs"; import type { TFunction } from "i18next"; +import type { JSX } from "react"; import { useTranslation } from "react-i18next"; import innerText from "react-innertext"; diff --git a/airflow-core/src/airflow/ui/src/utils/slots.tsx b/airflow-core/src/airflow/ui/src/utils/slots.tsx index 8211e990c7c..0d1fc385ce6 100644 --- a/airflow-core/src/airflow/ui/src/utils/slots.tsx +++ b/airflow-core/src/airflow/ui/src/utils/slots.tsx @@ -18,6 +18,8 @@ */ /* eslint-disable perfectionist/sort-objects */ +import type { JSX } from "react"; + import type { PoolResponse } from "openapi/requests/types.gen"; import { StateIcon } from "src/components/StateIcon";
