Refactor: Eliminate Global Variable to Enhance Testability #4476
build.yml
on: pull_request
changes
3s
gitleaks-scan
1m 22s
docker-build-graphql-server
1m 7s
docker-build-authentication-server
49s
docker-build-subscriber
1m 5s
docker-build-event-tracker
1m 11s
backend-unit-tests
1m 3s
web-unit-tests
1m 31s
docker-build-frontend
2m 46s
Annotations
13 errors and 22 warnings
backend-unit-tests
undefined: mongodb.Operator
|
backend-unit-tests
undefined: mongodb.Operator
|
backend-unit-tests
undefined: authorization.GetUsername
|
backend-unit-tests
undefined: authorization.GetUsername
|
backend-unit-tests
undefined: authorization.GetUsername
|
backend-unit-tests
undefined: config.GetConfig
|
backend-unit-tests
undefined: authorization.GetUsername
|
backend-unit-tests
undefined: authorization.GetUsername
|
backend-unit-tests
NewProbeOperator.operator undefined (type func(mongodbOperator mongodb.MongoOperator) *Operator has no field or method operator)
|
backend-unit-tests
undefined: authorization.GetUsername
|
docker-build-subscriber
Process completed with exit code 1.
|
docker-build-graphql-server
Process completed with exit code 1.
|
docker-build-event-tracker
Process completed with exit code 1.
|
changes
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
backend-checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
backend-checks
Restore cache failed: Dependencies file is not found in /home/runner/work/litmus/litmus. Supported file pattern: go.sum
|
backend-checks
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
gitleaks-scan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
frontend-checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
frontend-checks:
chaoscenter/web/src/components/PipelineDiagram/Nodes/StartNode/StartNodeStage.tsx#L10
Unexpected any. Specify a different type
|
frontend-checks:
chaoscenter/web/src/components/PipelineDiagram/Nodes/StartNode/StartNodeStep.tsx#L10
Unexpected any. Specify a different type
|
frontend-checks:
chaoscenter/web/src/components/PipelineDiagram/Nodes/utils.tsx#L9
Unexpected any. Specify a different type
|
frontend-checks:
chaoscenter/web/src/components/PipelineDiagram/PipelineGraph/PipelineGraph.tsx#L31
Unexpected any. Specify a different type
|
frontend-checks:
chaoscenter/web/src/components/PipelineDiagram/PipelineGraph/PipelineGraph.tsx#L101
React Hook useLayoutEffect has missing dependencies: 'redrawSVGLinks', 'renderSVGLinksDelayed', and 'shouldDelayRender'. Either include them or remove the dependency array
|
frontend-checks:
chaoscenter/web/src/components/PipelineDiagram/PipelineGraph/PipelineGraph.tsx#L141
React Hook useEffect has a missing dependency: 'panZoom'. Either include it or remove the dependency array
|
frontend-checks:
chaoscenter/web/src/components/PipelineDiagram/PipelineGraph/PipelineGraphUtils.ts#L180
Unexpected any. Specify a different type
|
frontend-checks:
chaoscenter/web/src/components/PipelineDiagram/hooks/useIntersection.ts#L39
React Hook useEffect has a missing dependency: 'compareFn'. Either include it or remove the dependency array. If 'compareFn' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
frontend-checks:
chaoscenter/web/src/components/PipelineDiagram/hooks/useResizeObserver.ts#L31
Forbidden non-null assertion
|
frontend-checks:
chaoscenter/web/src/components/PipelineDiagram/hooks/useResizeObserver.ts#L56
React Hook useEffect has missing dependencies: 'onResize' and 'parentSelector'. Either include them or remove the dependency array
|
docker-build-authentication-server
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
backend-unit-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
backend-unit-tests
Restore cache failed: Dependencies file is not found in /home/runner/work/litmus/litmus. Supported file pattern: go.sum
|
docker-build-graphql-server
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
web-unit-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
docker-build-frontend
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|