fix(ui): address lint issues #6585
main.yml
on: pull_request
Matrix: go-lint / lint
go-unit-test
/
go-unit-tests
3m 0s
go-vet
/
go-vet
2m 29s
snap-strict-test
/
snap-build
4m 37s
ui-lint
/
ui-lint
23s
ui-typecheck
/
ui-typecheck
24s
ui-test
/
ui-test
1m 34s
go-race-detection-test
/
go-race-detection-tests
3m 52s
go-sec
/
tests
3m 31s
clang-format
/
format
15s
clang-tidy
/
lint
1m 14s
license-headers
/
reuse
14s
Matrix: upf-ebpf-test / upf-ebpf-tests
Matrix: image-build / build-image
Waiting for pending jobs
Matrix: image-build-tester / build-image-tester
Waiting for pending jobs
Matrix: snap-strict-test / snap-install
integration-tests-api-matrix-ha
/
api-matrix-ha-test
integration-tests-rolling-upgrade
/
rolling-upgrade-integration-test
ui-e2e
/
ui-e2e
Matrix: integration-tests-ha / ha-integration-test
Waiting for pending jobs
integration-tests-api-matrix
/
api-matrix-test
integration-tests-ha-4g
/
ha-4g-integration-test
integration-tests-ha-5g
/
ha-5g-integration-test
Matrix: integration-tests-4g-srsran / integration-test-4g-srsran
Waiting for pending jobs
Matrix: integration-tests-4g / integration-test-4g
Waiting for pending jobs
Matrix: integration-tests-5g / integration-test-5g
Waiting for pending jobs
Matrix: integration-tests-bgp-4g / integration-test-bgp-4g
Waiting for pending jobs
Matrix: integration-tests-bgp-5g / integration-test-bgp-5g
Waiting for pending jobs
Matrix: integration-tests-framed-4g / integration-test-framed-4g
Waiting for pending jobs
Matrix: integration-tests-framed-5g / integration-test-framed-5g
Waiting for pending jobs
Matrix: integration-tests-n2-handover / n2-handover-integration-test
Waiting for pending jobs
Matrix: integration-tests-s1-handover-4g / s1-handover-4g-integration-test
Waiting for pending jobs
Matrix: integration-tests-ue2ue-4g / integration-test-ue2ue-4g
Waiting for pending jobs
Matrix: integration-tests-ue2ue-5g / integration-test-ue2ue-5g
Waiting for pending jobs
Matrix: integration-tests-x2-handover-4g / x2-handover-4g-integration-test
Waiting for pending jobs
Matrix: integration-tests-xn-handover-5g / xn-handover-5g-integration-test
Waiting for pending jobs
Annotations
6 errors and 1 warning
|
go-lint / lint (ngap)
Command failed: /home/runner/golangci-lint-2.11.3-linux-amd64/golangci-lint config verify
The command is terminated due to an error: [../.golangci.yml] validate: compile schema: failing loading "https://golangci-lint.run/jsonschema/golangci.v2.11.jsonschema.json": Get "https://golangci-lint.run/jsonschema/golangci.v2.11.jsonschema.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
|
|
go-lint / lint (ngap)
Failed to run: Error: Command failed: /home/runner/golangci-lint-2.11.3-linux-amd64/golangci-lint config verify
The command is terminated due to an error: [../.golangci.yml] validate: compile schema: failing loading "https://golangci-lint.run/jsonschema/golangci.v2.11.jsonschema.json": Get "https://golangci-lint.run/jsonschema/golangci.v2.11.jsonschema.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
, Error: Command failed: /home/runner/golangci-lint-2.11.3-linux-amd64/golangci-lint config verify
The command is terminated due to an error: [../.golangci.yml] validate: compile schema: failing loading "https://golangci-lint.run/jsonschema/golangci.v2.11.jsonschema.json": Get "https://golangci-lint.run/jsonschema/golangci.v2.11.jsonschema.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
at genericNodeError (node:internal/errors:985:15)
at wrappedFn (node:internal/errors:539:14)
at ChildProcess.exithandler (node:child_process:417:12)
at ChildProcess.emit (node:events:509:28)
at maybeClose (node:internal/child_process:1124:16)
at ChildProcess._handle.onexit (node:internal/child_process:306:5)
|
|
ui-test / ui-test
Process completed with exit code 1.
|
|
src/pages/radios/EventsTab.test.tsx > EventsTab event panel > leaves the panel shut when the URL names no event:
ui/src/pages/radios/EventsTab.test.tsx#L55
TestingLibraryElementError: Found multiple elements with the role "heading" and name "Network Events"
Here are the matching elements:
Ignored nodes: comments, script, style
<h4
class="MuiTypography-root MuiTypography-h4 css-1q932n8-MuiTypography-root"
>
Network Events
</h4>
Ignored nodes: comments, script, style
<h4
class="MuiTypography-root MuiTypography-h4 css-1q932n8-MuiTypography-root"
>
Network Events
</h4>
(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).
Ignored nodes: comments, script, style
<body
style=""
>
<div>
<span
data-testid="test-location"
style="display: none;"
>
/radios/events
</span>
<div
class="MuiBox-root css-1oznahv"
>
<div
class="MuiBox-root css-yd8sa2"
>
<div
class="MuiBox-root css-0"
>
<h4
class="MuiTypography-root MuiTypography-h4 css-1q932n8-MuiTypography-root"
>
Network Events
</h4>
<p
class="MuiTypography-root MuiTypography-body1 css-pw9pxf-MuiTypography-root"
>
Review NGAP (5G) and S1AP (4G) control-plane messages exchanged between Ella Core and connected radios. These logs are useful for auditing and troubleshooting purposes.
</p>
</div>
<div
class="MuiBox-root css-1kajwyr"
>
<div
class="MuiFormControl-root MuiTextField-root css-uyic58-MuiFormControl-root-MuiTextField-root"
>
<div
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeSmall MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeSmall MuiInputLabel-outlined css-an0k3s-MuiFormLabel-root-MuiInputLabel-root"
data-shrink="false"
id="_r_1b4_-label"
>
Radio
</div>
<div
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formControl MuiInputBase-sizeSmall MuiSelect-root css-pfuxq4-MuiInputBase-root-MuiOutlinedInput-root"
>
<div
aria-expanded="false"
aria-haspopup="listbox"
aria-labelledby="_r_1b4_-label"
class="MuiSelect-select MuiSelect-outlined MuiInputBase-input MuiOutlinedInput-input css-18x85q0-MuiNativeSelect-root-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input"
id="_r_1b4_"
role="combobox"
tabindex="0"
>
<span
aria-hidden="true"
class="notranslate"
>
</span>
</div>
<input
aria-hidden="true"
aria-invalid="false"
class="MuiSelect-nativeInput css-j0riat-MuiSelect-nativeInput"
id="_r_1b6_"
tabindex="-1"
value=""
/>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium MuiSelect-icon css-1rfqz7c-MuiSvgIcon-root-MuiNativeSelect-root-MuiSelect-icon"
data-testid="ArrowDropDownIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M7 10l5 5 5-5z"
/>
</svg>
<fieldset
aria-hidden="true"
class="MuiOutlinedInput-notchedOutline css-18p5xg2-MuiNotchedOutlined-root-MuiOutlinedInput-notchedOutline"
>
<legend
class="css-1n64csd-MuiNotchedOutlined-root"
>
<span>
Radio
</span>
</legend>
</fieldset>
</div>
<
|
|
src/pages/radios/EventsTab.test.tsx > EventsTab event panel > opens the panel for the event named in the URL:
ui/src/test/apiServer.ts#L185
Error: the test made requests with no registered handler:
GET /api/v1/ran/events/7
❯ src/test/apiServer.ts:185:13
|
|
src/pages/radios/EventsTab.test.tsx > EventsTab event panel > opens the panel for the event named in the URL:
ui/src/pages/radios/EventsTab.test.tsx#L429
TestingLibraryElementError: Found multiple elements with the text: PathSwitchRequest
Here are the matching elements:
Ignored nodes: comments, script, style
<div
aria-colindex="4"
aria-colspan="1"
aria-rowspan="1"
class="MuiDataGrid-cell MuiDataGrid-cell--textLeft"
data-colindex="3"
data-field="message_type"
role="gridcell"
style="--width: 0px;"
tabindex="-1"
title="PathSwitchRequest"
>
PathSwitchRequest
</div>
Ignored nodes: comments, script, style
<h6
class="MuiTypography-root MuiTypography-h6 MuiTypography-noWrap css-1dbhhzs-MuiTypography-root"
>
PathSwitchRequest
</h6>
(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).
Ignored nodes: comments, script, style
<body
style=""
>
<div>
<span
data-testid="test-location"
style="display: none;"
>
/radios/events
</span>
<div
class="MuiBox-root css-1oznahv"
>
<div
class="MuiBox-root css-yd8sa2"
>
<div
class="MuiBox-root css-0"
>
<h4
class="MuiTypography-root MuiTypography-h4 css-1q932n8-MuiTypography-root"
>
Network Events
</h4>
<p
class="MuiTypography-root MuiTypography-body1 css-pw9pxf-MuiTypography-root"
>
Review NGAP (5G) and S1AP (4G) control-plane messages exchanged between Ella Core and connected radios. These logs are useful for auditing and troubleshooting purposes.
</p>
</div>
<div
class="MuiBox-root css-1kajwyr"
>
<div
class="MuiFormControl-root MuiTextField-root css-uyic58-MuiFormControl-root-MuiTextField-root"
>
<div
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeSmall MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeSmall MuiInputLabel-outlined css-an0k3s-MuiFormLabel-root-MuiInputLabel-root"
data-shrink="false"
id="_r_1b4_-label"
>
Radio
</div>
<div
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formControl MuiInputBase-sizeSmall MuiSelect-root css-pfuxq4-MuiInputBase-root-MuiOutlinedInput-root"
>
<div
aria-expanded="false"
aria-haspopup="listbox"
aria-labelledby="_r_1b4_-label"
class="MuiSelect-select MuiSelect-outlined MuiInputBase-input MuiOutlinedInput-input css-18x85q0-MuiNativeSelect-root-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input"
id="_r_1b4_"
role="combobox"
tabindex="0"
>
<span
aria-hidden="true"
class="notranslate"
>
</span>
</div>
<input
aria-hidden="true"
aria-invalid="false"
class="MuiSelect-nativeInput css-j0riat-MuiSelect-nativeInput"
id="_r_1b6_"
tabindex="-1"
value=""
/>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium MuiSelect-icon css-1rfqz7c-MuiSvgIcon-root-MuiNativeSelect-root-MuiSelect-icon"
data-testid="ArrowDropDownIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M7 10l5 5 5-5z"
/>
</svg>
<fieldset
aria-hidden="true"
class="MuiOutlinedInput-notchedOutline css-18p5xg2-MuiNotchedOutlined-root-MuiOutlinedInput-notchedOutline"
>
<legend
class="css-1n64csd-MuiNotchedOutlined-ro
|
|
snap-strict-test / snap-build
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: snapcore/action-build@3bdaa03e1ba6bf59a65f84a751d943d549a54e79. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
ella-core-snap
|
12.5 MB |
sha256:d172c544d37227ca026506d599409ff2a9b7f5634df6a24f8a6e6b4e61b22046
|
|