Skip to content

Migrate Records Page to React #13596

Migrate Records Page to React

Migrate Records Page to React #13596

Triggered via pull request January 21, 2025 14:32
Status Failure
Total duration 1m 22s
Artifacts

ruby.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
test: app/webpacker/components/Results/Records/HistoryRecordsTables.jsx#L3
'_' is defined but never used.
test: app/webpacker/components/Results/Records/MixedRecordsTables.jsx#L3
'_' is defined but never used.
test: app/webpacker/components/Results/Records/MixedRecordsTables.jsx#L4
Multiple spaces found before 'events'.
test: app/webpacker/components/Results/Records/MixedRecordsTables.jsx#L21
Unexpected newline before '}'.
test: app/webpacker/components/Results/Records/SlimRecordsTable.jsx#L12
Unsafe arithmetic operation on optional chaining. It can result in NaN.
test: app/webpacker/components/Results/Records/SlimRecordsTable.jsx#L12
Unsafe arithmetic operation on optional chaining. It can result in NaN.
test: app/webpacker/components/Results/ResultsFilter.jsx#L64
A form label must be associated with a control.
test: app/webpacker/components/Results/ResultsFilter.jsx#L82
A form label must be associated with a control.
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test: app/webpacker/components/RegistrationsV2/Register/CompetingStep.jsx#L175
The 'actionCreateRegistration' function makes the dependencies of useCallback Hook (at line 264) change on every render. Move it inside the useCallback callback. Alternatively, wrap the definition of 'actionCreateRegistration' in its own useCallback() Hook.
test: app/webpacker/components/RegistrationsV2/Register/CompetingStep.jsx#L187
The 'actionUpdateRegistration' function makes the dependencies of useCallback Hook (at line 264) change on every render. Move it inside the useCallback callback. Alternatively, wrap the definition of 'actionUpdateRegistration' in its own useCallback() Hook.
test: app/webpacker/components/RegistrationsV2/Register/CompetingStep.jsx#L211
The 'actionReRegister' function makes the dependencies of useCallback Hook (at line 264) change on every render. Move it inside the useCallback callback. Alternatively, wrap the definition of 'actionReRegister' in its own useCallback() Hook.