Repository navigation
Conversation
…udget and a stopping flag
…s written by hand
…he consumer declaration
|
| Count | Rule |
|---|---|
| 16 | no-restricted-imports |
| 14 | react-hooks/exhaustive-deps |
| 9 | openmetadata-imports/no-lower-layer-page-imports |
| 3 | openmetadata-imports/no-cross-page-imports |
All findings
| Location | Rule | Message | |
|---|---|---|---|
| 🟡 | src/components/Alerts/AlertDetails/AlertConfigDetails/AlertConfigDetails.tsx:35:1 |
openmetadata-imports/no-lower-layer-page-imports |
Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here. |
| 🟡 | src/components/Alerts/AlertDetails/AlertConfigDetails/AlertConfigDetails.tsx:109:6 |
react-hooks/exhaustive-deps |
React Hook useCallback has a missing dependency: 't'. Either include it or remove the dependency array. |
| 🟡 | src/components/Alerts/AlertDetails/AlertConfigDetails/AlertConfigDetails.tsx:140:6 |
react-hooks/exhaustive-deps |
React Hook useCallback has missing dependencies: 'getResourcePermission' and 't'. Either include them or remove the dependency array. |
| 🟡 | src/components/Alerts/AlertDetails/AlertConfigDetails/AlertConfigDetails.tsx:146:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has a missing dependency: 'fetchTemplates'. Either include it or remove the dependency array. |
| 🟡 | src/components/Alerts/AlertDetails/AlertConfigDetails/AlertConfigDetails.tsx:150:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has a missing dependency: 'fetchFunctions'. Either include it or remove the dependency array. Outer scope values like 'Fqn' aren't valid de |
| 🟡 | src/components/Alerts/AlertFormSourceItem/AlertFormSourceItem.tsx:114:5 |
react-hooks/exhaustive-deps |
React Hook useCallback has a missing dependency: 'form'. Either include it or remove the dependency array. |
| 🟡 | src/components/Alerts/DestinationFormItem/DestinationFormItem.component.tsx:36:1 |
openmetadata-imports/no-lower-layer-page-imports |
Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here. |
| 🟡 | src/components/Alerts/DestinationFormItem/DestinationFormItem.component.tsx:72:9 |
react-hooks/exhaustive-deps |
The 'destinations' logical expression could make the dependencies of useMemo Hook (at line 86) change on every render. To fix this, wrap the initialization of ' |
| 🟡 | src/components/Alerts/DestinationFormItem/DestinationFormItem.component.tsx:72:9 |
react-hooks/exhaustive-deps |
The 'destinations' logical expression could make the dependencies of useCallback Hook (at line 143) change on every render. To fix this, wrap the initialization |
| 🟡 | src/components/Alerts/DestinationFormItem/DestinationFormItemFormBridge.tsx:19:1 |
openmetadata-imports/no-lower-layer-page-imports |
Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here. |
| 🟡 | src/components/Alerts/DestinationFormItem/DestinationSelectItem/DestinationSelectItem.tsx:60:9 |
react-hooks/exhaustive-deps |
The 'destinationItem' logical expression could make the dependencies of useMemo Hook (at line 105) change on every render. To fix this, wrap the initialization |
| 🟡 | src/components/observability/Alerts/AlertEditModal.component.test.tsx:30:1 |
openmetadata-imports/no-lower-layer-page-imports |
Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here. |
| 🟡 | src/components/observability/Alerts/AlertEditModal.component.tsx:25:1 |
openmetadata-imports/no-lower-layer-page-imports |
Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here. |
| 🟡 | src/components/observability/Alerts/AlertEditModal.component.tsx:29:1 |
openmetadata-imports/no-lower-layer-page-imports |
Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here. |
| 🟡 | src/pages/AddNotificationPage/AddNotificationPage.tsx:92:1 |
openmetadata-imports/no-cross-page-imports |
Page features must not import another page feature. Move shared code to components, hooks, interfaces, or pure utilities. |
| 🟡 | src/pages/AddNotificationPage/AddNotificationPage.tsx:155:5 |
react-hooks/exhaustive-deps |
React Hook useMemo has a missing dependency: 't'. Either include it or remove the dependency array. |
| 🟡 | src/pages/AddNotificationPage/AddNotificationPage.tsx:200:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has missing dependencies: 'fetchAlert' and 'fetchFunctions'. Either include them or remove the dependency array. |
| 🟡 | src/pages/AddNotificationPage/AddNotificationPage.tsx:228:5 |
react-hooks/exhaustive-deps |
React Hook useCallback has missing dependencies: 'getResourceLimit' and 'setInlineAlertDetails'. Either include them or remove the dependency array. |
| 🟡 | src/pages/AddNotificationPage/AddNotificationPage.tsx:289:6 |
react-hooks/exhaustive-deps |
React Hook useCallback has missing dependencies: 'getResourcePermission' and 't'. Either include them or remove the dependency array. |
| 🟡 | src/pages/AddNotificationPage/AddNotificationPage.tsx:295:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has a missing dependency: 'fetchTemplates'. Either include it or remove the dependency array. |
| 🟡 | src/pages/AddObservabilityPage/AddObservabilityPage.interface.ts:33:1 |
openmetadata-imports/no-cross-page-imports |
Page features must not import another page feature. Move shared code to components, hooks, interfaces, or pure utilities. |
| 🟡 | src/pages/AddObservabilityPage/hooks/useObservabilityAlertForm.ts:31:1 |
openmetadata-imports/no-cross-page-imports |
Page features must not import another page feature. Move shared code to components, hooks, interfaces, or pure utilities. |
| 🟡 | src/pages/AddObservabilityPage/hooks/useObservabilityAlertResources.ts:72:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has a missing dependency: 'fetchFunctions'. Either include it or remove the dependency array. |
| 🟡 | src/utils/Alerts/AlertsUtil.test.tsx:14:1 |
no-restricted-imports |
'../../assets/svg/alert.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated abstract |
| 🟡 | src/utils/Alerts/AlertsUtil.test.tsx:15:1 |
no-restricted-imports |
'../../assets/svg/all-activity.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated a |
| 🟡 | src/utils/Alerts/AlertsUtil.test.tsx:16:1 |
no-restricted-imports |
'../../assets/svg/clock.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated abstract |
| 🟡 | src/utils/Alerts/AlertsUtil.test.tsx:17:1 |
no-restricted-imports |
'../../assets/svg/ic-check.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated abstr |
| 🟡 | src/utils/Alerts/AlertsUtil.test.tsx:18:1 |
no-restricted-imports |
'../../assets/svg/ic-mail.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated abstra |
| 🟡 | src/utils/Alerts/AlertsUtil.test.tsx:19:1 |
no-restricted-imports |
'../../assets/svg/ms-teams.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated abstr |
| 🟡 | src/utils/Alerts/AlertsUtil.test.tsx:20:1 |
no-restricted-imports |
'../../assets/svg/slack.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated abstract |
| 🟡 | src/utils/Alerts/AlertsUtil.test.tsx:21:1 |
no-restricted-imports |
'../../assets/svg/webhook.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated abstra |
| 🟡 | src/utils/Alerts/AlertsUtil.test.tsx:36:1 |
openmetadata-imports/no-lower-layer-page-imports |
Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here. |
| 🟡 | src/utils/Alerts/AlertsUtil.tsx:33:1 |
no-restricted-imports |
'../../assets/svg/alert.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated abstract |
| 🟡 | src/utils/Alerts/AlertsUtil.tsx:34:1 |
no-restricted-imports |
'../../assets/svg/all-activity.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated a |
| 🟡 | src/utils/Alerts/AlertsUtil.tsx:35:1 |
no-restricted-imports |
'../../assets/svg/clock.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated abstract |
| 🟡 | src/utils/Alerts/AlertsUtil.tsx:36:1 |
no-restricted-imports |
'../../assets/svg/ic-check.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated abstr |
| 🟡 | src/utils/Alerts/AlertsUtil.tsx:37:1 |
no-restricted-imports |
'../../assets/svg/ic-mail.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated abstra |
| 🟡 | src/utils/Alerts/AlertsUtil.tsx:38:1 |
no-restricted-imports |
'../../assets/svg/ms-teams.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated abstr |
| 🟡 | src/utils/Alerts/AlertsUtil.tsx:39:1 |
no-restricted-imports |
'../../assets/svg/slack.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated abstract |
| 🟡 | src/utils/Alerts/AlertsUtil.tsx:40:1 |
no-restricted-imports |
'../../assets/svg/webhook.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated abstra |
| 🟡 | src/utils/Alerts/AlertsUtilPure.ts:33:1 |
openmetadata-imports/no-lower-layer-page-imports |
Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here. |
| 🟡 | src/utils/AlertsClassBase.ts:28:1 |
openmetadata-imports/no-lower-layer-page-imports |
Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here. |
Fix locally (fast - only checks files changed in this branch):
make ui-checkstyle-changed…e-redesign # Conflicts: # openmetadata-ui/src/main/resources/ui/src/components/Alerts/AlertDetails/AlertConfigDetails/AlertConfigDetails.test.tsx # openmetadata-ui/src/main/resources/ui/src/components/Alerts/AlertDetails/AlertConfigDetails/AlertConfigDetails.tsx # openmetadata-ui/src/main/resources/ui/src/pages/AddNotificationPage/AddNotificationPage.tsx
Code Review ✅ Approved 1 closed / 1 findings🔴 High risk · The alert pipeline redesign changes event delivery, scheduling, and persisted offsets. Redesigns the alerting pipeline to isolate failures, store state in rows with compare-and-set semantics, add time budgeting for event delivery, and validate destinations on save. The form now offers multiple sources of each kind with server-provided recipients using a new AlertSourcePicker component. No issues found. ✅ 1 closed✅ Quality: New AlertSourcePicker built on Ant Design components
VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
Problem
Alerts share state between steps, which makes them unreliable:
What this PR changes
One commit per step, each reviewable alone.
channelfield on a destination, naming a registered channel; without one, the type's channel serves it.What users will notice
New settings under
alerting:default to today's behaviour.How it was tested
Not in this PR