OHRI-1841 Include new OHRI instance for default locale, Mock forms #377
Triggered via pull request
September 28, 2023 06:38
Status
Failure
Total duration
2m 47s
Artifacts
–
ci.yml
on: pull_request
build
2m 35s
release
0s
bump-form-engine_ohri
0s
bump-form-engine_patient_chart
0s
bump-form_builder
0s
Annotations
2 errors and 10 warnings
build
Error: Input required and not supplied: server-token
|
build
Process completed with exit code 1.
|
build:
src/components/encounter/ohri-encounter-form.component.tsx#L104
React Hook useMemo has missing dependencies: 'form', 'formSessionDate', and 'visit'. Either include them or remove the dependency array
|
build:
src/components/encounter/ohri-encounter-form.component.tsx#L149
React Hook useMemo has a missing dependency: 'form'. Either include it or remove the dependency array
|
build:
src/components/encounter/ohri-encounter-form.component.tsx#L185
React Hook useEffect has a missing dependency: 'encounterLocation'. Either include it or remove the dependency array
|
build:
src/components/encounter/ohri-encounter-form.component.tsx#L279
React Hook useEffect has missing dependencies: 'allInitialValues', 'evalHide', 'flattenedFields', 'form', 'isFieldInitializationComplete', 'patient', 'sessionMode', 'setAllInitialValues', and 'values'. Either include them or remove the dependency array. If 'setAllInitialValues' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
build:
src/components/encounter/ohri-encounter-form.component.tsx#L290
React Hook useEffect has missing dependencies: 'formJson?.encounterType', 'formJson.formOptions?.usePreviousValueDisabled', and 'patient?.id'. Either include them or remove the dependency array
|
build:
src/components/encounter/ohri-encounter-form.component.tsx#L296
React Hook useEffect has a missing dependency: 'setIsLoadingFormDependencies'. Either include it or remove the dependency array. If 'setIsLoadingFormDependencies' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
build:
src/components/encounter/ohri-encounter-form.component.tsx#L373
React Hook useEffect has missing dependencies: 'scrollablePages' and 'setPagesWithErrors'. Either include them or remove the dependency array. If 'setPagesWithErrors' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
build:
src/components/extension/ohri-extension-parcel.component.tsx#L20
React Hook useEffect has missing dependencies: 'question.questionOptions.extensionId' and 'question.questionOptions.extensionSlotName'. Either include them or remove the dependency array
|
build:
src/components/inputs/date/ohri-date.component.tsx#L31
React Hook useEffect has a missing dependency: 'question'. Either include it or remove the dependency array. If 'setErrors' needs the current value of 'question', you can also switch to useReducer instead of useState and read 'question' in the reducer
|
build:
src/components/inputs/date/ohri-date.component.tsx#L31
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
|